PM -order operations - customer-fields

Hi SDN,
We used customizing activity 'Define User Fields' (Transaction 'OILJ' ) to define user fields and store them under a field key,.and assigned the key to an operation in a maintenance order
Is it possible to list this client fields in the list operation report (TC IW39/IW49N)? How?
Thanks in advance.
Maria João Rocha

Maria João Rocha,
  There should be two methods associated to this BADI, FILL_ADD_FIELDS and CHANGE_FIELD_CATALOG. You would need to use these methods to populate the contents and change the field catalog, create Field groups. The output structure for the appropriate program(Remeber this BADI is used by all single level list within PM) is passed into the "Fill_add_fields" method.
  So basically as first step create a new append Structure for RIHAFVC using transaction se11. Add the custom fields to this append structure based on key ID.So if i have two different key ID and each having  7 fields each i would define 14 new custom fields with the text description that you have named in the config.You will not be able to include the AFVUI structure directly due to the naming conflict that would arise.You could then use the implementation associated to the FILL_ADD_FIELDS method to populate the appropriate fields based on the key. You would need to  implement this logic based on the structure that's passed in (RIHAFVC in this case) and use the key to gather the User defined values associated to the operation.
  Hope the suggestion helps.
Regards
Narasimhan

Similar Messages

  • How to Generate sales orders with custom Fields using BAPI_BUSPROCESSND_CREATEMULTI

    Hi,
    I need to generate sales orders with custom fields on table CRMD_ORDERADM_H using BAPI_BUSPROCESSND_CREATEMULTI, after changing the structure BAPI_TE_CRMD_ORDERADM_H, and feed the  EXTENSIONIN table of the BAPI with data, the order is created, but any value on custom fields.
    After debuging, I saw that the BAPI search for structure conversion in table CRMC_OBJECTS_GEN, but we haven't entry with BAPI_TE_CRMD_ORDERADM_H in this table. is that the problem ?, Is there any way to fix it?
    Best Regards,
    Salah.

    That depends on where do you have the customer fields, check the table CRMD_CUSTOMER_H, if your custom fields are there, you need to use the changing parameter CUSTOMER_HEAD, I guess your already checked that one, right? but there's no custom fields, well...AET/EEWB doesn't enhance the strcuture of the BAPI, so you should do it manually, check the note following note for further details.
    988410 - FAQ: User-defined fields in the BAPI
    If you don't have access to the SAP Marketplace, in resume you should create an append on the structure BAPIBUS20001_CUSTOMER_H and include the following strcutrue CI_EEW_CUSTOMER_H
    Cheers!
    Luis

  • MRP Generated production orders greys out Sales Order and Customer fields

    Hi there,
    The MRP generated production orders greys out the Sales Order and Customer fields for some reasons. These fields are really important as they link the production order to the sales order and the customer's purchase order. Could the SAP team please fix this or advise alternative way of getting the sales order and customer info on production order? Thanks.

    Hello
    MRP only poulated this fields in case the material master has been set up with a strategy group hich is make to order (normally 20). Otherwise MRP summarizes all the requirements from different Customer orders and creates a production order
    Stephan

  • MRP - Sales order and customer fields grey-out

    Hi there,
    The Sales order and customer fields are grey-out for all MRP generated production orders. Can the SAP programmers please get this fixed? It should either read in the sales order number and the customer number or allow user to type in the sales order, just like the manually created production order.
    cheers

    Hello Gordon,
    If production is make-to-order rather than make-to-stock, the MRP should read in the sales order number and the customer, since it is specific to the sales order. Even for make-to-stock production, where it cannot read in the specific sales order number, it should at least not grey out the field, don't you think so? By greying out the field, users are not allowed to type in the sales order number even when the production order directly relates to a particular sales order. As such, we are not able to link it back to the sales order where other info such as customer's purchase order, etc... can be found.
    Could you please advise alternative way of linking MRP generated production orders to the sales orders? thanks

  • Sale Order Item : Custom Field : Table Control

    I have added two fields to sale order item table control in program SAPMV45A screen no . 4900. Now the field which i have added are working fine while creating sale order but while changing those fields are not changing.
    condition is like this: the custom field are automatically filled by some logic and if the user want to change those field he will able to do. Now 1st condition is fine and when i change those field they will show the previous saved value inspite of changed value. 
    I have also added those field in additional data b tab in screen 8459 , there they are working fine but here the problem remains the same.

    Hi,
    u can use BAPI_SALESORDER_CHANGE to update the values of those fields. for that u need to extend few tables and coding that u can get from the BAPI documentation. If not getting reply back. i can help u..
    regards,
    pavan.

  • Purchase Order item customer fields

    I have the following scenario:
    - I need to save some customer fields in Purchase Order item, when it is generated through the Shopping Cart (EBP).
    - When EBP will generate a PO in backend (R/3), it calls B470_PO_CREATE function module and inside it calls BAPI_PO_CREATE1 in R/3. This call does not use extensionin parameter.
    - I have all the values in PO_ITEMS parameters. (an append structure in bapi_mepoitem).
    - Trying to solve this, I think I have to use EXIT_SAPL2012_001 to create the extensionin parameter.
    - Anyone else has this problem?
    - How can I create the extensionin parameter? Is it only necessary to add 'BAPI_TE_MEPOITEM' and 'BAPI_TE_MEPOITEMX'?
    - Do you have an example?
    Thank you!

    Hi
    You have to extend CI_EKPODBX with the same fieldnames with type BAPIUPDATE (in SE11), and then while passing the EXTENSIONIN to the bapi, you have to flag those. Like the following:
    DATA: wa_extensionin TYPE BAPIPAREX,
    wa_BAPIPAREX TYPE BAPIPAREX,
    wa_BAPI_TE_MEPOITEM TYPE BAPI_TE_MEPOITEM,
    wa_BAPI_TE_MEPOITEMX TYPE BAPI_TE_MEPOITEMX.
    wa_BAPI_TE_MEPOITEM-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEM-ZZZ_FIELD1 = <z-field value>.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEM'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEM.
    APPEND wa_BAPIPAREX TO extensionin.
    wa_BAPI_TE_MEPOITEMX-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEMX-ZZZ_FIELD1 = 'X'.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEMX'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEMX.
    APPEND wa_BAPIPAREX TO extensionin.
    This will work. Please let me know if it does not.
    See related links ->
    Re: BAPI_PO_CREATE1 and EXTENSIONIN structure
    Re: Passing custom fields to BAPI
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: BAPI_PO_CHANGE
    Yann i need ur help..
    Re: Custom field values are not being transfered to the backend system
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: Implement ME_PROCESS_PO_CUST-Urgently!
    Re: Purchase Order (BAPI_PO_CREATE! --> EXTENSIONIN)
    Re: How to use BAPI extensions?
    Re: BAPI_PO_CREATE1 user fields not saving on EKPO
    BAPI_PO_CREATE1 - EXIT_SAPL2012_001
    Do let me know.
    Regards
    - Atul

  • How to implement Change pointers for Purchase order - ME22N - Custom Fields

    Hi Experts,
    Can you please tell me how to implement - Change Pointer for Custom fields in IDOC.
    I am working on IDOC - For purchase order - acknowledgements - in custom screen/tab in ME22N.
    Everything is working fine according to my requirement.
    All i need to know is the process of - Creating/Change - Change pointers for Custom fields.
    1.How to implement change pointers for custom fields.
    2.Can we maintain - Change Document - for custom fields at data element level?
    P.S. - I have browsed many previous - forums before posting a new discussion.
    please share your inputs...
    explaining how to create/implement - change pointers for custom fields will help me .
    Regards,
    Karthik Rali.

    Hi,
    To maintain Change Document for custom field:
    1. Check if "Change document" checkbox is set in data element.
    2. Find Change Document Object for transaction.
       You can use SQL trace - ST05.
       Look there for line with table CDHDR and statement insert values
       (for example for transaction KA02 Change Document Object is KSTAR)
    3. Regenerate update program for this Change Document Object in transaction SCDO
    Change documents for z-fields schould be generated.
    I am not sure about change pointers but they are configured somehow in BD61 and BD50.

  • BAPI SALES ORDER CHANGE CUSTOM FIELD

    Hello Gurus,
    I am trying to update a custom field for sales order. The field name is zfield1 in vbak. The field is added to vbakkom, vbakkomx, vbakkoz, vbakkozx, BAPE_VBAK, BAPE_VBAKX. I guess i need to use the EXTENSIONIN table to populate this field's values to change it with the BAPI. But I not sure exactly how to populate the fields. Can someone tell me how exactly i need to do this?
    Also the documentation says fill Extensionin this way.
    STRUCTURE VALUEPART1 1234561234567890123
    BAPE_VBAP 0000004711000020 XYZ
    BAPE_VBAPX 0000004711000020 X
    What is the 1234561234567890123? Is it a field?
    Thanks,
    KB

    Hi,
    Check this example..I am updating the VBAP field..Instead you can replace it for VBAK..
    PARAMETERS: P_VBELN TYPE VBAK-VBELN.
    DATA: T_LINE LIKE BAPISDITM OCCURS 0 WITH HEADER LINE.
    DATA: T_LINEX LIKE BAPISDITMX OCCURS 0 WITH HEADER LINE.
    DATA: T_EXTEN LIKE BAPIPAREX OCCURS 0 WITH HEADER LINE.
    DATA: T_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA: BAPE_VBAP LIKE BAPE_VBAP.
    DATA: BAPE_VBAPX LIKE BAPE_VBAPX.
    DATA: ORDER_HEADERX LIKE BAPISDH1X.
    ORDER_HEADERX-UPDATEFLAG = 'U'.
    T_LINE-ITM_NUMBER = '000010'.
    APPEND T_LINE.
    T_LINEX-ITM_NUMBER = '000010'.
    T_LINEX-UPDATEFLAG = 'U'.
    APPEND T_LINEX.
    BAPE_VBAP-VBELN = P_VBELN.
    BAPE_VBAP-POSNR = '000010'.
    <b>BAPE_VBAP-<b>YYFREETEXT</b> = '02'.</b>
    T_EXTEN-STRUCTURE = 'BAPE_VBAP'.
    T_EXTEN+30 = BAPE_VBAP.
    APPEND T_EXTEN.
    BAPE_VBAPX-VBELN = P_VBELN.
    BAPE_VBAPX-POSNR = '000010'.
    <b>BAPE_VBAPX-YYFREETEXT = 'X'.</b>
    T_EXTEN-STRUCTURE = 'BAPE_VBAPX'.
    T_EXTEN+30 = BAPE_VBAPX.
    APPEND T_EXTEN.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = p_vbeln
    order_header_inx = ORDER_HEADERX
    tables
    return = T_RETURN
    ORDER_ITEM_IN = T_LINE
    ORDER_ITEM_INX = T_LINEX
    EXTENSIONIN = T_EXTEN.
    COMMIT WORK.
    Thanks,
    Naren

  • Automatic Repricing in Purchase Order for customer fields

    Hi all,
    Does anybody have a clue how to force repricing a PO when a customer field on item level is changed? I am forced to enter the customer field last by the screen sequence, so when I add the value it is not taken into account by pricing.
    Thanks,
    Stratis Pelekidis

    Hi Charlie,
    Pricing is set up correctly. The user exits for the z-fields to KOMK KOMP work properly and if we look at the pricing analysis it mentions that the price is determined, but hasn't been set. If we press the New Pricing button, we get the right price, but we don't want to do that.
    Thanks,
    Stratis

  • Customize bapi for sales orders with customer fields

    The situation is a following.
    Customer has added a structure on table VBAP. They used Append but without include.
    Now I have to make a BAPI that will be able to write on those fields. I have used several posts and documentation, but with on change : Instead of passing on BAPE_VBAP, BAPE_VBAPX, etc the original structure, i pass another that is an exact copy.
    Could this be the source of the fact that i Dont write anything? The return struct contains tthese :
    ORDER_HEADER_IN has been processed successfully
    return..:                                     
    ITEM_IN has been processed successfully       
    return..:                                     
    But nothing is shown on vbap

    thanks for the reply, but this is something I knew. My problem was whether the structure added to those BAPE_* has to be exaxtly the structure appended to VBAP, or just an identical structure (eg if I appended VBAPEXT to VBAP, should I append VBAPEXT to BAPE_*, or could I use VBAPEXT_copy, which is exactly the same with different name)?
    Anyway, we solved the problem and it seems that we can use an identical structure with same name.

  • How to handle custom field  using BAPI_PO_Create1

    i  used to bapi_po_create1 to upload purchase order. in purchase order one custom field in item level warranty.
    in CI_EKOPODB . I was send custom data in bapi using EXTENSIONN. BUT I GOT
    ERROR PLEASE ENTER VALUE IN WARRANTY AND
    Error transferring ExtensionIn data for enhancement CI_EKPODB.
    IN A FORUM I GOT ANSWER TO IMPLEMENT BADI  ME_BAPI_PO_CUST. BUT I AM NOT KNOW HOW TO IMPLEMENT IT PLEASE GUIDE ME.
    PRANESH
    Edited by: Praneshom on Mar 31, 2011 11:26 AM
    Edited by: Praneshom on Mar 31, 2011 11:28 AM
    Moderator message: please do not post in all upper case.
    Edited by: Thomas Zloch on Mar 31, 2011 11:48 AM

    hi Diwakar.
    my warranty field is int4  length 10.
    I am already  use BAPI_TE_MEPOITEM.
    bapi_te_mepoitem-po_item = h_item..
    bapi_te_mepoitem-warrenty = '6'.
    WRNTY = bapi_te_mepoitem-warrenty.
    CONDENSE wrnty.
    CONCATENATE bapi_te_mepoitem-po_item WRNTY INTO POIT  SEPARATED BY SPACE.
    MOVE 'BAPI_TE_MEPOITEM' TO i_extensionin-structure.
    MOVE POIT TO i_extensionin-valuepart1.
    APPEND i_extensionin.
    bapi_te_mepoitemx-po_item = h_item.
    bapi_te_mepoitemx-warrenty = 'X'. "<--here the "difference"
    CONCATENATE  bapi_te_mepoitemx-po_item  bapi_te_mepoitemx-warrenty INTO POITX SEPARATED BY SPACE.
    MOVE 'BAPI_TE_MEPOITEMX' TO i_extensionin-structure.
    MOVE  bapi_te_mepoitemx TO i_extensionin-valuepart1.
    MOVE POITX TO i_extensionin-valuepart1.
    MOVE bapi_te_mepoitemx-warrenty TO i_extensionin-valuepart2.
    APPEND i_extensionin.
    Please review this code
    Thanks
    Pranesh

  • Search Enhancement-Custom fields in Result List

    Hello Experts,
    As per the wiki https://wiki.sdn.sap.com/wiki/display/CRM/TransactionSearchEnhancement by Stephen I have enhanced the search of service order. Custom fields are actually added to the Service Order header and Search by using EEWB.Search is working fine after the implementation of the BADI BADI CRM_RF_SEARCH_EEW
    Now we also want the custom fields to be show in the search result as well.It will be great if you can kindly help me with the standard process for this.If I enhance the search result BOL with the custom fields will it work?
    Thanks & Regards
    Anupam

    Hello Deb,
    The search criteria needs the procedure you fallowed ,But not the result list.
    In the Context node you can directly add the attributes you required from the BOL.
    1.Enhance the component and View.
    2.In the context Node BTQRSRVORD on attributes Rignt Click and say create
    3 Give the name of the fields.
    4.Say add Model Attribute
    5.BOL entity Come byitself BTQRSrvOrd
    6.In the BOL Attribute go to f4 help and Scroll down and expand relations
    7.find the Ibase relations and add the fields.
    No Coding is required ..All the methods get generated and results get populated .
    The only thing is you have get the proper fields and realations.
    Sree.
    Edited by: Sree on May 20, 2010 6:26 PM

  • Custom Fields in ME51

    Hi all,
    There is a requirement to include additional fields/columns in PR service specification level for additional data input.
    <b>For example:</b>
    Users want to enter separate descriptive text besides the service short text in the same line item (they do not want to use the long text feature).
    Can anyone enlightened me on:
    1. How do I add additional fields? Do I append to the current table?
    2. How can I modify the line item view in all ME51,52 and 53 to rearrange and display input for the new fields?
    3. Can this be achieved by enhancing the standard program or a new screen is needed?
    Please advice.

    Hi
    You would have to add additiional sub screen to your transaction via a screen exit.
    First you would create a sub screen  with all fields you want to put including a PAI and PBO.
    Then you find the appropriate screen exit for it. For ME51/52/53 the following exits apply...
    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MM06E011            Activate PReq Block
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    You would have to check which applies to ur requirement and then code accordingly.
    Hope this helps to solve ur problem....
    <b>do reward if useful....</b>
    regards
    dinesh

  • Custom fields in me21n

    Dear Gurus  ,
    I have added some custom fields in me21n in header & item level through badi . some fields are in standard table (CI_EKPODB )
    and other are in Ztable . Every thing is working fine .
    Problam is that when i am making a new purchase order through me21n by Copying another purchase order . Custom fields are not copying .
    Example: i have a po no : 101 .
    two custom field  zabc = 123 .
                                 zdef = 345 .
    when i am making a new po by adopt(Through Document overview on) this po 101 these custom fields are not coping  .
    is there any Customizing , exit  , Enhaancement  . That can Resolve this issue ?
    Thanks in advance .
    Hemant Gulati(A1).

    Hi
    In BADI 'ME_PROCESS_PO_CUST', try with method PROCESS_ITEM to populate them with the right filters. Check if in MEPOITEM for fields REFBS and REFPS is the PO that you are copying.
    I hope this helps you
    Regards
    Eduardo

  • ADDING CUSTOM FIELDS TO IW38 IN OPERATIONS LIST

    Hi Gurus,,,
             I have a requirement where i want to add some custom fields in IW38 Report in the OPERATIONS LIST(NOT BASIC OR FIRST LIST.)
    I tried Copying the program of IW38 and develop Z program in which i appended some fields in RIHAUFK_LIST.
    But these fields are not showing on output.
    I Think I have to add these field to ALV field catalog.
    Kindly suggest,, Or I should go by implementing the enhancement IWOC0004,,,, Could i add fields to Operations List Using this enhancement.
    Thanks and regards,,
    Sandeep.

    Hi Spank,
    Check this link which will solve your issue.
    Step 1: First read the documentation for enhancement (IWO10018) in SMOD.
    Step2: Then execute the exit and activate the same.
    Step3: Goto AUFK table. Create CI_AUFK structure with two fields shift incharge (ZZSIC) and Shift (ZZSHIFT). Activate.
    Here it may take minimum 30 min to activate the table. As it hits many views and structures while activating. See the warning message after activation, which is normal, and would not affect your work.
    Note: When you want to add further fields after activating the CI_AUFK structure then it will again take min 20 min to activate with same warning message. Hence it is suggested that complete all required fields at first go. Since activating CI_AUFK structure means regenerating table.
    Step4: Click on screen exit SAPLCOIH green button.
    It will ask to create screen no. 900.  Create in sub screen area and activate the same.
    Click on maintain in orig.. button.
    Step5: Create subscreen area and attach the respective structure fields to each input field.
    CI_AUFK-ZZSIC to Shift Incharge and CI_AUFK-ZZSHIFT to Shift.
    Step6: Then create PBO and PAI module pools.
    Step 7: All PBO modules are saved in include ZXWOCO01 and All PAI modules are saved in ZXWOCI01.
    Step8: Code each module as given below or as per your requirement.
    Step 9: Once you activate the code, it will start showing in IW31/ IW32/IW33 t codes under enhancement tab.
    Step10: Now you can write your own code at each exit.
    EXIT_SAPLCOIH_018: This is getting triggered PBO module. Hence all data from SAP application to screen area are passed at this exit. Use import parameters SAP_CAUFVD_IMP and COCI_AUFK_IMP.
    Step 11: EXIT_SAPLCOIH_019: Customer Enhancement for User Fields for Order Header PAI. This exits saves data after PAI module. Hence pass data from screen area to SAP application by using export parameter COCI_AUFK_EXP.
    How to display new field at list disply?
    Now how to display the same added fields at IW38 list editing report. (Enhancement name: IWOC0004
    Step1: Plz read the documentation for your reference.
    Step2: Activate the enhancement. (It should be assigned to a project )
    Step3: Now in report IW38 (RIAUFK20), search for REUSE_ALV_GRID_DISPLAY.
    Under tables you will find OBJECT_TAB as the internal table for displaying data.
    And it includes a structure RIHAUFK_LIST
    We need to append our own structure to the above structure by clicking at Append structure button. So that while populating data via OBJECT_TAB internal table it will refer the fields and will start showing the data at list display.
    Step4: Now goto IWOC0004 and activate. In  EXIT_SAPLIREP1_001 write ur own code to modify the list display at IW38.
    The fields will start populating at IW38 list display.
    I got this from our SDN given by Rath.
    Regards,
    Madhu.

Maybe you are looking for

  • Help understand MSDN solution from SSRS dropdown and SSAS cube?

    Basically, my problem is that the dropdown in my SSRS report is displaying every single day in my Date Dimension, so it's showing everything from 20000101 to 20201231. I would only like to display the dates that are included in my fact table; right n

  • Desktop display help needed

    my son was playing with the computer and accidentally did something to change the display of the desktop screen and now everything is re-sized.  The dock on the bottom of the screen and the bar on top no longer fit on the page together and all the ic

  • Value not populating in report of MB5T ALV report

    I had written a logic in implicit of this standard report and  iam trying to populate the value in the ALV fieldcatalog. Iam unable see the value on output screen though the value gets calculated correctly in debug mode. Any suggestions

  • Alternative ways to read excel in Sharepoint

    Now I'm facing with a problem of reading excel file on SharePoint server. In the old ways I usually use the OLEDB to read excel through the connection string, but it's just work on 32 bit system, then I attempt to convert my app to x86 platform targe

  • Unknown icon in top menu bar

    I discovered an unknown icon in my top menu bar. It is a blue "S" with a small drawn picture of a guy with brown hair, facing left, in front of it. When clicked, it performs no action, it is just sitting there, apparently doing nothing. I cannot seem