on 02-08-2019 9:28 AM
Hi Friend,
I want to add table parameter in ZBAPI_CONTRACT_CREATEFROMDATA which will help to pass additional segment value for sequence no while creating Contract using IDOC.
Following above process i've add another table parameter i.e Sequence Dtl.
I have copied from Std. BAPI BAPI_CONTRACT_CREATEFROMDATA
created ZBUS2034 with subtype of BUS2034.
following method are inherited from subtype.
method details
i have added new API Method(custom bapi) with new table parameter which i created earlier.
all the above step i'm not getting any error. But i got two warning message like:
i. No default Attribute are define.
ii. method 'ExistenceCheck' is not redefined
Then i have created ALE interface using tcode -BDBG.
I have choose method ZBAPICREATEFROMDATA (if i choose CREATEFORMDATA there has no error while create interface in BDBG, but this std. bapi not having additional table parameter)
While creating ALE interface i got error : 'Segment type E1BPPAREX is used multiple times in the IDoc type. A segment type may only be used once in each IDoc type'.
Might you borrowed with this error posting. Because i want explain completely so that any one can get idea before given any suggestion.
Kindly suggest how to proceed further & how to avoid to this error.
Regards,
Bhagaban Pradhan
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.