Skip to Content

RFx: Change Company code

Hi all,

We are creating a RFx from a SC automatically when the SC is approved. We want to transfer the SC Company Code at item level (BE_CO_CODE) to the RFx Company at header level (CO_CODE).

The problem is that the company code is being filled with the company in user's attributes.


I've debugged the standard code and I can see just before call the FM BBP_PD_BID_CREATE ( include LBBP_DPE_INTEGRATION_SOCOF33 line 1373) is reading the user's attribute BUK and filling the field co_code with the first value of the table.


In my case the user is WF-BATCH and has several values for the attribute BUK.

I thought in change it using the badi BBP_DOC_CHANGE_BADI but I can't see the field CO_CODE in the header structure of the method.

It's possible to change it ? How? Is there any badi or Do I need to create an enhancement point in the standard code?

Thanks in advance.

Regards,

Ricardo.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2013 at 05:58 PM

    Hello Ricardo,

    To do that, try using metadata class and methods provided by SRM standard to change the functionality of the field. You can make it gets completed by your own logic.

    You can find it in Supplier Relationship Management - SRM Server - Cross application basic settings - Extensions and field controls. In this tree you can manage fields functionality one by one with his own logic.

    Kind Regards,

    Sebastián

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 01, 2013 at 08:17 AM

    I've just found a SAP note: ­čĄ¬

    Note 1279218 - DOC_CHANGE_BADI of Bid Invitation cannot change Company Code

    I'm going to implent it.

    Add a comment
    10|10000 characters needed characters exceeded

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.