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.

Similar Messages

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

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

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

  • Updating custom field in a standard table - AFVC

    Hi All,
    We have created a custom field in table AFVC. While updating other things related to that Order/Operation, we need to update this custom field.
    Can you kindly let me know how we can approach this? Do we use a direct Modify/update statement in such cases to update the standard sap table?
    Regards
    An

    Hi Ankur,
    There are few ways to do.
    1) Implement the screen field in the transaction at the operation level for visibilty to all the reason code. After updation of USER STATUS you need write the small utlity to update that field through LSMW or any other way to update this field in the transaction directly to save in the database table.
    2) AFVC means orders operation data. In this table many types of order data will store so you have to choose which type of order you are going to update whether it will be Internal order or production order or maintaineance order etc..
    3) Direct updation is last preference if there is no way for updation.
    Please let me know which order cateogry you are updating from thrid party sytem to your current system.
    As J@Y said if you are updating through some function module then in that case for BAPI's there is separate structure EXTENSION_IN and OUT to update the custom fields.
    Thanks,
    Satheesh

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

  • Custom field handling in CATSDB table through BAPI

    Hi,
    I have enhanced CATSDB table using CI_CATSDB. I have added one field QTY of type DEC(4,2).
    to enter timesheet I have written one function as per following code. But system is giving error in statement shown in bold fonts. How to overcome from this problem?
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(EMPLOYEENUMBER) TYPE  HR_PERNR
    *"     VALUE(WORKDATE) TYPE  CATSDATE
    *"     VALUE(CATSHOURS) TYPE  CATSHOURS
    *"     VALUE(WBS_ELEMENT) TYPE  PS_POSID OPTIONAL
    *"     VALUE(ACTTYP) TYPE  LSTAR OPTIONAL
    *"     VALUE(QTY) TYPE  ZLHR_TIME_QTY OPTIONAL
    *"  EXPORTING
    *"     VALUE(CATSRECORDS_OUT) TYPE  TCATSDB_EXT
    *"  CHANGING
    *"     VALUE(RETURN) TYPE  BAPIRET2_T
      DATA:
        wa_catsrecords_in TYPE bapicats1,
        int_catsrecords_in TYPE TABLE OF bapicats1,
        wa_extensionin TYPE bapicats7,
        int_extensionin TYPE TABLE OF bapicats7,
        wa_bapi_te_catsdb TYPE bapi_te_catsdb,
        wa_catsrecords_out TYPE bapicats2.
      wa_catsrecords_in-employeenumber = employeenumber.
      wa_catsrecords_in-workdate = workdate.
      wa_catsrecords_in-acttype = acttyp.
      wa_catsrecords_in-wbs_element = wbs_element.
      wa_catsrecords_in-catshours = catshours.
      APPEND wa_catsrecords_in TO int_catsrecords_in.
      CLEAR wa_catsrecords_in.
      wa_bapi_te_catsdb-row = 1. 
      wa_bapi_te_catsdb-qty = qty.
      wa_extensionin-structure = 'BAPI_TE_CATSDB'.
      wa_extensionin-valuepart1 = wa_bapi_te_catsdb+0(240).
      APPEND wa_extensionin TO int_extensionin.
      CLEAR wa_extensionin.
      CALL FUNCTION 'BAPI_CATIMESHEETMGR_INSERT'
        EXPORTING
          profile         = 'Z_DEMO'
          testrun         = ' '
          release_data    = ' '
        TABLES
          catsrecords_in  = int_catsrecords_in
          extensionin     = int_extensionin
          catsrecords_out = catsrecords_out
          return          = return.

    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.

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

  • Add Custom field of a Z Table in Search structure of Interaction History

    Hi,
    I am trying to add a field in the IC Interaction History. I have enhanced the BOL structure for BTQuery10 and displayed the field in the Web UI. I have implemented the  BADI CRM_RF_SEARCH_EEW, Added entry to CRMC_REPDY for the field.
    But when i enter any value in the Field it is not executing the BADI.  I tried with the Break Point but it has not executed the BADI.
    Please help how to add a Custom field of a Z Table in the Search structure of Interaction History.
    Regards,
    Rajender

    Hi Rajendra,
    You can try this approach.
    You can redefine the genil CL_CRM_BTIL->get_query_dynamic_result method (oneorder) and write the logic only for required object else all the one order objects will be affected.
    Inside the genil modify the search parameters to include additional object id's which corresponds to custom search parameter.
    Check the below logic which is used for activity search based on custom field, in your case modify it with the interaction history object details. Logic is to fetch all the one order object guids based on custom search( via select on custom table) and pass it as input parameter in search.
    DATA :   it_selection_parameters1   LIKE         it_selection_parameters,
                    ls_selection_parameters    LIKE LINE OF it_selection_parameters,
                    ls_selection_param         LIKE LINE OF it_selection_parameters1,
                    lv_attr                    TYPE name_komp.
      DATA:   lt_orderadm_h       TYPE          crmt_orderadm_h_wrkt,
                   it_act_guids        TYPE          crmt_object_guid_tab,
                   lt_requested_obj    TYPE          crmt_object_name_tab,
                   srch_str            TYPE          c                 LENGTH 40,
                  gv_activity_h       TYPE          crmt_object_name  VALUE 'ACTIVITY_H',
                  ls_orderadm_h       LIKE LINE OF  lt_orderadm_h.
    it_selection_parameters1[] = it_selection_parameters[].
      IF iv_query_name EQ 'BTQuery1O'.
        LOOP AT it_selection_parameters INTO ls_selection_parameters.
          CASE ls_selection_parameters-attr_name.
             REPLACE ALL OCCURRENCES OF '*' IN srch_str WITH '%'.
              srch_str = ls_selection_parameters-low .
              IF srch_str CA '%'.
                SELECT ref_guid
                     FROM "Ztable"
                     INTO TABLE it_act_guids
                     WHERE order_typeg LIKE srch_str .
              ELSE.
                SELECT ref_guid
                    FROM  "Ztable"
                    INTO TABLE it_act_guids
                    WHERE order_typeg = srch_str.
              ENDIF.
              INSERT  gv_activity_h  INTO TABLE lt_requested_obj.
              CALL FUNCTION 'CRM_ORDER_READ'
                EXPORTING
                  it_header_guid       = it_act_guids
                  it_requested_objects = lt_requested_obj
                IMPORTING
                  et_orderadm_h        = lt_orderadm_h
                EXCEPTIONS
                  document_not_found   = 1
                  error_occurred       = 2
                  document_locked      = 3
                  no_change_authority  = 4
                  no_display_authority = 5
                  no_change_allowed    = 6
                  OTHERS               = 7.
              IF sy-subrc NE 0.
              ENDIF.
              IF lt_orderadm_h IS NOT INITIAL.
                LOOP AT lt_orderadm_h  INTO ls_orderadm_h.
                  ls_selection_param-attr_name = 'OBJECT_ID'.
                  ls_selection_param-sign   = 'I'.
                  ls_selection_param-option = 'EQ'.
                  ls_selection_param-low    = ls_orderadm_h-object_id.
                  ls_selection_param-high   = ''.
                  IF sy-tabix = 1.
                    DELETE it_selection_parameters1 WHERE attr_name = 'Zttarname'.
                  ENDIF.
                  APPEND ls_selection_param TO it_selection_parameters1.
                  CLEAR:  ls_orderadm_h.
                ENDLOOP.
              ELSE.
                RETURN.
              ENDIF.
      ENDCASE.
        ENDLOOP.
      ENDIF.
      CALL METHOD super->if_genil_appl_intlay~get_dynamic_query_result
        EXPORTING
          iv_query_name           = iv_query_name
          is_query_parameters     = is_query_parameters
          it_selection_parameters = it_selection_parameters1
          iv_root_list            = iv_root_list.
    Hope this helps.
    Cheers,
    Sumit Mittal

  • How to change the lenth of existing field in sap standard table

    Hi all,
    can anybody help,my requirement is, how to change the length of existing field in sap standard table....
    thanks in advance..

    Which field are you thinking of in particular?  Are you wanting to increase or decrease the length?
    Some fields are used so extensively that a change to their length will mean adjusting many tables, some of them potentially very large, and hence taking a long time to adjust.
    Some standard SAP programs expect certain fields to be of specific lengths and won't work if the length is changed.
    Some screens could cease to work.
    If you decrease length, then you could lose data.
    matt

  • Modify the Field Type of standard Table fields in a Query

    Hello. I have a question.
    Is there a way to "modify" the field type for standard table fields that are included in a Query?
    I made a simple query out of a join of tables, but several fields have a lot of decimals, and I would like to present them in the query without any decimals, just as a regular "N" field.
    I tried the possibility of creating extra local fields where all I do is transfer the value to the new "N" field, but I have many fields like this, so if there's a better way; I'd prefer that.
    Maybe somewhere in the InfoSet there's a way to modify the type of the standard table fields?
    Thank you.

    Hi,
    This document may help you out.
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/d2/cb4468455611d189710000e8322d00/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/d2/cb4468455611d189710000e8322d00/frameset.htm]
    Cheers,

  • How Update Custom fields for EABL DB table by using BAPI_MTRREADDOC_UPLOAD

    Hi friends,
    How can I Update Custom fields for EABL DB table by using BAPI_MTRREADDOC_UPLOAD
    for the parameter EXTENSIONIN of type BAPIPAREX
    I am passing the Structure as BAPI_TE_EABL
    in that structure MRIDNUMBER as EABL-ABLBELNR field value
    ZMESSAGE some text of 30 char and
    ZSKIPC of 2 char
    but I am not able to update that data for the MRIDNUMBER (ABLBELNR ) in DB table EABL
    I am getting RETURN Structure message type E
    as
    "Upload interim entries: Maintain one table only"
    Can any one provide me solution
    Thanks in Advance
    Ganesh

    Hi,
    Refer the following SAP notes.
    1. Note 485557 - BAPI_REQUISITION_CREATE: 'EXTENSIONIN' customer enhancements
    2. Note 584902 - BAPI_REQUISITION_CHANGE: ExtensionIn not connected
    3. Note 792132 - EBAN, EBKN: user-defined fields are not filled
    Regards,
    Harish

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

Maybe you are looking for

  • Database Table Resource via Oracle RAC connection Manager

    Hello, Our current IDM 8.1 syncs off a HR Database Table using the Database Table connector. Our DBA's are moving the view into an Oracle RAC environment. Question: Is there a way for us to connect and sync off our DB table through an Oracle RAC conn

  • Cisco PIX 515E multiple ISP support in a VPN scenario

    Iam currently running a cisco 7.2 ios in a Cisco PIX 515E appliance. I have terminated two ISP links in the two ports, and I also have a inside network (LAN). I want to establish 2 Site-Site VPN tunnels using each one of these ISP links respectively

  • Exception "Out of memory" sometimes..

    Hello! I have a web server (a java servlet - vm version 1.4.1_01_b01) that needs about 1024M of memory (i uses the option -Xmx1024M) working with tomcat (3.3.1) over a pentium IV with linux (red hat). When the users uses my server the memory that the

  • Tree View Icons

    Dear All, how can i display the icon in tree view . Thanks...

  • New iMac very slow? why?

    Hi, I have recently bought brand new iMac 21,5" 2,7 Ghz i5 with 8GB ram and 1 TB memory. I have transfered all data from Time Machine backup. And my computer is very very slow with apps, expecialy when it wakes up from sleep. I turn on safari, illust