Skip to Content
author's profile photo Former Member
Former Member

Edit Item Text for Created Purchase Requisition from approved Shopping Cart

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! 😊

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 22, 2011 at 07:09 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.