Skip to Content
0
Dec 21, 2011 at 05:30 AM

Partner function issues while creating SA using LSMW

253 Views

Hi,

I am opening a new thread (though similar question has been put by Vihaan in below thread)

Tax code in SA - LSMW

We are creating SAs via LSMW IDOC method (Message Type - PURSAG_CREATE and Basic Type - PURSAG_CREATE01), all our SAs being created w r to Contract and Contract has multiple OA and PI partner functions. So while creating SA we are passing unique OA and PI value (from list of valid OA/PI avaialble in contract) in LSMW structures - E1BPMEOUTPARTNER and E1BPMEOUTPARTNERX.

Values passed are mentioned below:

E1BPMEOUTPARTNER Partner Information for Outline Agreement

Fields

PARTN_ROLE Partner Function

Rule : Constant

Code: E1BPMEOUTPARTNER-PARTN_ROLE = 'BA'.

PLANT Plant

SUBRANGE_TX Description of Vendor Subrange

LANGU Language Key

LANGU_ISO Language according to ISO 639

PARTNR Reference to other vendor

Rule : Constant

Code: E1BPMEOUTPARTNER-PARTNR = '1XXXXXXXX9'.

DEF_PARTNR Default Partner

Rule : Constant

Code: E1BPMEOUTPARTNER-DEF_PARTNR = 'X'.

DELETE_IND Deletion Indicator in Purchasing Document

E1BPMEOUTPARTNERX Change Parameter Partner Data (Outline Agreement)

Fields

PARTN_ROLE Partner Function

Rule : Constant

Code: E1BPMEOUTPARTNERX-PARTN_ROLE = 'BA'.

PLANT Plant

SUBRANGE_TX Description of Vendor Subrange

LANGU Updated information in related user data field

LANGU_ISO Updated information in related user data field

PARTNR Updated information in related user data field

Rule : Constant

Code: E1BPMEOUTPARTNERX-PARTNR = 'X'.

DEF_PARTNR Updated information in related user data field

Rule : Constant

Code: E1BPMEOUTPARTNERX-DEF_PARTNR = 'X'.

DELETE_IND Updated information in related user data field

Now issue is SAP is not recognizing above mentioned partner value and throwing error as Following mandatory roles missing in partner maintenance: OA

If the reffered contract has single OA and PI LSMW is running fine and creating SA successfully but issue is coming only when we have multiple OA/PI.

Has anybody faced similar issue or aware if any OSS note which resolves this issue, please advise.

Thanks,

Yogesh