Idoc Serialization for Transactional data

Hi All,
1. Please let me know if you have done IDOC serialization for Transactional data.
If so please let me know the steps.
2. How do we use serialiazation using object types. If you have done this please let me know the steps for this too.
Thanks for your help.
Srikanth.

Hi Srikanth,
Follow the steps below to set up serialization using object types:
1.       In the SAP menu choose ® IDoc Interface/ALE ® Development ® BAPI ® Serialization ® Serialization Using Business Objects ® Determine Supported Business Objects (transaction BD105). Enter all the business object types relevant for serialization.
2.       In the SAP menu choose ® IDoc Interface/ALE ® Development ® BAPI ® Serialization ® Serialization Using Business Objects ® Assign Message Type to a Business Object (transaction BD104). Assign the message types relevant for serialization to each business object type.
3.       In Customizing (IMG) activate the serialized distribution in both the sending and receiving systems:
ALE Implementation Guide (transaction SALE)
Modeling and Implementing Business Processes
Master Data Distribution
Serialization for Sending and Receiving Data 
Serialization Using Business Objects
Execute activities Activate Outbound Business Objects and Activate Inbound Business Objects. Set the Serialization flag for the required business object types.
If you want to do serialization by message type then
1. go to BD44 and create a serialization group and assign messages and the serial number to each.
2. Run the program RBDSER01.
Award points if useful,
Aleem.

Similar Messages

  • IDOC/ BAPI for transaction FB60

    Hi Experts,
    Can anybody tell me IDOC/ BAPI for transaction FB60 for document type (KR = Original Invoice).
    Thanks

    Hi Venkata,
    Please refer below code, this works similar to FB60.
    REPORT z_bapi_test.
    *REPORT acc_bapi_test_document .
    SELECTION-SCREEN BEGIN OF BLOCK bl01 .
    PARAMETERS:
    check_l RADIOBUTTON GROUP rb1,
    check_a DEFAULT 'X' RADIOBUTTON GROUP rb1,
    post RADIOBUTTON GROUP rb1.
    SELECTION-SCREEN ULINE.
    PARAMETERS:
    rev_c RADIOBUTTON GROUP rb1,
    rev_p RADIOBUTTON GROUP rb1.
    SELECTION-SCREEN ULINE.
    PARAMETERS:
    ref_key LIKE bapiache01-obj_key DEFAULT 'TEST000001BAPICALL',
    dest LIKE bdi_logsys-logsys DEFAULT ' '.
    SELECTION-SCREEN END OF BLOCK bl01 .
    DATA:
    gd_documentheader LIKE bapiache09,
    gd_customercpd LIKE bapiacpa09,
    gd_fica_hd LIKE bapiaccahd,
    it_accountreceivable LIKE TABLE OF bapiacar09 WITH HEADER LINE,
    it_accountgl LIKE TABLE OF bapiacgl09 WITH HEADER LINE,
    it_accounttax LIKE TABLE OF bapiactx09 WITH HEADER LINE,
    it_criteria LIKE TABLE OF bapiackec9 WITH HEADER LINE,
    it_valuefield LIKE TABLE OF bapiackev9 WITH HEADER LINE,
    it_currencyamount LIKE TABLE OF bapiaccr09 WITH HEADER LINE,
    it_return LIKE TABLE OF bapiret2 WITH HEADER LINE,
    it_receivers LIKE TABLE OF bdi_logsys WITH HEADER LINE,
    it_fica_it LIKE TABLE OF bapiaccait WITH HEADER LINE,
    it_accountpayable LIKE TABLE OF bapiacap09 WITH HEADER LINE,
    it_paymentcard LIKE TABLE OF bapiacpc09 WITH HEADER LINE,
    it_ext LIKE TABLE OF bapiacextc WITH HEADER LINE.
    it_re LIKE TABLE OF bapiacre09 WITH HEADER LINE,
    it_ext2 LIKE TABLE OF bapiparex WITH HEADER LINE.
    PERFORM fill_internal_tables.
    IF check_l = 'X'.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
    DESTINATION dest
    EXPORTING
    documentheader = gd_documentheader
    customercpd = gd_customercpd
    contractheader = gd_fica_hd
    TABLES
    accountgl = it_accountgl
    accountreceivable = it_accountreceivable
    accountpayable = it_accountpayable
    accounttax = it_accounttax
    currencyamount = it_currencyamount
    criteria = it_criteria
    valuefield = it_valuefield
    extension1 = it_ext
    return = it_return
    paymentcard = it_paymentcard
    contractitem = it_fica_it.
    extension2 = it_ext2
    realestate = it_re.
    WRITE: / 'Result of check lines:'. "#EC NOTEXT
    PERFORM show_messages.
    ENDIF.
    IF check_a = 'X'.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
    DESTINATION dest
    EXPORTING
    documentheader = gd_documentheader
    customercpd = gd_customercpd
    contractheader = gd_fica_hd
    TABLES
    accountgl = it_accountgl
    accountreceivable = it_accountreceivable
    accountpayable = it_accountpayable
    accounttax = it_accounttax
    currencyamount = it_currencyamount
    criteria = it_criteria
    valuefield = it_valuefield
    extension1 = it_ext
    return = it_return
    paymentcard = it_paymentcard
    contractitem = it_fica_it.
    extension2 = it_ext2
    realestate = it_re.
    WRITE: / 'Result of check all:'. "#EC NOTEXT
    PERFORM show_messages.
    ENDIF.
    IF post = 'X'.
    DATA: l_type LIKE gd_documentheader-obj_type,
    l_key LIKE gd_documentheader-obj_key,
    l_sys LIKE gd_documentheader-obj_sys.
    IF dest = space OR
    dest = gd_documentheader-obj_sys.
    post synchron
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
    EXPORTING
    documentheader = gd_documentheader
    customercpd = gd_customercpd
    contractheader = gd_fica_hd
    IMPORTING
    obj_type = l_type
    obj_key = l_key
    obj_sys = l_sys
    TABLES
    accountgl = it_accountgl
    accountreceivable = it_accountreceivable
    accountpayable = it_accountpayable
    accounttax = it_accounttax
    currencyamount = it_currencyamount
    criteria = it_criteria
    valuefield = it_valuefield
    extension1 = it_ext
    return = it_return
    paymentcard = it_paymentcard
    contractitem = it_fica_it.
    extension2 = it_ext2
    realestate = it_re.
    WRITE: / 'Result of post:'. "#EC NOTEXT
    PERFORM show_messages.
    ELSE.
    create Idoc
    it_receivers-logsys = dest.
    APPEND it_receivers.
    CALL FUNCTION 'ALE_ACC_DOCUMENT_POST'
    EXPORTING
    documentheader = gd_documentheader
    customercpd = gd_customercpd
    contractheader = gd_fica_hd
    TABLES
    accountgl = it_accountgl
    accountreceivable = it_accountreceivable
    accountpayable = it_accountpayable
    accounttax = it_accounttax
    currencyamount = it_currencyamount
    criteria = it_criteria
    valuefield = it_valuefield
    extension1 = it_ext
    paymentcard = it_paymentcard
    contractitem = it_fica_it
    extension2 = it_ext2
    realestate = it_re
    receivers = it_receivers
    COMMUNICATION_DOCUMENTS* APPLICATION_OBJECTS EXCEPTIONS
    error_creating_idocs = 1
    OTHERS = 2 .
    IF sy-subrc = 0.
    WRITE: / 'IDoc created'. "#EC NOTEXT
    ELSE.
    WRITE: sy-msgid.
    ENDIF.
    ENDIF.
    ENDIF.
    IF rev_p = 'X' OR rev_c = 'X'.
    DATA: rev LIKE bapiacrev,
    rev_key LIKE ref_key.
    rev_key = ref_key.
    rev_key(1) = 'R'.
    rev-obj_type = gd_documentheader-obj_type.
    rev-obj_key = rev_key.
    rev-obj_sys = gd_documentheader-obj_sys.
    rev-obj_key_r = ref_key.
    IF rev_c IS INITIAL.
    IF dest = space OR
    dest = gd_documentheader-obj_sys.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_POST'
    EXPORTING
    reversal = rev
    bus_act = gd_documentheader-bus_act
    TABLES
    return = it_return.
    ELSE.
    it_receivers-logsys = dest.
    APPEND it_receivers.
    CALL FUNCTION 'ALE_ACC_DOCUMENT_REV_POST'
    EXPORTING
    reversal = rev
    busact = gd_documentheader-bus_act
    OBJ_TYPE = 'BUS6035'
    SERIAL_ID = '0'
    TABLES
    receivers = it_receivers
    COMMUNICATION_DOCUMENTS* APPLICATION_OBJECTS EXCEPTIONS
    error_creating_idocs = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ELSE.
    WRITE: / 'IDoc created'. "#EC NOTEXT
    ENDIF.
    ENDIF.
    ELSE.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_CHECK'
    EXPORTING
    reversal = rev
    bus_act = gd_documentheader-bus_act
    TABLES
    return = it_return.
    ENDIF.
    WRITE: / 'Result of Reversal Posting:'. "#EC NOTEXT
    PERFORM show_messages.
    ENDIF.
    COMMIT WORK.
    Kindly close if it helps you.
    Regards
    Abhii...

  • Data Type field read only in Data source for transaction data (PC_FILE)

    Hi folks,
    I need to change Data Type for some of the fields in "Field" tab in data source for transactional data. It became read only after I activate the data source. Need help in making it editable. All fields now have Data type=CHAR.
    Thanks

    Nevermind folks. I got it.

  • ALE Configuration for Transactional Data (Purchase Order)

    Dear Experts,
    I want to configure ALE for Purchase Orders(Transactional Data).
    For that:
    I have done neccessary Condition  Records at NACE with necessary Output Type Configuration. Configured Port and Partner Profile with Message Types: ORDERS and ORDECHG (as Outbound Parametrs) .Assigned those Message Types against defined Sender and the Receiver at Customer Distribution Model . Configured Port and Partner Profile at the Receiver System also.
    Now I have 2 queries.
    i) Is this much of ALE configuration is enough for Transactional Data for communication between 2 systems or I have to do something more?
    ii) For Master Data we configure Change Pointer(we can see field assignments against Change Document Object at BD52 for Master Data Messaage Types) . Is it necessary to configure Change Pointer for Transactional Data or it will autometically handled by the system(field assignments cannot be seen against Change Document Objects at BD52 for Transactional Data Messaage Types)?
    Regards
    Arnab

    Hi kumar,
    what Alexander  said is absolutely correct .
    from your second question no master data distribution configuration is required for the transactional data distribution.  
    let us know once if you face any problems.
    ~linagnna

  • CMOD exit_rsap_saplr_001 for transactional data ABAP CODE

    Hi please confirm that you want to convey that i can write the actual code in CMOD exit_rsap_saplr_001 for transactional data?? if i put 20 data sources enhancement code in there is'nt that too bulky and will cause the failing all extractor if one code is wrong if you still suggest that i can go ahead with 20 similar codes as below . please see my code below which i have used for all 20 datasources with little modification
    if you can recommend some changes in code to improve performance would be great
    case i_datasource.
    WHEN '0CUSTOMER_ATTR'.
    loop at i_t_data into l_s_BIW_KNA1_S.
    l_tabix = sy-tabix.
    clear i_knvp.
    select single * from KNVP into i_knvp where KUNNR = l_s_BIW_KNA1_S-KUNNR.
    if sy-subrc = 0.
    l_s_BIW_KNA1_S-ZZPARFN = i_knvp-PARVW.
    l_s_BIW_KNA1_S-ZZCUSNOBP = i_knvp-KUNN2.
    modify i_t_data from l_s_BIW_KNA1_S index l_tabix.
    endif.
    endloop.
    endcase.
    Thanks
    Poonam

    Check this simple code for Z...include into the FM EXIT_SAPLRSAP_001 where zcomp is new field added into the datasource 8zsales2.
    data : l_s_/BIC/CE8ZSALES2 like /BIC/CE8ZSALES2,
    l_tabix like sy-tabix.
    case i_datasource.
    when '8ZSALES2'.
    loop at c_T_DATA into l_s_/BIC/CE8ZSALES2.
    l_tabix = sy-tabix.
    fill the new field
    select comp_code from /BI0/MCOMP_CODE into l_s_/BIC/CE8ZSALES2-zcomp
    where comp_code = '1000'.
    if sy-subrc = 0.
    *l_s_ZFIAA_IS001_TXT50 = ANLA_TXT50.
    modify c_t_data from l_s_/BIC/CE8ZSALES2 index l_tabix.
    endif.
    endselect.
    endloop.
    endcase.
    Edited by: Rohan Kumar on Jan 16, 2008 8:21 AM

  • Problem in data sources for transaction data through flat file

    Hello Friends,
    While creating the data sources for transaction data through flat file, I am getting the following error "Error 'The argument '1519,05' cannot be interpreted as anumber' while assigning character to application structure" Message no. RSDS016
    If any one come across this issue, please provide me the solution.
    Thanks in Advance.
    Regards
    Ravi

    Hallo,
    just for information.
    I had the same problem.
    Have changed the field type from CURR to DEC and have set external instead of internal.
    Then, the import with flatfile worked fine.
    Thank you.

  • Issue with CIF Integration model for Transaction data

    Hi Gurus,
    I have activated the Integration model for PO & PReqs by location wise and i assumed that transaction data is online and we need not to re activate for any new Product / location combination got created in system.
    But the issue is that every time a new material got created, we need to deactivate and activate the integration model for Transaction data to get the transaction data into APO.
    Is there any way to avoid the following exercise as it is taking very long time for activation.
    Please guide me as it is very urgent.
    Thanks for help in advance...
    Thanks & Regards,
    Jagadeesh

    I assume 1,60,000 location products are spread around different locations.
    Rather than one Integration Model it is better to have multiple Integration Models.
    For example: one for each region like North America, one for Europe, one for Asia (assuming you have countries spread across the world). Or create Intgeration Model by Country.
    This way you reduce the number of Products in an Integration Model.
    It is very important to have manageable set of Integration Models. Let me give an example - you have some problem hence the single Material Master Integration Model is down (inactive). At that time any PP or PDS transfer will not have the Header or COmponent products transferred to APO (in effect PDS/PPM cannot be transferred). If you are creating or converting Planned Orders they will not transfer to R/3 (as Header product is not part of active intgeration model).
    But if you have country spefic or region specific Integration Model - only that country is affected not all.
    In fact you should have other integration model (like PDS/PPM, Procurement Relationships, Planned / Production Orders, Sales Orders, Stocks) in same manner i.e. either Country(s) specific or group of countries by region. The risk of models getting inactive or taking too much time to activate after regeneration easily outweighs management of more number of Integration Models (compared to one Global integration model per object).
    Hope this gives you some direction.
    Somnath

  • Modeling "Status" for transaction data in a cube

    Hello all,
    I saw this thread created sometime ago about putting status in a cube.
    How to model Status filed
    I would like model a status of transactions within a cube. One suggestion was to just create a CHAR characteristic of a certain length (I assume this would be in the E and F fact tables and not with the master data at all).
    To me, this would mean that if the status changed, a whole new row would have to be loaded - and the old row removed? Would one use some kind of selective deletinon?
    It seems that a navigational attribute would be best placed in the E/F fact tables.
    Best Regards,
    Casey

    @kkc - thanks for the reply but I already knew about the E and F fact tables - I just did not know that compression takes care of the status field
    @Wond - Above you said "Yes it will be a whole new record will be sitting in the cube, once the status changes the cube will have three records when doing compression the two will wipe out itself and you will remain with one."
    So how does it decide which record stays around? By the loading date? Also, is there any good documentation out there that would say this?
    Thanks a lot!
    PS - I also found this thread but it speaks of the ODS and using 0RECODMODE (it does not say how to set this with the new  BI 7.0 and the "Transformations"/"Data Transfer Processes")
    Modeling "Status" for transaction data in a cube
    Edited by: Casey Harris on Feb 29, 2008 11:28 AM

  • How to check IDOC Serialization for custom idoc

    In one of my interfaces, we are receiving idocs ARTMAS, INFREC, COND_A and ZMD_ARTHIER in ECC system.Last one is customized one in which basically we have to assign one article to an article hierarchy. So this idoc will contain only article no, hierarchy id and node level in which article will be assigned.
    Now here we have to implement idoc serialization so that if ARTMAS in any case fails then INFREC, COND_A and ZMD_ARTHIER idocs should not be posted. We will be using RBDSER04 program for inbound processing.
    My concern is that whether we have to do any special coding for serialization check in custom function module for the last idoc ZMD_ARTHIER.
    If yes, please please let me know how to do handle that in custom inbound function module.
    Edited by: suman pandit on May 19, 2009 10:47 AM

    Hi,
    you need to create a serialization group (in customizing) and assign all the IDocs (in specific order) to this group incl. your custom IDoc.
    When data is transfered first a SERDAT01 IDoc will be sent, after this your IDocs have to follow in specific order. At last again a SERDAT01 follows and triggers the processing in the destination system.
    Regards,
    Kai

  • How to call Attributes in the routine for transaction data

    Dear Pros,
    I have a condition that i have an additional Info object to be filled with a value such as
    i have plant and material in the transaction data,
    Distributional channal --> attribute of 0plant
    Zmatentry --> attribute of 0material.
    I WANT TO CALL DIST CHANNAL & ZMATENTRY IN RSDS TRANSFORMATION AND USE TO FILL ZCOMPINCH
    code is similar to
    if SOURCE_FIELDS-DISTR_CHAN eq '01'.
    Zcompinch = fill with comp code
      RESULT = SOURCE_FIELDS-COMP_CODE.
    or Zcompinch = fill with Zmatentry from attribute of 0material
      ELSE.
      RESULT = SOURCE_FIELDS-/BIC/ZMATENTRY.
      ENDIF.
    THANK YOU

    Hi,
    DATA: BEGIN OF t_batch OCCURS 0,
         material LIKE /BIC/AZIC_O0600-material,
         plant LIKE /BIC/AZIC_O0600-plant,
         stor_loc LIKE /BIC/AZIC_O0600-stor_loc,
         batch LIKE /BIC/AZIC_O0600-batch.
          END OF t_batch.
    SELECT MATERIAL PLANT STOR_LOC BATCH FROM /BIC/AZIC_O0600 INTO t_batch for all entries in DATA_PACKAGE
    WHERE
    material = DATA_PACKAGE-material  and
    plant    = DATA_PACKAGE-PLANT     and
    stor_loc = DATA_PACKAGE-stor_loc.
    ABORT = 0.
    "This code is at field level routine.
    SORT t_batch by material batch stor_loc.
    Read table t_btach with key material = COMM_STRUCTURE-material
                                plant    = COMM_STRUCTURE-plant   
                                stor_loc = COMM_STRUCTURE-stor_loc.
    "In the above code I'm reading the data from t_btach table, t_btach is already filled based on DataPackage at Start Routine level.
    "In my case it is working fine, so try it take ABAPer help.
    If sy-subrc = 0.
      RESULT = t_batch-PLANT.
    else.
      RESULT = ''.
    endif.
    ENDIF.
    ENDLOOP.
    Thanks
    Reddy

  • Idoc Type for Organization Data

    Hi,
    I need to send Organization Data details through Idoc, those are
            Company Code
            Controlling Area
            Business Area.
    Can anybody give IDOC type for above requirement. Thanks inadvance.
    Regards,
    Venkat

    Dear Mohan,
    Thanks for your valuable time and information.
    That Idoc type u given is for Cost Centre master data. We found this through T.code BD16.
    Can you give info Reg. Company Code, Business Area etc.
    Regards,
    Venkat

  • Data is not available for Transaction Data Source 3EC_CS_1A,

    0ECCS_C01 Transaction Data, Consolidation Technical Name: 0EC_CS_1
    Based on DataSource: 3EC_CS1A
    Thanks
    Bhima
    Message was edited by: Bhima Chandra Sekhar Guntla

    Hi Bhima,
    I have been working on this 3ES_CS_1A datasource for a while, still can't get it going even with the fiscal period input as instructed from  your method below, I am wondering if I have missed anything else that are required as input. After entering the specific fiscal format then the "Errors occurred during the extraction
    " error screen is prompted.
    We are implementing BW 7.0, currently on SP09 with BI 7.0 content installed, I have generated all the datasources 3EC_CS_1, 3EC_CS_1A and R via T-Code "FCIWCU00 - Generate DataSources ".
    Any help would be highly appreciated.
    Cheers.

  • Idoc serialization for vendor and address master

    Hi friends,
    My gole is to transfer vendor master data from one sap ecc system to other ecc through PI.
    I have achived this but the gmail and address data is not transfering as this is not a part of vendor master but even this address data need to passed to receiver system when ever there is change and creation of vendor.
    Then i refered note Note 752194 - Serialization of IDoc processing and few threads in sdn ..
    i am trying to do this serialization but i am facing issues to trigger idocs.
    first this is the way we need to achive this.
    if so adrmas is of type bapi so how can we group using Serialization Group of mesage type ..
    guide me how to achive this.
    And my vendor message type is customized one with zcremas_Xxx.
    Regards
    Vijay
    Edited by: vijay Kumar on Dec 16, 2010 6:48 AM

    Hi Vijay,
    I am not sure whether you are active in SDN or not. I need your help in IDOC serialization
    I have the same requirement like you here I need to Post ADRMAS and CREMAS. I am able to generate both the idocs succefully but the ADRNR is not assigned to the created Vendor. I might be missing something in config or in code.
    Please reply to this thread and help me.

  • RDA for Transactional Data Changes (But needs to load as Master Data to IO)

    Hi,
        I would like to use RDA to load Data changes into IO (Not for DSO).
    I tried using this, i can able to load data into PSA. But, from PSA to IO, No datapackage is getting transfered. i.e. Transfered records = 0.
    We considered several options i.e. remote cubes etc. We need to implement RDA.
    Note: I have gone through the Documentation on RDA. Which SAP mentioned, RDA won't support for Master Data if we have aggregates. We don't have any Aggregates build on my cubes.
    Thanks in advacne!!!
    Nagesh Ganisetti.

    RDA DTP is used for supplying data to the Data Store Objects but not to the Master data infoobjects...
    Please follow the links to get to know more on this..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f98e07cc483255e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/fa50e40f501a77e10000000a422035/content.htm
    thanks
    hope this helps..

  • CRM Table for Transactional data

    Hi experts,
    I m looking for a Table in CRM where i'll get all the transaction related data(i.e.All partners, products, status, process types etc) like we have FM CRM_ORDER_READ from this we can get all the tranaction related data.
    Thanks to you !!!!
    Vivian

    Vivan,
    The answers above are correct, CRM does not store all the data in one table like ERP.  As far as the factsheet the data is stored across several different areas.  So you need to tell us what part of the factsheet data you are looking for and you might get an answer.
    In the future please do a search before asking, or make sure your question is more detailed as your original question was too broad for anyone to provide a reasonable answer.
    Thank you,
    Stephen

Maybe you are looking for

  • Link to Web Analyzer from rsrt or query designer does not work.

    If I start with the transaction RSRT a query in the Java Web would get the following error message: Java Runtime Error But if I had started earlier browser, the portal there is no problem. Is this a SSO problem? The same problem I have when I would r

  • Need help with my usecase based on transient ViewObject

    I am using 11.1.1.4.0 Jdev version. I need help with my usecase.Been trying it for 2 days but couldn't figure out the issue. I have a transientVO . In this VO Rows will be populated programmatically. CountryId is an attribute of this VO. I have creat

  • Upgrading from a 20" G5 to Intel Quad Core

    I'm considering the purchase of a new iMac 27". I'm wondering if most of my work on this computer is transferable, photos, movies, Appleworks, Final Cut Express 3.5.

  • How do I get rid of iCloud spam

    I've recently been receiving ban enormous amount of spam from my iCloud mail account. What can be done about this?

  • Modify contents of .htm file

    I have a .htm file that contains hundreds of links. If I hover the mouse over each link I can see the contents of that link. I want to change a constant in each for these links from "aaa" to "bbb". Is there a way to do this? What tool would I use to