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

Similar Messages

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

  • 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

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

  • 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

  • Enhanced Datasource fields not getting displayed in Transformation

    Hi,
         Eventhough after replicating the datasource, the Enhanced Datasource fields not getting displayed in Transformation.
      Eg I have done mapping of 6 fields in transformation from datasource to DSO
    Now the datasource is enhanced with 8 fields...........The transformation is not showing the added 2 fields
    I am deleting the existing transformation.Is this the only solution?
    Kindly suggest your answers.
    Thanks,
    Sonu.

    HI,
    Deleting is not solution as it is common scnerio.
    Go to the data source in BW and in change mode check the option "transfer" for this two fields and then see if its coming or not.
    Thanks
    Ajeet

  • Custom Field not showing in analytics?

    We have a custom field on the account object called sales stage. It is a simple pick list (our organization does not use the opportunity object). The custom field is not available in analytics. Is there something on the field setup that needs to be flagged? All of our other fields seem to appear just fine. This is so bizzarre!!
    Any help is greatly appreciated.

    Hm. Still no answers.
    We have a similar problem concerning custom fields not available in Answers. It concerns a custom field for an additional tel no. in the user record type. I thought it might have something to do with the fact that it can only be utilized through the other data types, using "owned by user".
    But as you have the same problem, maybe there is a solution... Any idea would be appreciated.

  • Custom Tab not getting high-lighted

    Custom Tab not getting high-lighted
    Hi,
    I have added a new tab TabX in Item Master data form.
    When only my add-on is running, it is working properly:
    When I click on the TabX, all the controls belonging to the tab are displaying correctly.
    TabX control is getting highlighted.
    When my add-on runs with another add-on (DBS):
    When I click on the TabX, all the controls belonging to the tab are displaying correctly.
    But, TabX is not getting highlighted. Instead, some other tab(purchasing tab) is getting highlighted.
    1) I'm not sure what is done by the other add-on.
    2) I cannot debug my add-on when the other add-on is running. (Because we cannot get the other add-on installed in our office network. It is running only in client site.)
    So, I need to 'guess' what might solve this problem.
    Please help me if you know any work-arounds, so that I can highlight TabX (The normal effect of pressing a tab) in this situation.
    Thank you.
    Regards,
    Geetha

    Hi Geeta,
    on FormLoad event,add the panelevel and set the panelevel of the Items.(must ber unique on that form)
    OnLoadAfter(ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
                BubbleEvent = true;
                AddNew_IndirectCost_Tab()
    private void AddNew_IndirectCost_Tab()
                     oForm.DataSources.UserDataSources.Add("Folder", SAPbouiCOM.BoDataType.dt_LONG_TEXT, 100);
                    oItem = (SAPbouiCOM.Item)oForm.Items.Item("36");
                    oNewItem = oForm.Items.Add("oFldrCost", SAPbouiCOM.BoFormItemTypes.it_FOLDER);
                    // oNewItem.AffectsFormMode = true;
                    oNewItem.Top = oItem.Top;
                    oNewItem.Height = oItem.Height;
                    oNewItem.Width = oItem.Width;
                    oNewItem.Left = oItem.Left + oItem.Width + 50;
                    oFolder = (SAPbouiCOM.Folder)oNewItem.Specific;
                    oFolder.DataBind.SetBound(true, "", "Folder");
                    oNewItem.AffectsFormMode = false;
                    oFolder.Caption = "Indirect Cost";
                    oFolder.GroupWith("36");
                    oItem = (SAPbouiCOM.Item)oForm.Items.Item("60");
                    oNewItem = oForm.Items.Add("LblMacCost", SAPbouiCOM.BoFormItemTypes.it_STATIC);
                    oNewItem.Top = oItem.Top;
                    oNewItem.Height = oItem.Height;
                    oNewItem.Width = oItem.Width + 20;
                    oNewItem.Left = oItem.Left;
                    *oNewItem.FromPane = 222;*      // set pane level
                    *oNewItem.ToPane = 222;*          //set panelevel
                    oStaticText = (SAPbouiCOM.StaticText)oNewItem.Specific;
                    oStaticText.Caption = "Actual Machine Cost";
    on click of the your pane set the panelevel, like;
    protected override void  etClickBeforeAction(ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
                BubbleEvent = true;
                 if (pVal.ItemUID == "oFldrCost")                    // oFldrCost-My pane,
                     oForm.PaneLevel = 222;
    The main thing is that you have to set the form's panelevel on click_before event and youe pane will be high lighted

  • SAP Fields not getting displayed on the BDT screen

    Hello Gurus,
    I am trying to add 2 custom fields on to the claims management screen. The following steps were followed to add 2 fields on to the claims Management subclaim screen.
    1. Create a field group Zxxxxx1 with the two fields attached to it as input enabled.
    2. Create a View Zxxxxx2 attach the created field group Zxxxxx1, then create a subscreen screen add two fields to the screen and make them as input enabled. Then attached the subscreen to the View.
    3. Create a PBO and PAI function modules for the screen and attach it to the View Zxxxxx2.
    4. Create a section Zxxxxx3 and attach the view Zxxxxx2 to the section.
    5. Attach the section to the Subclaim Overview Screen.
    6. Inspite of doing all the above steps the screen is not getting displayed or the Function module PAI / PBO / FMOD is not being called.
    Since I am attaching the section to a standard screen sequence I am not doing any modification to the screen sequence and screen sequence catagory.
    Kindly let me know the steps I am missing in the configration of 2 new fields via BDT.
    Reagrds,
    Shiva

    Hi Shiva,
    did you create your own Z BDT application? Is it set to be active?
    I have no access to any claims management system: Does the claim object support divisibility? If so, have you assigned the correct data set in your view?
    Also, if you have your own Z BDT application and the claim object does support divisibility, did you assign the Z application to the divisibility view?
    Regards,
    Frank
    Message was edited by: Frank Vieregge

  • Fields not getting displayed in Sapscript

    Hi Guyz,
    I have a customized Sapscript form ZPV_INVOICE and its print program RVADIN01. This form outputs the Sales Invoice. When the print preview is triggered, Material number (MATNR) is not getting displayed on the form. However, when the form is debugged, MATNR values are properly fetched and showed (while debugging only, not in output).
    Can somebody please let me know the reason, why the MATNR is not getting displayed on the output, even though it is showing values while debugging.
    Thanks in advance !

    Hi ,
    Then check matnr  field which is display  is same  what you are checking  in debugging  .
    COnfirm  the field   and check whether data stays till end of module   .
    regards
    Deepak.

  • Address Book, importing text tab file, custom fields not there

    Searched thru all past posts. Found some that are close but not what I am trying to do.
    Open Address Book, go into Preferences, select Template and under the Names field (friend, assistant, father, etc) I add a custom field called "Keyword".
    I also add two more custom fields in the Phone area called "Work 3" and "Work 4". There are other custom fields I need but I want to keep this short.
    Quit Address Book then relaunch. Add a new contact and the new custom fields, Keyword, Work 3 and Work 4 are there. All good so far.
    I have a Now Contact file with about 800 contacts in it. I export all fields as a Text file, Tab delimited. No problems there. With Address Book launched, select Import, pick the text file, leave Text Encoding on Automatic and click Open.
    The window that shows the fields for Address Book and fields for the text file side by side opens. This is where you match up the correct fields for importing. If I go to one of the fields from the text file that I created a custom field for, click under the Address Book heading on the Do not import, scroll thru the Apple choices of fields, none of the custom fields show up. Only the original Apple ones are there. Why does Apple let you create them in the Template area but not have them available for importing?
    That is my problem.
    Adding new contacts as I get them, is fine. Importing 800 contacts with these custom fields is not possible.
    I could map them to go to the Notes field along with actual notes but that is inelegant. The custom fields are there, why can't we use them to their full potential.
    This appears to be a bug to me. Let me know what you think.

    Hi Adam,
    Thanks, but the problem is not importing to AddressBook, it is exporting.  I did discover from another that I can export very easily to a Numbers spreedsheet.  It is exceptionally simple.  But it will not export custom fields.  Someone said that is because of a vcard standard.  My custom fields are just "name" fields that I have labeled differently.  But Numbers does not support the name (it only takes the name of the card).
    Christine

  • Customer field Not shown in ME21n and ME22N

    Hi,
    While creation ME21N and change ME22N we are unable to get Customer field in Delivery address tab of the PO, We are getting Address and Vendor (Sc Vendor) fields in Delivery address tab , but customer not able to see.
    The Customer field we can seen through ME23N.
    We have cross check screen layout for ME21N and ME22 and NBF here in all cases Customer field is Optional.

    Hi,
    Please check screen layout for AKTH & AKTV.
    Regards
    Subbu.

Maybe you are looking for

  • Some actions don't work in photoshop cc 2015

    I researched this subject but without success. I can't understand why the program (photoshop CC 2015) takes some actions as margin placement, but don't assume simple things such as color balance, contrast or levels. Someone can explain me this? I'm a

  • Sound but no video on my 5800

    Hi.  Can anyone help me - when i put mpg4s on my phone it won't play the picture?! Also, are there ways of playing avi videos and other formats? Much thanks for any assistance. Davin Message Edited by scuders on 02-May-2009 05:10 PM

  • COMPLETELY Uninstalling Quicktime

    I am having a lot of problems with quicktime. Safari is simply not playing half of the movies from on-line and the other half says I need quicktime 5 or higher. I have the latest v. of 7. I tried doing a spotlight for quicktime and deleting everythin

  • Applet works with IE8 but aborts with Firefox 3.6.3

    This link starts an Applet (a funny St.Valentine's one) that works perfect with IE8. Same link does some initial steps from Firefox 3.6.3 but aborts. Looking into Java Console it errors with ... but as I said, it works PERFECT with IE8!!! What's the

  • Grids in the real world

    Hi....sort of a cryptic subject, but here's what I'm trying to do: What is the easy way (not too much thinking) to use a grid that will help me with the size and placement of two objects? Let's say I have a image taken with a digital camera of an int