PO service item - custom field value not copied to GR

Hi All,
I have a custom field in SC,PO and GR. For a sevice and limit items, the value in custom field in PO is not copied to GR. For goods, it is copied.
When I debugged, I found that the system tries to match PO item internal number with that of backend item internal number. If this is matched, the custom field values are copied.
But here it is not matched. What can be the possible reason. Is there any configuration for item internal numbers?
I found a note 848797 for transfer. But exactly at the corrected code in note, program is failing.
Have anyone faced this issue before?
Thanks
Nandalal

Yes Disha, the notes are correctly implemented.
I am confused on whether the internal number generated for the item is copied from some configured internal range, because when I enter two service items, the items shows backend internal numbers like 0000000010 and 0000000020 (increment by 10). But in SRM it is 0000000001 and 0000000002.
When the code tries to match the respective numbers, it fails and skips the logic to copy custom fields.
I dont have access to r/3 data.
Please help.
Have anyone tried to create a GR with service item and has custom field?
Thanks
Nandalal

Similar Messages

  • Custom fields values not saved in AUFK using bapi_alm_order_maintain

    Hi ,
        We have a requirement where we have to update the custom fields in enhancement tab of IW31 using bapi_alm_order_maintain.
    We are able to get the successful creation of work order ,but the custom fields are not updated in enhancement tab aswell in aufk table. We are passing values in below table of bapi.
    EXTENSION_IN
                STRUCTURE           =  CI_AUFK
                VALUEPART1        =  '20091223' .
    Please provide the solution.

    Hi Phani,
    May be these links are helpful:
    BAPI extention to work order aiming AUFK custom field filling
    Update custom fields in MARA (BAPI_MATERIAL_SAVEDATA)
    Also search sdn using the BAPI function module, you may get some idea.
    Regards,
    Swarna Munukoti

  • Screen exit MEREQ001- Copy 1 PR line item custom fields values in all

    Hi,
    I have implemented the Enhancement MEREQ001 to add a new tab for Purchase Requistion screen at line item level .
    Requirement for me is to show the same data in the newly added tab for all line items and also to save the same data in EBAN table.
    I am facing a problem while saving the data. In EBAN table, the data was saved for all line items. But the custom added field values are saved for only the line item displayed.
    I ll explain with an example for better understanding.
    I have created a PR with 3 line items ITEM1, ITEM2 ,and ITEM2
    When i saved the data when ITEM1 is displayed, EBAN have custom added field values for ITEM1 but not for ITEM2 and item3.
    The same way, if I save data when ITEM2 is displayed, EBAN has custom added field values for ITEM2 but not for ITEM3 and ITEM1.
    Now, my requirement is to get the all  line items ITEM1 & ITEM2 and ITEM3 updated with custom added field values in EBAN.
    The logic i added in  ME_PROCESS_REQ_CUST~CHECK are as below.
           i_items             TYPE mmpur_requisition_ite                       ,
            lv_if_item          TYPE REF TO if_purchase_requisition_item,
            lt_itm_data         TYPE mereq_item   .
    DATA :  LV_dept TYPE EBAN-ZZDEPARTMENT ,
            lx_itm_data type mereq_itemx.
        CALL METHOD im_header->get_items
          RECEIVING
            re_items = i_items.
        LOOP AT i_items INTO wa_item.
          lv_if_item = wa_item-item.
          CALL METHOD lv_if_item->get_data
            RECEIVING
              re_data = lt_itm_data.
          CALL METHOD lv_if_item->get_datax
          RECEIVING
          re_datax = lx_itm_data.
         IF lt_itm_data-zzdepartment IS INITIAL.
             lt_itm_data-zzdepartment =  LV_dept .
             lx_itm_data-zzdepartment = 'X' .
          ELSE.
             Lv_dept = lt_itm_data-zzdepartment.
        ENDIF.
    To set the value for all line item.
            CALL METHOD lv_if_item->SET_DATAX
              EXPORTING
              IM_DATAX = lx_itm_data.
        CALL METHOD lv_if_item->Set_data
            EXPORTING
              IM_data = lt_itm_data.
        ENDLOOP.    " LOOP AT i_items INTO wa_item.
      ENDIF.    " IF ( NOT ls_header1-banfn IS INITIAL
    BUT above logic is not working
    Please give your inputs
    Thanks in advance
    Deepanker Dwivedi

    HI,
    You can use GET CURSOR LINE LINE_NO this will give you the sy-index so that you can read the itab like
    read table itab index line_no. This is one option and second is if you have row selector.
    read table itab with key mark = 'X'.
    If you want the Row contents befor the PAI triggers
    [Check this Thread|Table Control dynamic F4;
    Hope this is clear to you.
    Regards
    Ram

  • Classic Scenario- Service Item custom field transfer from SRM to ECC

    Hello Experts,
    I was looking for a way to transfer custom fields from SRM to ECC(PR/PO) for service items.I am on SRM 7.01 and ECC 6.0 ehp 5.
    The same custom fields are getting transferred for Material item using the BADI BBP_CREATE_BE_RQ_NEW.
    But the same badi doesnt work for service item transfer.
    I would appreciate it if someone could help me with this.
    Regards,
    Cruiser

    You can use the Function Module SPOOL_RQ_CREATE with the parameters as bellow and debug.
    REQNO = SC number
    REQUIS_NUMBER = as Purchase Req no ( from backend )
    IV_BE_LOGSYS = backend logical system.
    System will go through the same path as SC bridging to PR.
    HTH,
    Chandu
    Edited by: Chandrahasan H on Mar 23, 2011 3:36 PM

  • Zfield value not copied in copy control

    Hi Experts,
    I have created zfield "net value" in complaints item list. when i do copy line item from order to complaints, all the other standard field values get copied except zfield which i have added.
    Kindly suggest how to solve this issue.
    Thank you,
    Cha

    Please use the copy control BADI CRM_COPY_BADI. This functionality is achieved through copy control feature. For the standard components , the standard fields are copied but for custom fields you have to implement the BADI CRM_COPY_BADI.
    Regards
    Kavindra
    <Moderated>
    DO NOT ask for Points.
    <Moderated>
    Edited by: Harshit Kumar on Nov 16, 2011 8:52 AM

  • Custom field in 'Notes and Attachment" tab of shopping cart

    Hi All,
    I am working in SRM 7.0 classic scenario and i have requirement in which i need to add custom field in 'Notes and Attachment" tab of the shopping cart portal.
    I have added those fields in structure --- INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITEM_CSF_SC.
    Also implemented the BBP_DOC_CHANGE_BADI in while i am populating the custom field value.
    I have created custom field as INPUT FIELD in webdynpro component /SAPSRM/WDC_DODC_NA and view : V_DODC_MAIN_VIEW.
    Now I can see the custom field value in table BBP_PDISC, but i am not getting the value in Shopping cart "Notes and Attachments" tab.( I am able to see the field but not the value of it).
    The value is getting populated in ITEM DATA tab instead.
    Please suggest if i am missing anything in the process and how to achieve this.
    Thank you in advance.
    Thanks,
    Satheesh

    Hi,
    You have done everything.. well.. except that you did not set the attribute of the input field to this value.
    When you have value u just need to bind it using set_attribute method of the element.
    Use  ctr+f7 to generate the wizard .. select in set mode.. click on context and select the attribute that you have created in the context.
    Hope this helps.
    Regards,
    Vinay

  • 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

  • Updating EBAN TAble with custom field values by BAPI_PR_CREATE

    Hi all,
    My requirement is PR creation by BAPI_PR_CREATE Function Module .
    for pr item level customer added 10 fields in the EBAN table append structure CI_EBANDB. .
    i am creating PR by using Funcation module BAPI_PR_CREATE.
    In this Function Module I have to pass the structure name and field values in the EXTENTIONIN .
    what is the structure name I have to pass and how populate data in to the EBAN table.
    after that i have to create PR and updating 10 two custom field values in the EBAN Table.
    how to proceed for updating the customer field values in the eban table.
    thanks in advance.
    sri

    Hi Sri,
    better you dont use it. try this..
    example code:
    data: i_banc type bapiebanc occurs 0 with header line.
    data: i_bkn type bapiebkn occurs 0 with header line.
    data: i_ret type bapireturn occurs 0 with header line.
    data: i_band type bapieband occurs 0 with header line.
    data: i_bantx type bapiebantx occurs 0 with header line.
    data number type bapiebanc-preq_no.
    i_banc-acctasscat = par_asset.
    i_banc-short_text = 'VehicleBooking'.
    i_banc-quantity = '1'.
    i_banc-DEL_DATCAT = '1'.
    i_banc-deliv_date = par_date .
    i_banc-mat_grp = 'TRAVEL'.
    i_banc-unit = 'ST'.
    i_banc-c_amt_bapi = 100.
    i_bkn-cost_ctr = par_cost.
    i_bkn-g_l_acct = par_gl.
    i_bkn-fund = par_fund.
    i_bkn-funds_ctr = par_fund_ctr.
    append i_banc.
    append i_bkn.
    call function 'BAPI_REQUISITION_CREATE'
    exporting
    skip_items_with_error = 'X'
    importing
    number = number
    tables
    requisition_items = i_banc
    requisition_account_assignment = i_bkn
    requisition_item_text = i_bantx
    return = i_ret
    Describe table i_ret lines count.
    If count > 0.
    loop at i_ret.
    Message e000(zbooking) with i_ret-message
    endloop.
    Endif.
    if not number is initial.
    S000(zbookings) with 'Requisition number ' , number ,' created'.
    endif.
    thanks
    trinadh

  • Who has changed the Custom Field value?

    Dears,
    Need to know the information regarding how to fetch that who has changed the Custom field value from PWA/MPP.
    Example:
    There is a PDP (say ProjectInfo):
    There is a Custom Field added to that PDP (say Project Status = In Progress).
    Now for ProjectA, someone has checked out and changed the Custom Field "Project Status" from "In Progress" to "Closed".
    I need to fetch the information regarding who has changed that Custom field.
    In which direction should I move: Event Handlers, PSI???? Any other stuff?
    Thanks & Regards,
    Shravan

    Hi Shravan,
    I'm not a developer but I do know that you can use an event handler pushing the resource name and date in custom fields.
    Another way is to use a 3rd-party tool like
    FluentPro Audit Tool.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Is it possible to change the VBAP-ADRNR item address field value?

    Hi,
    Is it possible to update the VBAP-ADRNR item record field value?
    I am trying to update this field value from BAPI_SALESORDER_CHANGE but it is not changing the value.
    I am only able to change the corresponding address for that address number.
    But I need to change the address number( I want to replace with header address number) itself.
    If any ideas please let me know.
    Thanks,
    Mohan.

    ajitabap wrote:
    Hi
    >
    > Schedule Lines related Data USING BAPISDORDER_GETDETAILEDLIST Then Pass them to BAPI_SALESORDER_CHANGE Then It work and update the field.
    >
    > Regards
    > AJIT
    eh????
    What's the relevance of schedule lines and ADRNR?
    @OP: Don't. There is a reason why SAP gives out a new ADRNR. And manually changing the value of a primary/foreign key is never a good thing to do.

  • Customer fields do not display in cProj 4.5

    Hello,
    I am trying to customize customer fields with the 'Define Field Groups for Customer Fields' IMG activity
    I am using following steps to do this:
    1. Enhance database tables for customer fields
    2. Create field groups for customer fields
    3. Assign customer fields for fields groups
    4. Define fields groups per project type
    5. Save and open cProjects
    But when I start the application only the main tab and sub tabs can be seen. Other customer fields are not seen.
    Does someone has an idea what is going wrong with it and where I can start searching the problem?
    Thx, Vanessa

    Hello Vanessa,
    there is one more step that needs to be done in the customizing:
    You have to set up a field control for your customer fields (IMG activity 'Set Up Field Control'). Here you define the conditions when these fields are displayed, hidden etc...
    If you have no field control, these fields will be always hidden.
    Please do not change the standard field control 0SAP but rather copy it to your own and adapt it according to your needs. Please refer also to the available IMG documentation.
    Afterwards, this field control needs to be assigned to your project type (IMG 'Define Project Types').
    Regards,
    Silvia

  • Creating an SQL Query for Project Custom Fields Values

    Hello:
    I'm currently trying to create an SQL Query to show all of the server's Project Custom Fields Values, along with the modification date.
    So far, I've managed to display correctly all of the data for all of the Projects' text value Custom Fields (those not based on a LookUp Table) with this query:
    SELECT
    MSP_PROJECTS.PROJ_NAME,
    MSP_CUSTOM_FIELDS.MD_PROP_NAME,
    MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE,
    MSP_PROJ_CUSTOM_FIELD_VALUES.TEXT_VALUE,
    MSP_PROJ_CUSTOM_FIELD_VALUES.MOD_DATE
    FROM
    MSP_PROJ_CUSTOM_FIELD_VALUES
    INNER JOIN
    MSP_CUSTOM_FIELDS
    ON MSP_CUSTOM_FIELDS.MD_PROP_UID = MSP_PROJ_CUSTOM_FIELD_VALUES.MD_PROP_UID
    INNER JOIN
    MSP_PROJECTS
    ON MSP_PROJECTS.PROJ_UID = MSP_PROJ_CUSTOM_FIELD_VALUES.PROJ_UID
    WHERE
    MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE IS NULL
    ORDER BY
    MSP_PROJ_CUSTOM_FIELD_VALUES.PROJ_UID,
    MSP_PROJ_CUSTOM_FIELD_VALUES.MD_PROP_UID
    However, when I try a new Query to obtain the actual values for the Projects Custom Fields that do use a LookUp Table, I can't seem to find what table in the model I'm supposed to link to the MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE field (the TEXT_VALUE
    field has NULL value when CODE_VALUE field isn't NULL)
    Any suggestions on how to obtain the actual Projects' custom fields values instead of the Code Value, for Metadata that do use a LookUp Table?
    Also, I'm able to run this query only in the Published Database, since the MSP_CUSTOM_FIELDS table is empy in the Draft Database. Why is that?
    Awaiting your kind reply,
    Sebastián Armas PMO Project Manager

    Hi Sebastián, rather than directly accessing the database it would be better to use the PSI to get this data.  Take a look at the ProjTool sample in the SDK whcih gets this data.
    Best regards,
    Brian.
    Blog |
    Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter |
    Project Developer Center |
    Project Server Help | Project Product Page

  • Updating EBAN table with custom field values for BAPI_PR_CREATE

    Hi all,
    My requirement is PR creation by BAPI_PR_CREATE Function Module .
    for pr item level customer added 10 fields in the EBAN table append structure CI_EBANDB. .
    i am creating PR by using Funcation module BAPI_PR_CREATE.
    In this Function Module I have to pass the structure name and field values in the EXTENTIONIN .
    what is the structure name I have to pass and how populate data in to the EBAN table.
    after that i have to create PR and updating 10 two custom field values in the EBAN Table.
    how to proceed for updating the customer field values in the eban table.
    thanks in advance.
    sri

    Hi
    First you need to append a  structure in EBAN table, The values you need to pass to the
    BAPIPAREX - Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
    Structure will be the appen strucre created in EBAN.
    You can pass the values of the 10 fileds to the VALUEPART1, VALUEPART2 fileds in the structure with 240 charcters each.
    Hope this helps.
    Thanks & Regards
    Kishore

  • How do I save items in library but not copy to ipod?

    How do I save items in library but not copy to ipod?

    If the item is in your iTunes library then it is already saved.
    With the iPod plugged in then select the items that you want to sync to the iPod. You can sync your entire library to the iPod - space permitting - or just selected content.
    MJ

  • Customized field values

    Hi Masters,
    How can we make customized field values and keep track who and when they are changed.
    Regards,
    Aryendra

    What exactly do you mean by "customized field values"?
    Some transactions will show changes to fields in their change history, some will allow you to flag changes to critical fields, others you may need to activate table logging (and accept the consequences) - without knowing a lot more, it's hard to make a call

Maybe you are looking for