TESTING IDOC SERIALIZATION

Hi,
i want to test the idoc serialization . For that we  send 2 idocs
-> In both IDOC Partner Profile we maintained the RULE(inturn attacted to Function Module and Gave Queue name).
For testing purpose we kept the error in the First IDOC so that 2nd IDOC gets Scheduled.
After sending two idocs in MONI when i check Queue that is generated for both the IDOCS is same But the Queueid is Different.
Why Queueids are Differently generated ...
Result : 2nd IDOC is Success ...(As per my requirement it must be Scheduled).
In MONI :
QUEUE/SEQUENCE - QUEUENAME(SAP_QUEUE). -  Same for Both IDOCS.
QUEUEID    -    XBQOH__SAP_QUEUE    -     For First IDOC
QUEUEID    -  SAP_ALE_SAP_QUEUE     -    For Second IDOC

Providing a unique serialVersionUID obtained from serialver command to the Serilizable Class that is being serialized. So even if the Class structure changes a bit, the object is still eligible for Deserialization
Providing a readObject method for that Class
- When the Class is reconsituted with extra fields, that field in the Object to be deserialized will be intialized to default value. u can add class-specific intilization in this method.
- Also for small validation if neccessary
- Helps to handle some Compatible Changes: http://java.sun.com/j2se/1.4.1/docs/guide/serialization/spec/version.doc8.html

Similar Messages

  • How To Test Idoc To File Scenario in ID From Tools- Test Configuration

    Hi All,
    Can any body help me in step by step process including screenshots for testing Idoc to file scenario in integration directory from tools->test configuration.
    My scenario is passing the PO Idoc data from R/3  into a file  using XI.
    i have processed the idoc from R/3  and now i went to sxmb_moni in XI system and took the payload xml data.
    In ID I have navigated to test configuration from tools then i have provided the following information.
    Sender Service  : Business system of R/3 b'coz here R/3 is the sender.
    Sender Interface : ORDERS.ORDERS6
    Receiver Service : Business system of XI b'coz here XI receives the data and         places it into a file
    In payload text box i have copied the xml code which i have taken from sxmb_moni and clicked the run button. then i got the following error:
    Sender Agreement
    Internal Error
                     HTTP connection to ABAP Runtime failed.
                     Error: 403 Forbidden
                     URL: http://bxdci.boewe.custservice.de:8093/sap/xi/simulation?sap-client=100
                     User: PIDIRUSER
    Kindly look into it and correct me if iam wrong or is there any other way to test this scenario in ID please suggest.
    Thanks & Regards,
    Venkat

    Hi Venkat,
    Specify the test confisuration as follows.
    <b>Sender</b>
    Service   : Business System of SAP R/3 System
    Interface : The outbound message interface name of type the IDOC.
    Namespace : will automatically loaded when u select the Interface. Check if it the correct namespace.
    <b>Receiver:</b>
    Service  : Business System name for the Fle system.
    Paste the payload that u copied from the sxmb_moni.
    Now click on Run and test ur Scenario.
    Was the scenario sucessfull in the Message Monitor.
    Regards
    Santhosh

  • Idoc serialization by Time Stamp

    Hi,
    I have a need to use Idoc serialization by Date and Time, but from what I noticed the existing program 'RBDAPP01' will automatically turn on serialization by date and time stamp once the field EDIDC-SERIALIZATION is used.My understanding on serialization by Date and Time is as follows:
    Once the Serialization object is defined for a unique key (By defining Serialization in 'BD95' and 'BD57'), the function 'IDOC_SERIALIZATION_CHECK' is called in inbound function module for the idoc to see if there is already a record processed for the same key (via table BDSER), and if it is then any Idoc with a time stamp less than the one in BDSER comes for processing it gets an error.
    Now my questions is what is the purpose of defining the configuration for Serialization by going to 'BD95' and 'BD57' when RBDAPP01 is already doing the same?
    Also please correct me if I there is any flaw in my understanding.
    Thanks in advance.

    Hi,
    Based on what I understood from some SAP documentations (I am not 100% sure though), RBDAPP01 talks about IDoc serialization & the other transactions talks about ALE Serialization. Both are different as I understood from SAP documentation. And ALE serialization is used when you try to send a set of data. LIke material master, classification data. And you can link/serialize these different message types to make sure first material master idoc is processed & after that classificaiton idoc. And IDoc serialization is used to make sure the idocs (same message type) are processed in the same order by using field EDIDC-SERIAL. Something like date/time stamp can be used for this.
    Regards,
    Gokul

  • HRMD_A IDoc Serialization Help

    Hi,
    I have a client that wants to activate IDoc serialization for HRMD_A. They have a global system that sends HR master data to multiple regional systems, MDM and SRM.
    The requirement is to serialize the IDocs for all regional systems, but not for MDM or SRM.
    My understanding is that we would need to activate both outbound and inbound serialization through SALE->Modelling and Implementing Business Processes->Configure Predefined ALE Business Processes->Human Resources->Master Data Distribution->Serialize HR Master Data.
    We would activate outbound in the global sending system, and inbound in each regional target system, but not in MDM or SRM.
    By activating serialization, will it activate for HRMD_A only, or for HRMDA_ABA as well?
    We would then need to make sure that the serialization counters are all initialized in both source and target systems. We can do this with transactions RE_RHALE_HRMDRGOUT and RE_RHALE_HRMDRGIN.
    Please correct me if any of the above is incorrect?
    Once serialization is activated, how will this effect the system? If for example an IDoc is sent with 100 objects, and one fails, then what status will the IDoc go into? Will all other objects process correctly? How would the error object affect subsequent IDocs?
    What steps need to be taken in order to resolve the following potential IDoc errors:
    - Change for person xxxxxxxx extends too far into past
    Delete IDoc? What to do with counters?
    - Object 01 ,z ,xxxxxxxx does not exist: infotype 1001 cannot be created.
    Resend missing objects with PFAL and then reprocess IDoc?
    - Relationship starting from 01 y xxxxxxxx impossible u2013 01 w zzzzzzzz does not exist/is not active.
    Resend missing objects with PFAL and then reprocess IDoc?
    - Personnel number xxxxxxxx is locked
    Will this sort itself out, or do we need to manually reprocess the Idoc?
    - Payroll area yy is locked for master data maintenance.
    Reprocess the IDoc after payroll areas is unlocked?
    Thanks very much for your help
    Edited by: David Bann on Sep 22, 2011 4:52 PM

    Hi,
    If change pointers are to be written for custom fields then the change document flag  at the domain level should be checked for that field. Then maintain an entry for this field in transaction BD52. Object name will be the same as the original fields. Changes to custom fields will be only picked if the change document for such fields is maintained in table BDCP.
    Try now!
    Reddy

  • IDOC Serialization issue.

    Hi,
    I tried to do IDOC serialization using this blog
    /people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi
    But in this blog its says to create a queue processing rule using WE85 transaction.
    My system is not as WAS 6.40, so when i tried to run WE85 transaction, it says transaction doesn't exist. SAP system is of enterprise version 4.7 (WAS 6.2)  and it doesn't have WE85.
    What is an alternative to this and how to achieve IDOC serialization.
    Thanks,
    Swapna

    Hi,
    http://help.sap.com/saphelp_nw04/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    The link above which has detail help on serialization.hope this helps.Pls check whether this helps.
    Regards,
    Sharath

  • Test IDOC inbound processing in WE19

    Hello,
    I want to test an inbound processing for an IDOC in WE19. I don't have any message so i enter 'via message type' in the initial screen.
    Then i fill the segments/fields of the presented segments that i think are necessary and also some data in the 'Edit control record fields'.
    But when i click on button 'Standard inbound' i receive the error message 'Initial recipient partner type'. Please note I don't fill any parameter in the control fields for receiver, but even if I enter a value in 'partner type' for receiver I got the same error. If I need to fill this parameter I don't know what should it contains.
    Does anyone have an idea about what could be the reason of this error ?
    Thanks is advance,
    Paulo Sousa

    Hello Paulo
    Recently I implemented an ALE scenario where the sending and receiving logical system are the same.
    Purchase orders are sent to SAP-XI which returns the IDoc to the same logical system als sales order IDoc.
    Thus, our logical system has the ORDERS message type as outbound and inbound parameter. SAP-XI is the other receiving and sending logical system.
    The easies way is the "Copy&Paste" approach. Look into your system for existing inbound IDocs and compare their control record with the one of your test IDoc.
    Regards
      Uwe

  • Test idoc SALESORDER_CREATEFROMDAT201

    i have run this test idoc as inbound idoc using we-19 transaction(test tool for idoc).. when im filling the data into the segments it is asking to enter shipt-to-party or sold-to-party details..but i cannot find these fields in any of the segments..so can any one solve this...can i know what are the mandatory segments in this idoc.
    BASIC TYPE        : SALESORDER_CREATEFROMDAT201
    MESSAGE TYPE : SALESORDER_CREATEFROMDAT2

    Hi,
    I checked idoc definition in WE30 and could not find any segment defined as a mandatory segment.
    Which function module are you using to process the idoc using WE19 test transaction?
    KR Jaideep,

  • 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 enable IDOC serialization at message type level

    Hi,
    I am trying to enable IDOC serialization at message type and i am unable to achieve the desired results.
    SETTINGS DONE:
    I have done the settings required under SALE trsanaction
    ALE IMG (transaction SALE)
       Model and Implement Business Processes
          Configure Master Data Distribution
              Set-Up Data for Sending and Receiving Serialization
                  Serialization by Message Type
    I have done the settings in both the receiving system and the sending system.
    PROBLEM:
    I am trying to send the Material classification first and then followed by Material class and then try to send the material itself to the other system. Since the serialization is enabled in the system, i was expecting that there should not be any errors.
    But since the material classification IDOC is posted first it throws an error saying the Material Class does not exists. Since the serialization is enabled in the system i was expecting that the system would ensure that it post the Matrial class first and then post the material classification. I mean it would post in the order in which i have defined in the serialization.
    Settings at Partner Profile.
        - I have set the trigger in background for all the message types except the SERDAT message type which is set trigger immediately.
    Any idea what i am missing? Any suggestions on what needs to be done to ensure that the idoc is posted in serialization?
    Edited by: Workflow  learner on Jun 4, 2008 1:21 PM

    Hi,
    Create a custom transaction for PO Print & make the necessary changes as per your requirement  In the custom program which you attach to the custom transaction you can put a validation to display the price based on user ID or some other parameters.
    Thanks & Regards,

  • File XI IDOC (Serialization )

    Hi Experts
    i have this scenario : A csv file is coming from the 3rd party and is converted into idoc at Pi and being updated in R/3 system.
    i have been going through blogs, where i noticed "serialization " . what is meant by "serialization "? All the blogs were discussing the scenario as" IDOC > XI > FILE". For my scenario should we use the "serialization ".
    thanx in advance

    Hello...
    Have you checked the replies in this thread:
    When IDoc Serialization is required ?
    >>All the blogs were discussing the scenario as" IDOC > XI > FILE". For my scenario should we use the "serialization ".
    Your scenario is file to IDoc right? So if you are planning to create one file from one IDoc then no need of serialization (as each file will be creating only 1 idoc)
    But if you want a single file to create multiple IDoc, then you may want to serialize the Entry of IDocs into ECC
    Regards
    Suraj

  • When IDoc Serialization is required ?

    Hello,
    IDoc's are serialized in master data distribution.
    When IDoc serialization by IDoc adapter is required and also when ALE serialization of IDoc's is requried?
    Is it necessary to tune on both of the above at the same time or any one?
    In which scenario both serialzation technique is tuned on?
    Please shed me some lights on this with business cases.
    Regards,
    Thiyagu

    Hi,
    Please check this link for example program.
    http://help.sap.com/saphelp_nw04/helpdata/en/78/2175a751ce11d189570000e829fbbd/content.htm
    Also, check out
    Checkout
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a66d6507d11d18ee90000e8366fc2/content.htm
    http://www.sapfans.com/forums/posting.php?mode=quote&p=383070&sid=3907f12b866299cc7e2e3e9728674ef3
    Check if the above links helps...
    Regards,
    Swetha.

  • IDOC Serialization & Synchronous Scenarios with AAE

    Hi Folks,
    I have queries reg Advanced Adapter Engine (AAE):
    1) Can we  do the Synchronous scenarios through AAE.
    2) How can i do the IDOC serialization. How AAE helps in that.
    Am using PI 7.3 ...Can you please mention the possibilites for the above queries.
    Thank you!!
    Regards,
    Sekhar

    MDM Learn wrote:
    Hi Folks,
    >
    > I have queries reg Advanced Adapter Engine (AAE):
    >
    > 1) Can we  do the Synchronous scenarios through AAE.
    Already supported as part of 7.1 / 7.11 so dont see any problem here
    >
    > 2) How can i do the IDOC serialization. How AAE helps in that.
    >
    > Am using PI 7.3 ...Can you please mention the possibilites for the above queries.
    >
    > Thank you!!
    >
    > Regards,
    > Sekhar
    the above should be very much supported if you are using the Java IDoc adapter. For serialization use qRFC in SAP partner profile

  • IDOC Serialization in PI

    I have the scenario from ECC to ECC where communication will be between Idocs to idocs.
    The Idocs involved in this process are ADRMAS,ADR2MAS,ADR3MAS,CREMAS,SERDAT  from source to target system.
    I have the requirement like need to send the idocs in the Prioritization order like below from PI to target system.
    ADRMAS
    ADR3MAS
    ADR2MAS
    CREMAS
    SERDAT
    Can i do the Prioritization before coming idocs to integration engine? if not how to set the serialization order in PI ?
    Quick response would be appreciated?

    You can do the IDoc serialization at the sender side
    two things
    If you want the Integration Server to process the IDoc XML messages created by the IDoc adapter in the same sequence that the IDocs are sent by your application
    If you want the receiver to receive the IDocs in the same sequence that they are sent by the Integration Server using the IDoc adapter, proceed as follows:
    Check the link might be of help to you
    at SAP TECHNICAL SITE :/Tutorials/ALE/Serialization/page1
    When IDoc Serialization is required ?
    http://help.sap.com/saphelp_nw04/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    Regards
    Ninad
    Edited by: Ninad Sane on Jan 3, 2011 1:36 PM

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

  • Idoc Serialization Problem

    Hi Experts,
    We have a requirement where we need to send IDoc's to SAP PI in a sequence from SAP ECC and in the same sequence the Idoc should reach to the SAP PI.
    We tried to do the sequencing through IDOC Serialization (From Mastering Idoc Business Scenarios BOOK), but the Idoc are not reached to MONI in the Same Sequence.
    Please reply if anyone has done IDOC Serialization.
    Regards,
    Praveen Kalwa
    Edited by: praveen kalwa on Jun 25, 2010 4:59 PM
    Edited by: praveen kalwa on Jun 25, 2010 5:08 PM
    Edited by: praveen kalwa on Jun 25, 2010 5:14 PM
    Edited by: praveen kalwa on Jun 25, 2010 5:15 PM

    Hi,
    You can do the IDOC  serialization in SAP PI by creating a queue .
    The logic is, please create queue in PI which should be referred in SAP partner profile rule. We have implemeted this in our landscape which runs perfectly w/o any issues.
    Please refer ht[/people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi|ht/people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi]

Maybe you are looking for

  • Problem in creating Service PO ?

    Hi People, I am creating a Service PO using Bapi_PO_Create1 and now the problem is ,  I could create Service PO only without ServiceNumber ( Activity Number )  ( IF i include the service number iam getting a error ) , did i left anything in my code o

  • New ABAP Debugger Session does not close after Exiting

    Hi Friends, I am working on SAP GUI 710 & ECC 6.  When I am  debugging, new abap debugger is opening and I can do analysis normally. When we finish the debugging and want to exit, the debugging session is not closing and i get the following message o

  • How can i get my contacts on my new iphone

    i had a 3g that died today, i did sync it just the other day, how can i get my mobile numbers on my new iphone

  • Easy question about indexes

    Hello, I have a table of 100000 rows: MyTable MyID number(4,0), Otherfields , Name varchar2(30), LastName varchar(35), If I query and just select 60 rows from a total of 100000 rows: SELECT MyID, OtherFields, Name,LastName FROM MyTable WHERE MyID=11

  • Virtualization BIOS Setting in P67A-C45

    Hi, I bought the P67A-C45 motherboard with an Intel I5 2500K CPU, I running Fedora x86_64 with VMWARE Workstation. When I want to install other guest 64bit OS on the vmware, it said that I have a VT capable but VT disable. In the vmware forum it stat