PO Custom Field not getting filled from Shopping Cart

Hi Gurus,
I am new to SRM. The requirement I had was to add a new field to the SC. I read several posts and articles on this but couldn't find the solution to it. I managed to do this modifying the corresponding structures in SRM and making the necessary changes in R/3 so the new filed can be seen in ME21/22/23N.
I checked Andreas Milbredt document to achieve it as mentioned:
Document: How to transfer custom fields from SRM to Backend.
http://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/20b36c12-685f-2c10-4fb4-ba2e0b969c27
After that, when I create a Shopping Cart, the value in the New field is not transferred to the Back end.
I coded the following BADIs and User Exits:
In SRM:
BBP_CUF_BADI_2 (MODIFY_SCREEN) ->To enable or disable the field depending on conditions. Works fine.
BBP_DOC_CHECK_BADI (BBP_DOC_CHECK) -> To do some checks. Works Fine
BBP_CREATE_BE_PO_NEW (FILL_PO_INTERFACE1) ->Here I fill structures BAPI_TE_MEPOITEM and BAPI_TE_MEPOITEMX. I added another u2018Xu2019 to indicate the new field to BAPI_TE_MEPOITEMX. But I think I am not doing it right. This structure BAPI_TE_MEPOITEM/X, does the order of the fields correspond to the order of the fields in any of these 3 structures (which I am using)?
INCL_EEW_PD_HISTORY_CSF
INCL_EEW_PD_ITEM_CSF
INCL_EEW_PD_ITEM_CSF_SC
I also checked the following link:
Map a custom SRM field to a standard field in R/3
In R/3 I populated the Exits Andreau2019s mentions on his article. Am I missing anything else?
Thanks & Regards,
Ernesto.

Hi Ernesto,
You can find out how your BAPI structure is being populated (by generating the test data ) using FBGENDAT program and activating the BAPI_PO_CREATE1 (and you will need to set the parameter for the specified user id)... This will provide you ability to execute the BAPI offline and figure out what is happening...
Note 517767 - Generate test data for function modules
Things to look for, Is any of your custom fields quantity fields or integer?
Check out the following OSS note
Note 509898 - BAPI enhancement concept and Unicode
Also check out the following SDN Thread,
problem using  BAPI_BUS2001_CREATE to create project definition
Check out a similar thread that we are discussing (for PR)
Custom Fileds Data Was Not Getting Updated In BAPI_PR_CREATE

Similar Messages

  • Reservation not getting created from shopping cart for stores order.

    Hi experts,
    Reservation not getting created from shopping cart for stores order,process used is some custom BADI.Extended classic scenario is the procrss .
    Please help me
    Thanks in  advance.

    Hello,
    please check below wiki:
    Determination of the follow-on document type
    Regards.
    Laurent.

  • Contract item customer fields not getting saved from ITS side??

    Hi there,
    I have had to add "account assignment" details to a contract item (3 fields: account assignment, G/L account and cost center)...
    All is going fine....in fact the 3 fields have been added on the contract item level in function group BBP_CTR_UI_ITS screen 4100. I followed the instructions in SAP note number 458591 "user defined fields: preparation and use"...
    The 3 fields I added where "generated" down to SAP table level and now appear in table BBP_PDIGP...
    Also when I create a contract from transaction BBP_CTR_MAIN and fill my 3 new fields in on the item level all works fine when I release the contract...the contract item gets created and the 3 new fields appear nicely in table BBP_PDIGP....so from the GUI side all is PERFECT...
    I have worked on the ITS side of things quite a bit but now I clearly don't understand something...
    I go to "internet service" BBP_CTR_MAIN - template SAPLBBP_CTR_UI_ITS 4100.....I have added my code and my 3 fields display perfectly on the web page....for each contract item.....
    As I said I can make the contract with the 3 new fields filled perfectly via the GUI (transaction BBP_CTR_MAIN)....and if I VIEW that contract on the web it also displays perfect with the 3 filled in fields....
    If I COPY that contract.....and save the new one, the 3 fields are still fine, all saved.
    NOW COMES THE PROBLEM:-)
    If I create a new contract from the web, fill in my 3 fields on the contract item level THE 3 FIELD VALUES SEEM TO NOT GET POSTED BACK AND SAVED IN THE SRM DATABASE...
    I have tried everything from using FIELD-GET, FIELD-SET...the note I mentioned above mentions some BADI's that I could possibly use:
    BBP_CUF_BADI_2 (modify screen methods etc)
    BBP_DOC_SAVE_BADI
    All I really want to try understand is how interaction between the user clicking on the web page and the SAP GUI screen flow is really happening.....I mean I see in function group BBP_CTR_UI_ITS there are a number of function modules with ITS in them, are those function modules just called when the user is clicking on the web (via ITS etc) - I would assume so...
    Bottomline is I need what is happening in the SAP GUI to happen on the web as well.....it is almost there, I just need a push in the right direction so that I can grab the fields from the web page, in the most standard way possible.
    Thanks for the help, I am very curious to see how this sort of solved.
    Regards
    Lynton

    He Yann,
    We are running SRM 3.0, EBP 4.0 - support pack 8
    Thanks for the help
    Lynton

  • Custom field is needed in the Shopping cart Additional Specifications

    Hi Folks,
    A Custom field is needed in the Shopping cart Additional Specifications just below 'Notes for Approval'. Any suggestions on this.
    Thanks,
    Ghanesh

    Hi
    <b>Please go through the following links, which will definitely help -></b>
    Re: Displaying Custom field in shopping cart header
    Re: customer field in 3rd step of shopping cart
    Re: Custom Screen in Shopping cart
    Re: Custom Field in the header of Shopping Cart
    Custom field in shopping cart Item Overview - items in Shopping Cart tab
    SC : Extended  Search on Header Customer field
    Regards
    - Atul

  • Additional fields not getting copied from change req to change doc

    Hi,
    I created some addtional customer fields which I added both in change req and change doc.But the entries given to those fields are not getting copied from change req to the change doc as like standard SAP fields are getting copied.
    Please let me know if someone worked on the similar issue.
    Regards,
    M.R

    Hi,
    We have done a similar requirement of adding additional fields in Quotation doc type  at header and item level .
    Also we have got the Reference data of the order being created to flow in to Additional Data B .
    This is purely Abaper's Coding .when you add Additional Fields there is screen logic also to be coded for these screens .
    to get the Reference order data logic has to be written in PBO of the screen which u have added additional fields .
    the reference data will be validated with "VGBEL" field in VBAK table .If VGBEL is not initial then Query the VBAK table for this data in VGBEL into Internal table or work area and update the screen fields in additional data with these fields .
    I have done the same and it is Working Wonderful .
    Try this and Let me know Further. All the Best.
    Thanks,
    DevendraP.

  • Custom Field in the header of Shopping Cart

    Dear all,
    We have to add a Custom field on the header of the Shopping Cart which will have three values.
    This field has to flow thru the Bid invitation, Contract and the PO ...
    Can anybody provide the technical details of the same ?? Which all are the structures to be changed ?
    Thanks in Advance ...
    Regards,
    Vivek K

    Hi
    To add  custom fields to the shopping cart, please try this process ->
    Please refer to these SAP OSS notes ->
    <u>Note 458591 - User-defined fields: Preparation and use
    Note 672960 - User-defined fields 2
    Note 822424 - CUF. Customer fields cannot be changed in the bid
    Note 809630 - Customer field in bid invitation and bid - How does it work?
    Note 809628 - Table like customer fields from bid invitation in bid
    Note 798731 - Bid: Bid Inv. Customer fields not visible
    Note 762984 - SRM40-SUS: Implementation of customer enhancement fields</u>
    Please go through the documentation of following 3 Business Add-Ins using SE18 transaction.
    BBP_BUPA_GET_CUF Customer Fields for Vendor Master Data
    BBP_CUF_BADI-Customer Fields. Call-up of User-Defined Screen
    BBP_CUF_BADI_2-Customer Fields. Use of Standard Table Control
    Please refer to these links for details ->
    <b>Re: MAP USer SRM defined fields in backend for PO
    Re: HI SRM experts...
    Custom fields to a Bid Invitation
    Addition of custom fields in Contract and mapping it with the fields in SRM
    urgent help request - How to add custom fields to  header BID.
    Re: Add custom fields to Contract Transaction in SRM 4.0
    Custom Fields
    custom fields in Carry out sourcing screen..
    Custom Fields Not Display In Basic Data In SRM 5.5 Server..
    Regards
    - Atul

  • BBP_DOCUMENT_TAB does not get populated with shopping cart

    Hello Gurus,
    We are facing some weird issue out of blue. We have SRM 5.0 Classic scenario with ECC 6.0 backend system. We have everything configured and it was working i mean shopping carts were successfully transferring into ECC system as PR.
    Suddnely now we are getting error Item in transfer process for all the shopping carts. While checking into RZ20 monitor it shows following error " Backend application errors: Shopping cart  (PReq. 7000027359): W5 002 No items exist (not possible to save)".
    When we put debug in CLEAN_REQREQ_UP we found out that table BBP_DOCUMENT_TAB which should get populated whenever shopping cart is approved it not getting any data.
    Could you please let us know what could be the reason? As all the user IDs with which RFC's are maintained at SRM and ECC level active and all proper authorization are there.
    Please advise.
    Thanks
    Ritesh

    Hello Ritesh,
    Actually, the document tab is updated by the SC transfer (SC spooler). Each time the system starts the shopping cart transfer, an entry is created in BBP_DOCUMENT_TAB until the CLEAN_REQREQ_UP is executed.
    You could debug the shopping cart transfer and check if the follow-on document is being created.
    Also, you could check the SPRO customizing -> SRM SERVER -> Techcnical Basic Settings -> Set Control Parameters, and check its value.
    As additional information, you can check the note 1173815, which provides some information regarding the follow-on document creation (customizing tables).
    I hope it helps.
    Kind regards,
    Ricardo

  • How to get Products from Shopping Cart(Basket) in ATG

    I want get all products from shopping cart
    can any one help on this requirement?
    Thanks in Advance.

    Hi ,
    If you want directly JSP , use the droplet as suggested correctly by shaik,
    If you want it in java code,
    A good way is to make a Droplet ( global scoped ) and pass the current shopping cart to the droplet.
    eg :
    <dsp:droplet name="MyDroplet">
    <dsp:param name="inOrder" bean="/atg/commerce/ShoppingCart.current"/>
    OR
    <dsp:param name="inOrder" bean="/atg/commerce/order/purchase/CartModifierFormHandler.order" />
    <dsp:oparam name="output">
    </dsp:oparam>
    </dsp:droplet>
    and in the droplet java file you can use it as :
    CommerceItemContainer inOrder = (CommerceItemContainer) request.getObjectParameter("inOrder");
    and you can use inOrder.getCommerceItems(); to get a list of commerce items from order.
    You can directly get the order in your droplet ,but then you will have to make it request scoped , making global scoped droplets is good practice.
    ~Praveer

  • Customer Fields not getting poplulated in PO in R/3 (ECC 6.0) from SRM 5.0

    Hi,
        We Recently upgraded our R/3 System from 4.6 C to ECC 6.0.
    Shopping card number is getting created in SRM side and after approval it is getting sent to R/3 Back end,We have some customer fields that need to be populated in the back end from the shopping card,Which is not happening as of now.We are using the BAPI_PO_CREATE1 for creating the PO in R/3.We tried running the BAPI_PO_CREATE1 Standalone by giving the customer fields Table EXTENSIONIN and in Structure BAPI_TE_PO_ITEMS,But the custom fields are not populating in the PO.
    Pls suggest,
    Thanks
    Rakesh.

    Hi Rakesh ,
    1.wat is ur target table  that  ur  custom fields were  added using apped structure.
    2. Have u passed the Communcation strucure also means
    in ur case BAPI_TE_MEPOITEMX along with BAPI_TE_MEPOITEM .
    Plz find  similar code which is for  sale order coding which may  help u .
    ***Constant Declarations
    Constant: C_BAPE_VBAP (9) type u2018BAPE_VBAPu2019,
              C_BAPE_VBAPX (10) type u2018BAPE_VBAPXu2019
    TYPES:    BEGIN OF T_BAPE_VBAP,
               VBELN TYPE VBELN_VA,
               POSNR TYPE POSNR_VA,
               ZZcontract_num type ZZcontract_num "Custom field
              END OF T_BAPE_VBAP.
    ***Communication Fields
    TYPES: BEGIN OF T_BAPE_VBAPX,
            VBELN TYPE VBELN_VA,
            POSNR TYPE POSNR_VA,
            ZZcontract_numX type CHAR1,
           END OF T_BAPE_VBAPX.
    Declaring the Internal table and Work areas
    DATA: I_EXTENSIONIN TYPE STANDARD TABLE OF BAPIPAREX.  u201CInternal table                             for BAPI Extension Table
          w_EXTENSIONIN like line of I_EXTENSIONIN,             u201CWork area for BapiExtension Table
         I_return type standard table of bapiret2,
       W_return like line of i_return,
          is_BAPE_VBAP    type    T_BAPE_VBAP,              u201CStructure declaration
          is_BAPE_VBAPX type T_BAPE_VBAPX,            u201CStructure declaration
          v_vbeln  type   BAPE_VBAP-VBELN,            u201CVariable for the doc no     
          v_posnr type BAPE_VBAP-POSNR,                  u201CVariable for the itemnumber
      v_zzcontract_num type BAPE_VBAP-ZZcontract_num, u201CVariable for the Contract number
    Filling the BAPI table Extension Structure.
               W_BAPE_VBAP-VBELN =u201D00001234u2019.
               W_BAPE_VBAP-POSNR =u2019000010u2019 .
               W_BAPE_VBAP-ZZcontract = 'ABC123'.
    W_EXTENSIONIN-STRUCTURE = C_BAPE_VBAP.
    w_EXTENSIONIN+30 =W_BAPE_VBAP.
    APPEND W_EXTENSIONIN TO I_EXTENSIONIN.
    CLEAR w_EXTENSIONIN..
               k_BAPE_VBAP-VBELN =u201D00001234u2019.
               W_BAPE_VBAP-POSNR =u2019000010u2019 .
    W_BAPE_VBAP-ZZcontractx = 'X'.
    *********same to pass Communication Structure.
    W_EXTENSIONIN-STRUCTURE = C_BAPE_VBAPX.
    w_EXTENSIONIN+30 = W_BAPE_VBAPX.
    APPEND W_EXTENSIONIN TO I_EXTENSIONIN.
    CLEAR w_EXTENSIONIN.
      6) Then Call BAPI u2018BAPI_SALESORDER_CHANGE u2018to Update Sale Order with Contract number
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT    = V_SALORD_NUMBER
          ORDER_HEADER_IN  = K_ORDER_HEADER_IN
          ORDER_HEADER_INX = K_ORDER_HEADER_INX
        TABLES
          RETURN           = I_RETURN
          ORDER_ITEM_IN    = I_ORDER_ITEM_IN
          ORDER_ITEM_INX   = I_ORDER_ITEM_INX
          EXTENSIONIN      = I_EXTENSIONIN.
    ****COMMIT WORK AND WAIT.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT = 'X'.
    Hope it may help you
    Rgds
    Sree

  • Method in custom controller not getting called from view

    Hi experts,
    I have a very strange problem. My web dynpro application works fine on the development portal. i am in the process of deploying to the production portal there is no issue it deploys perfectly without any problems. However i have noticed that some methods in my custom controlller which are called from the view do not run. there is no error message or anything data just doesnt get picked because the execute function which fills the context are in the custom controller methods.
    For some reason the method in the custom controller does not get called even though i'm calling it for the view. I have this problem with two methods. the other methods work without any issue.
    Now i overwrote what i have on production at the moment so am stuck and in need for a solution.
    I have tried undeplying, restarting and re-deploying to no avail. what could be wrong?
    thanks and regards,
    dilanke

    Deal all
    This is the code. basically im calling it from the plug on the detail screen.
    This is the method that doesnt get called anymore.
    wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
    The reportSuccess() works fine.
    regards,
    Dilanke
      public void onPlugFromListView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onPlugFromListView(ServerEvent)
         try
             String po = wdThis.wdGetGetPurchaseOrderCustController().wdGetContext().currentContextElement().getPO_Id();
              wdContext.currentZGETPODETAILS_INPUTElement().setI_Ebeln(po);
              wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
              wdComponentAPI.getMessageManager().reportSuccess(po);
              String fileName = "F://XML_Downloads//" + po + ".xml";
              IWDResource resource = WDResourceFactory.createResource(new FileInputStream(new File(fileName)),fileName,WDWebResourceType.XML,true);
              wdContext.currentContextElement().setXml_Resource(resource);
         catch(Exception e)
              e.printStackTrace();     
        //@@end

  • Custom field not getting added into MSEG table throuhBADI  MB_MIGO_BADI

    i have created a new tab in MIGO transaction and created a zfield called ZZcert . i have also created one append structure in MSEG table with field name ZZCERT .
    i have created new tab for migo using BADI MB_MIGO_BADI . when i enter value in ZZCERT in MIGO transaction , it is not updated in MSEG table .  but in debugging mode im able to see the value in  (SAPLMIGO)MSEG . i have tried the option of using Field symbols also . but it didnt work .
    I have searched in the forum for suitable answers.
    can anybody guide me how to update the ZZCERT value into MSEG table ??
    thanks in advance
    pavan

    Hi,
    if i am not wrong these are standard transactions..when you have created a screen  then for your field you can click on "get from dictionary" and the map your field(drag a field from MSEG directly on to the custom field on screen) and the you have to activate the screen....i think thats the only thing you need to do so as to update the field value in database...
    or else as sugegsted by the post above you need to use BDC recording to update the databse table MSEG.
    Abhijeet.

  • Custom fields not getting updated in Mass Maintenance-MM17

    Hi,
    I have created a custom field in MARC table and the data is getting updated to the MARC table through MM01/MM02 but it is not getting updated by MM17.  I have checked the notes 44410, 576160, 414020 and 116311.  I have done the following changes as per the sap notes.
    1. Created a custom segment ZE1MARCM by copying the standard segment E1MARCM and added the custom field in that  
        segment.
    2. I have extended the IDOC 'MATMAS03' and added the custom segment ZE1MARCM to E1MARAM.
    3. Created a new entry in we82 and provided the extension type 'ZMATMAS03' and release '701'.
    4. Adjusted the partner profile in we20 for matmas with port and providing the extension idoc type.
    5. Added the custom field in the table MASSFLDLST.
    6. Implemented the code in BADI 'MG_MASS_NEWSEG' and exits 'EXIT_SAPLMV01_002' , 'EXIT_SAPLMV02_002' as per the 
        sap notes.
    The custom field is not getting updated through mass maintenance.  Please let me know if i have missed anything?
    Thanks,
    Geeta

    I had this same question several years ago. Please check my answer at Initialize MARC Custom Fields Using MM17 Does Not Work

  • Custom field not getting populated in the "Show Results where" drop down

    Hi all,
    In appointment detail page by clicking on Add button on the user related information section , it takes us to a search layout showing the list of available users.
    Here we have to filter the user's based on a custom field which has already been created in the user object. But I am not able to add the custom field in the "Show results where" drop down for which the search has to be done.
    It is getting reflected in the normal search layouts.So Can any one tell me why the change is not getting reflected in the user related info search layout?

    I tested your use case and you are correct. I would recommend that you submit a service request to CRM On Demand customer care in reference to this issue.

  • Custom Field Not Getting Picked Up in BOR Event

    We added a custom field, ZZMDMID, to the LFA1 table.  We have Event Linkage set up to call a PI proxy whenever the LFA1.CREATED event is raised.  Our event linkage shows that ZZMDMID exists and we have it mapped to the proxy interface.
    Problem is that the new field, even though populated in LFA1 table, is never getting sent out to the proxy.  Is there something else I need to configure?
    Thanks,
    Keith

    requirements changed...not needed anymore

  • Custom field not getting displayed in SUS PO item level

    HI all,
    We are using SRM 5.0, ECC6.0 and ECS scenario.
    As per SAP note 762984, we have enhanced the structures such as :
    INCL_EEW_PD_ITEM_CSF_SUSPO
    INCL_EEW_PD_ITEM_CSF
    and have added a record in the following place in SPRO:
    Supplier Relationship management-> Supplier self service->Make field control settings for tables.
                  | Item   | Display | Z.PO.ITM.VIEW
                  | Item   | Change  | Z.PO.ITM.EDIT
    But we are unable to display the field in the SUS screen.
    We had also referred to the following blog :
    /people/yeusheng.teo/blog/2008/01/05/ordering-unit-vs-order-pricing-unit-in-srm-sus
    but had no success.
    Please let us know if we did something wrong or are we missing something.
    Also please let us know if BSP changes are really necessary to do this as neither in the SAP note nor in the above mentioned blog, there is any mention about this.
    Regards
    Kishan

    Hi Bharadwaj,
    Thank you for your inputs. I executed the program but it didn't display the field.
    But I was able to rectify it by re-creating the steps mentioned in the blog (see original post). I had missed giving correct positions to the custom field.
    Regards
    Kishan

Maybe you are looking for

  • Recording audio from line-in

    When I start recording, Captivate switches automaticly from line-in (where my input device is) to microphone. Captivate forgets my configuration, which I set under "Audio" / "Options". How can I get live capturing using line-in? When I edit single fo

  • COLLECT statement in start routine of update rules for data coming from R/3

    Hi, I have more than one record with the same key combination that comes from R/3. I have a condition wherein I write into an error log. Hence I want only ione entry to be written into a error log and not multiple instances. I had written a similar o

  • Problem when attribute fails schema validation

    I have got a problem during schema validation... let's say i have the following record: <employee ssn="123456789D" recordNum="10"> <lastName>Bloggs</lastName> <firstName>Joe</firstName> <address>123 America Ave</address> </employee> apparently the at

  • Preview slideshow will not play pictures in order.

    I'm looking a cd for work with jpgs. The slideshow won't show them in numerical order. Any thoughts? Thanks.

  • Need help converting from Actionscript 2.0 to 3.0

    I have an old flash file that I need to update. Ufortunately I only ahve access to Flash Pro CC and when I open the file it says the program no longer supports Actionscript 2.0. When I test the file, I get the following compiler errors: Symbol 'Money