cancel
Showing results for 
Search instead for 
Did you mean: 

Create a BID invitation from a BAPI

Former Member
0 Kudos

Hello,

I have a situation here where i need create a BID when a save a QUOT, the process is a little complicated, but i will explain what've done.

I activated the BADI BBP_DOC_SAVE with the filter for QUOT object (BUS2202) and using the guid of the BID that generate the QUOT I need create a new BID changing some parameters, to find out the initial BID i used the function BBP_PD_QUOT_GETDETAIL, to get details of initial BID invitation i used the function BBP_PD_BID_GETDETAIL so to create a new BID a used the funcion BBP_PD_BID_CREATE.

After execute the function to generate the new BID there is no errors and the GUID and new id number returned into header structure, to ensure the generation i used the function BBPU_COMMIT_AND_WAIT but the BID is not create in the system.

I don't have any idea about this problem any help will be accepted.

Thanks.

Roberto Aran.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Kathirvel,

Thanks for your answer, i will use this function, but i found a flag to process the function BBP_PD_BID_CREATE in bapi mode (I_BAPIMODE = 'X') and after put this flag the BID was generated.

Regards,

Roberto Aran

Former Member
0 Kudos

After you call BBP_PD_BID_CREATE, you must call BBP_PD_BID_SAVE (with the GUID returned by the CREATE function). Then you can call the perform the commit work. This should solve your problem.

Regards

Kathirvel