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

Similar Messages

  • 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

  • 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.

  • Inbound Idoc - Date fields not getting saved

    Hello,
    I have created inbound idoc scenario in SAP. I receive Idoc from non SAP system to SAP system.
    then data from IDoc is saved into different tables, for that I have written one function module (attached to process code)
    One of the segments in IDoc type has date as a field. It is of type sy-datum.
    When I receive Idoc in SAP only date fields are not getting saved in tables.
    Is anything specific need to be done for date fields? please advice.

    check which format you are getting into sap and make sure you are coverting in into required format.

  • Changes in Texts in custom editor not getting saved in QM02 tcode

    Hi Expert,
    I am working on a screen exit in QM01. I have created a editor box(like the description box under Description tab in QM01) using class cl_gui_custom_container and cl_gui_textedit. I am able to create and display the text I type in the box alongwith other standard changes but if I try to change and save the text only in the custom text box, it is not getting saved. I debugged and found out that the standard does not recognize any change in the custom controller box.
    Please suggest.
    Thanks in advance,
    Sangeeta.

    Hi Sangeeta,
    After doing changes which method are you using to capture the text in the text editor ?
    There is a method GET_TEXT_AS_R3TABLE in class CL_GUI_TEXTEDIT . in that pass 'X' to ONLY_WHEN_MODIFIED parameter,
    Hope these may resolve your issue.
    Regards,
    Kumar M.

  • Adobe form - Text field not getting saved.

    Hi All,
    We created an application in which user will enter the data and submit it . The details entered in the screen will be saved in the Ztable.
    Our problem is when the user enters the data in the TextField UI of the adobe form it is not getting saved in the table. In development its working fine.
    In production for few users it is getting saved and for few users it is not getting saved.
    We are not able to find out the root cause of the problem.
    Any help will be appreciated
    Best Wishes
    Idhaya R

    Hi Idhaya,
    As you said it is working for few users,
    Then you need to check Adobe reader installed for users who are having problem.
    Hope it helps.
    Regards,
    Arun

  • 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

  • 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

  • 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.

  • 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 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

  • Not getting sound from both sides of head phones

    Have tried head phones in other players they work fine but my nano is only playing on one side , also when I insert or remove head phone jack puts my nano into pause mode ? any sugggestions ??

    The iPod is designed to go into pause mode when the headphones get pulled out of it. I guess it's so when you are moving around, and by accident you rip the headphones out, it'll pause the song, so that when you re-connect, you get to go back to where you were.
    Is the inside of where yoiu put the headphone plug in your ipod all gumed up, and dirty?
    Have you tried using other headphones on your ipod?
    Some songs are only 1 sided, meaning that they come out of one side of a headphone. Although this is probably not the problem.
    Has your ipod ever fully worked, with both headphones working? If not, the ipod may be shot, and you might want to send it in for repair.

  • Item Number not getting copied from Delivery to Invoice

    Dear Experts
    I am having a problem where Item Number in Delivery is 10 and in Invoice it is 11. The item number is  not getting copied from Delivery to Invoice. I have checked the copy control option and copy item number is checked.
    Please advise

    Hi,
    In VOFA Item no. increment has already been maintained as "0" but the problem is still there.
    Regs

Maybe you are looking for