Sending custom field added in Standard infotype through idoc

Hello All,
We have a requirement where custom field of a standard infotype 0002 needs to be sent through idoc only to a desired destination system.
My Approach:
I have created a custom segment having custom field from IT 0002 & mapped this segment in T777D table.
But the problem with above, is all the system who are receiving IT0002 will be receiving this custom segment also including desired system.
How can it be filtered?

Hi,
Create the new segment and message types of the idoc with cutom field.
Then map the new mesage type and corresponding receiver( SM59).

Similar Messages

  • Sending custom field added in Standard table through idoc

    Hello Folks,
    We have a requirement where custom field of a standard table PA0002 needs to be sent through idoc only to a desired destination system.
    My Approach:
    I have created a custom segment having custom field from PA0002 & mapped this segment in T777D table.
    But the problem with above, is all the system who are receiving PA0002 will be receiving this custom segment also including desired system.
    How can it be filtered?

    Hi,
       In BD64 you can do the segment level filtering. Go to BD64, search for your distribution model there drill down to "filter settings" the make the required segment filtering.
    Thanks,
    Asit Purbey.

  • Problem in delta management for custom fields added in standard Table

    Hi developers,
    we have a problem, when a sales order is modified in a field custom, added in tables (VBAP-VBAK), the delta BW doesn't recognize the modifications. The data type of these fields haven't the flag (Change document) setted in
    view Definition.
    If this flag is setted, Can the delta BW recognize the modifications of the custom fields?
    Best regards
    Domenico

    You cannot get delta by just appending fields to extract structure & writing the user exit coding as this user exit code is run by the extractor after the X- and Y- tables are compared to create the before & after images.
    You have to do this procedure by enhancing  LIS comm structures like MCVBAP (for example).
    Please refer to OSS note 576886 for complete details.
    Kumar Gudiseva.

  • Sending Custom fields from SRM to ECC through BAPI

    Dear All ,
    I am looking for a step by step instructions on how to send my data i.e Start date and end date at ITEM :LEVEL for limit items from SRM to ECC
    It is currently only sent a Header level . I have almost read all the posts and yet not able to figure out . Please can you some one help me to understand .
    Checked the below
    http://scn.sap.com/thread/476423
    http://scn.sap.com/thread/170189
    http://scn.sap.com/thread/26494
    http://scn.sap.com/thread/1399901
    http://scn.sap.com/thread/1991218
    and also  checked the SAP official page :
    http://wiki.scn.sap.com/wiki/display/ABAP/BAPI?original_fqdn=wiki.sdn.sap.com#BAPI-Passingcustomfield
    http://wiki.scn.sap.com/wiki/display/SRM/Transfer+process+of+the+Shopping+Cart
    http://scn.sap.com/docs/DOC-2726
    However no luck . I also opened a similar thread previously but still unable to get an end to end understanding .Please could some one guide me for this one ?  Currently what I found out there is a class CL_BBP_BS_ADAPTER_PO_CRT_ERP10 where CREATE_DOCUMENT decides what fields would be passed .. In that there is a FM which is being called from ECC .. and in that there is header and header X field ..
    which has the fields which I need VPER start and end date ..
    CALL FUNCTION 'BAPI_PO_CREATE1'
           DESTINATION av_rfc_dest
           EXPORTING
             poheader               = as_po_out-is_poheader      "#EC ENHOK
             poheaderx              = as_po_out-is_poheaderx
    h
    Now I wnat the same fields to be passed at item level of the SC .. Please could you confirm on what exactly I should do ?
    I saw the below tables not sure what I should do with them to include the 2 fields I want which should be passed to ECC .
    TABLES
              poitem                 = as_po_out-it_poitem        "#EC ENHOK
             poitemx                = as_po_out-it_poitemx       "#EC ENHOK
                 extensionin            = as_po_out-it_extensionin   "#EC ENHOK
      *      extensionout      = as_po_out-it_extensionout "not used by SRM
              poexpimpitem      = as_po_out-it_poexpimpitem      "#EC ENHOK
              poexpimpitemx     = as_po_out-it_poexpimpitemx     "#EC ENHOK
             potextheader      = as_po_out-it_potextheader "not used by SRM
    *      popartner         = as_po_out-it_popartner    "not used by SRM
    Please can some one let me know for the below queries :
    1, How to identify If I am checking on the right method .
    2. How I can create these 2 fields voer start date and end date and pass them to EKPO table of PO in ECC ?
    3. How to create these 2 fields in BAP and pass it further from SRM to ecc
    4. How would they be visisble in SC portal screen ..
    Please guide me on this would be really grateful . Thanks in advance for the help
    Regards
    Vinita

    Hi Madhu,
    Please check out this note 1027081 which is for the PO Held in classic scenario.
    Praveen.

  • How to handle Custom field added in BP : Role Bill Account

    Hi Friends,
    I am working on an interface which creates Bill Account role for a BP but the problem is there are about 15 Custom fields added to standard BP transaction in BA role.
    As I am using BAPI_BUPA_FS_CREATE_FROM_DATA2 for creating the BP and
    BAPI_BUPA_CENTRAL_CHANGE for changing the BP role Bill Account?
    Can anyone tell me how to handle those custom fields in the existing BAPIs or there is some other way of doing it?
    Thanks in advance,
    Pradeep
    Note : Helpful answers will be rewarded.

    Hi,
    I have seen these BAPIs but are they used with normal BAPIs for BP creation and change.
    For example : I create the BP using BAPI_BUPA_FS_CREATE_FROM_DATA2 and for the Custom fields I should use these BAPIs as suggested by you alongwith the create BAPI.
    And will it work for Changing the BP also.
    Kindly clarify.
    Regards,
    Pradeep

  • Defaulting a customer field (added through EEW) while bus. obj creation.

    Hi All,
    There a customer field added through EEW.
    Now suppose when we are creating an object (BUS2000170, in my case) this customer filed value should be set the a default value. Under GENIL_MODEL_BROWSER i can see this filed in 'BTitemcustext'.
    I am trying to do it through EVENTS (by calling a FM after AFTER_CREATE event) but i could not find 'BTitemcustext' in the table type CRMT_EXTENSION_COMT.
    Now i dont know where to set this value.
    Can anyobe please help on how we can set default value for fields developed through EEW.
    Thanx,
    Abhi.
    Edited by: abhishek ranjan on Jan 7, 2011 10:11 AM

    Hi Rajni,
    This BADI will only be called when i will save the order.
    I want to set the default value the moment the object is created. Thats why i wanted to do it through events(CRMV_EVENT).
    The reason being suppose the order is not saved , till then this default value will not be visible in the UI side(Even after the object creation).
    Also where i can set this default value??
    I mean this field is available under the model 'BTITEMCUSTEXT'. Also the filed is not visible in the table type for extensions (CRMT_EXTENSION_COMT).
    Please let me know i am wrong.

  • How to populate custom fields in SAP standard Basic type DELFOR01(E1EDK09)

    I've a requirement to include and populate 2 custom fields in SAP standard basic type DELFOR01 and Segment E1EDK09 (it is at hierarchy level 1 ) .
    The requirement looks very simple but for this, as per my knowledge, I have to create a new  Basic type with the copy of segment E1EDK09 and attach it to outbound process code and write my own function module to populate the segments.
    It seems ok but the there are some existing codes in the user-exits for the SAP standard function module.These codes will not get triggered.(Or I've copy the user-exits code in my FM)
    Can we do it any other way to handle this kind of situation?
    Thanks in advance for your suggestions and help.

    Hi Phani,
    You have done it correctly. ECC additional data to be moved to EWM, 1. you need to enhance the CIF for master data/ bapi  to populate the data in the custom field in EWM. 2. Make your your are not enhancing only one structure. You need to do it in the CI includes so that the field is available in all the related tables/structures.
    3. The BAPI/FM which updated these tables will take care automatically to update the custom field data if the field is correctly added in all the tables.
    4. If the custom fields are added correctly and still the data is not getting saved , then need to check the mapping of the custom field and bepi extension.
    Let me know if this helps.

  • What parameters should be set when i receive standard material through idoc

    Hi,
    What parameters should be set when i receive standard material through idoc in inbound system.
    regards,
    Gurprit Bhatia

    http://help.sap.com/saphelp_nw04/helpdata/en/78/21755951ce11d189570000e829fbbd/frameset.htm
    How to understand "outbound parameters" and "inbound parameters" in WE20?

  • Search help for custom fields added through BADI_FDCB_SUBBAS04

    Hi guys
    I have two cutom fields on basic data screen that i have added using an implementation of the BADI
    BADI_FDCB_SUBBAS04
    I want to use the value entered in one of the fields as a import parameter in another fiields search help.  On value request the structure INVFO contains the other data entered on screen in the basic data screen however my custom fields appear empty. 
    However if i press enter and request values again the search help will pop up correctly.  Is there a way i can avoid having to press enter before i can get my values??
    regards
    Isaac Prince

    Hi guys
    I have not found any notes/texts regarding my issue however i think with some user training/re-orientation the small issue will go away.
    regards
    Isaac Prince

  • Adding a custom field in a standard table LIKP

    Hi,
    I need to add a custom field in LIKP table. This field is populated only under certain conditions.
    I can add the field but don't know how to populate the value of the field. This field should be populated only at delivery creation. Are there some User exits or Badi where we can do that.
    PLease let me knw.
    Regards,
    Sharadendu

    Please search "infotype enhancement".

  • Adding custom fields on SAP standard screen

    Hi,
    I have to add some custom fields in the SAP defined standard screen. When I go to that particular screen and try to change it to 'CHANGE' mode , it asks for Access Key. Please suggest me, how to add the custom fields.
    RGDs,
    Gsaasg

    Hi,
    For this only there are enhancements, Just search for screen exits in the SDN or google for
    your transaction and also search for BADI's.
    Regards and Best wishes.

  • Auto-update a Custum Field in a standard Infotype.

    Hi,
    Here is my problem.
    In IT0759 (Compensation Process), I added a new field 'ZZSTAT'.
    The process should be like this :
    When the standard field CSTAT (Status of  Process) = 5 Active then the custom field ZZSTAT should also be updated to 5.
    I manage to deal with this using the PBO of ZP075900 :
    MODULE MODULE_PBO_0759 OUTPUT.
      IF p0759-cstat = '5'.
        p0759-zzstat = '5'.
      ENDIF.
    ENDMODULE.                 " MOD_PBO  OUTPUT
    But there is a program 'RHECM_CHANGE_PROC_STATUS' which update the standard field CSTAT. As the PBO is not processed, my custom field is not updated.
    Does someone have a solution ?
    Thanks
    François

    Hi Francois,
    Do it through dynamic actions: SM31 -T588Z
    Add the following entries.
    0759 P P0759-CSTAT = '5'
    0759 W P0759-ZZSTAT = '5'
    Regards,
    Dilek

  • Update Custom fields in MSEG in MIGO through MB_MIGO_BADI

    Hi All,
    I have to update my custom fields in MSEG table after getting them from user in MIGO transaction. I am using BADI--> MB_MIGO_BADI for this. There is method called POST_DOCUMENT in BADI but it is having MSEG as importing parameter. Also, How can i send my custom fields to BADI. If some how I send them how to update MSEG through this BADI.
    Please help me out in this. This is urgent.
    Thanks,
    Ravi

    Hi Ravi,
        I have the same issue . So can you please help me on the same.
        Through the BADI : MB_MIGO_BADI~POST_DOCUMENT method I have to update a customer field named zznotno.
           Added By Kamal on 21/07/2010 Ticket No 8000003778 ***
      DATA : lt_goitem TYPE TABLE OF goitem,
             wa_goitem LIKE LINE OF lt_goitem. .
      FIELD-SYMBOLS: <mseg> TYPE mseg,
                     <fs>   TYPE ANY.
      IMPORT lt_goitem TO lt_goitem FROM MEMORY ID 'GT_GOITEM'.
      LOOP AT it_mseg ASSIGNING  <mseg>.
        IF <mseg>-bwart = '415' OR
           <mseg>-bwart = '301'.
          IF <mseg>-sobkz = 'Q'.
            READ TABLE lt_goitem INTO wa_goitem WITH KEY zeile = <mseg>-zeile.
            IF sy-subrc IS INITIAL.
              wa_mseg-zznotno = <mseg>-zznotno.       <<<<<<<<<
              ASSIGN ('(SAPLMIGO)mseg') TO <fs>.
              MOVE wa_mseg-zznotno TO <fs>-zznotno .
             MODIFY it_mseg FROM wa_mseg TRANSPORTING zznotno.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    End Addition By Kamal on 21/07/2010 Ticket No 8000003778 ***
    Thanks and regards
    kamal kumar

  • Mass maintenance and BDC Recodring of custom fields added in PO header.

    Hello Experts,
    I have created a custom fields in PO header and used  Structure for BADI implementation to update the header with values enterd in custom table.
    My requirement is for some selected PO i want to fix the value of one of my custom field at header level.
    I have tried both the options Mass maintenance and BDC recording but the issue i'm facing is when i go for mass maintenance it is giving me the ERROR and it seems that we can only do the mass maintenance for sap-standard fields only.
    When i go for BDC recording i'm facing the issue that when i do SHDB and start recording  for ME22N my custom field is coming  grayed out and i'm not able to input the desired value in custom field and complete my recording.
    Let me know your valuable inputs .
    Thanks,
    Naveen

    Hello,
    Instead of BDC i'm doing it through the BAPI   "BAPI_PO_CHANGE" by populating the structure extensionin but here i'm facing the error as below:-
    W     ME     887     Error transferring ExtensionIn data for enhancement CI_EKKODB
    E     BAPI     003     Instance 4500001544 of object type PurchaseOrder could not be changed
    below is my code:-
    ls_extensionin-structure = 'BAPI_TE_MEPOHEADER'.
        ls_extensionin-valuepart1+0(10) = wa_po-ebeln.
        ls_extensionin-valuepart1+14(3) = no.
        append ls_extensionin to lt_extensionin.
        clear:ls_bapi_te_bg,ls_extensionin.
        ls_extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
        ls_extensionin-valuepart1+0(10) = wa_po-ebeln.
        ls_extensionin-valuepart1+10(1) = 'X'.
        append ls_extensionin to lt_extensionin.
        clear:ls_bapi_te_bg,ls_extensionin.
        call function 'BAPI_PO_CHANGE'
            exporting
              purchaseorder                = wa_po-ebeln
            tables
              return                       = it_bapireturn
              extensionin                  = lt_extensionin
        if it_bapireturn[] is initial.
          call function 'BAPI_TRANSACTION_COMMIT'
            exporting
              wait   = ' '
            importing
              return = it_bapireturn.
        endif.
        refresh lt_extensionin[].
      endloop.
    Please let me know if there is any way to achieve this.
    Thanks,
    naveen

  • Sample code for a custom field added to LIS Communication structure for Del

    We appended a new custome field into extraction structure of the LO Cookpit datasource 2LIS_02_ITM through RSA6.  And then run CMOD to write the exit code to populate the value and it works fine.  But after we read Roberto's Weblog:
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    Find the enhancement we did can't make the Delta mechanism works if only this new field gets changed in a record, and the change cannot be reflected on BW.  I know we can run SMOD on the enhancement LEINS001 to write the code for LIS Communication structure customer exit.  But we have never writen such a code for LIS Communication Structure enhancement and also don't know on how to make the Delta mechanism works in the code.  We would be very appreciated if some expert here can provide the sample code!
    Thanks

    hi AHP,
    Have you tried Sanyam's code listed in this article you recommended?
    Now our R3 team has added a custom field called ZZZ to EKKO table and I modify the code to suit our need and the code would be as following:
    *& Include ZXM06U16 *
    DATA: i_t_ekko LIKE ekko OCCURS 1 WITH HEADER LINE.
    DATA: ebeln LIKE ekpo-ebeln,
    it_ekko TYPE TABLE OF ekko WITH HEADER LINE,
    old_val(50) TYPE c. "For storing the value from the Field Symbol
    FIELD-SYMBOLS <fs> TYPE ANY TABLE.
    CASE zeitp.
    WHEN 'MA'. "When creating a purchase order
    MOVE '(SAPLEINS)T_EKKO[]' TO old_val.
    ASSIGN (old_val) TO <fs>.
    i_t_ekko[] = <fs>.
    LOOP AT xmcekko.
    ebeln = xmcekko-ebeln.
    IF xmcekko-supkz = '1'. "Old Value ?
    SELECT SINGLE * FROM ekko INTO it_ekko WHERE ebeln = ebeln.
    xmcekko-ZZZ = it_ekko-ZZZ.
    ELSE. "New Value ?
    READ TABLE i_t_ekko WITH KEY ebeln = ebeln.
    xmcekko-ZZZ = i_t_ekko-ZZZ.
    ENDIF.
    MODIFY xmcekko.
    ENDLOOP.
    EndCase.
    The compile of the above code works fine and we activated everywhere including project level. Then we set debug points in this code, and run RSA3 on 2LIS_02_ITM, but find the extraction program never reaches this code or call this user exit function EXIT_SAPLEINS_001 of this enhancement LEINS001. Any reason?
    Thanks
    Kevin
    Message was edited by: Kevin Smith

Maybe you are looking for

  • Audio out?

    MacBook Mavericks In System Preferences, Sound, I only have an optical digital out with the red light showing through the headphone port. How can I restore audio out for headphones? Thanks

  • Materialized view with dynamic column names !

    hello, i need some help , i'm trying ( i got no where so far :) ) to create a materialized view that has dynamic field name values , so every time the view is refreshed the fields are renamed. i have been asked to create a decade summary view and to

  • Can;t set up iCloud in Mail with Mavericks

    Hi, I am unable to set up icloud in mail.  II used migration assistant tto migrate from an older macbook pro running mavericks to a new one and for some reason there was an issue with iCloud Mail.  I then tried to add the account and despite no error

  • Internet sales and EP

    Hi everybody, Could anybody tell me the difference between the Internet sales by standard function of CRM and ISA by EP? I mean if I want to build  the webshop(IE),can I only use standard module of CRM5.0  without enterprise protal? If it's possible,

  • Download email on cfpop as msg file

    hello, is there any way to download the email message as .msg file (the master file version of the email) when cfpop reterive the email?