cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating custom Business Object ZBUS2034 to update sequence no while create Contract.

bhagaban_pradhan2
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (0)