on 08-04-2008 7:04 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.