cancel
Showing results for 
Search instead for 
Did you mean: 

Edit Item Text for Created Purchase Requisition from approved Shopping Cart

Former Member
0 Kudos

Hi Experts,

I have a requirement wherein an approved shopping cart creates a purchase requisition. In the created purchase requisition, the Item text in Text tab should be filled up with a value from the shopping cart, any idea on how to implement? I'm thinking a BADI coudl be used but im not sure how find out which BADI. I dont have much experience in SRM so i would really appreciate any input.

Thanks a bunch!

Accepted Solutions (1)

Accepted Solutions (1)

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

You can try BBP_LONGTEXT_BADI (which changes the standard mapping for longtexts) or BBP_CREATE_BE_RQ_NEW, which is called one step before BAPI_REQUISITION_CREATE is called.

Regards,

Ricardo

Former Member
0 Kudos

Hi,

Thank you for your input.

I used class ZCL_IM_BBP_CREATE_BE_PQ method IF_EX_BBP_CREATE_BE_RQ_NEW~FILL_RQ_INTERFACE. looped at the items and then used BBP_PD_SC_GETDETAIL to get details for the shopping cart and then retrieved the long text from it. passed the value from the retrieved long text to structure bbps_badi_rq_item_text with textid B01.

Answered.

Answers (0)