Passing control records to Idoc

Hi,
how can we pass control record data to Idoc?can we do that in mapping(GUI) in XI ,lets say if I am doing <b>file to Idoc</b> scenario.I know we can disable the control record field and use apply from payload.my concern is if we don't use apply from payload.
I have read in SDN XI takes from sender or reciever business systems as they are  related to Logical systems(ref link:XI IDoc  control record data source?) ,does it mean that we don't map these cotrol record fileds in the mapping(GUI)?
and also please tell me how XI can pass data from flat file to a particular IDOC?
thank you.

hi,
have a look at blog to see what is being filled and how:
/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
you can also check my book in which I describe IDOC scenario configurations 
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • File name in control record of Idoc

    Hello All,
    I have come across a requirement for File to IDOC scenario where File name picked from dynamic configuration is to be stored in control record of IDOC. As file name is more than 45 chars long, I need to use a long field.
    Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?
    Regards
    Prashant

    Hi Prashant,
    I understand that your requirement is to store name of picked up file in SAP system.
    Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?
    You can use them if you are sure that it would not affect routing routines and message processing in SAP ECC.
    Regards,
    Radek

  • Include segment in Control record of  idoc type PEXR2002 and PAYEXT

    Gurus
    This is business scenario. We are using four different flavours of payment methods. when exectuing F110 for each payment method,Program RFFOEDI1 generates IDOC. This IDOC are send to EDI team who then sends that as EDI820 to bank.
    The payment method used are populated in Detail record field of IDOC . But EDI team wants that to be in Control record of IDOC .
    We are using PEXR2002 and message type is PAYEXT . this is an outbound IDOC .
    Is it possible to add segement in control record for each payment method?.
    Thanks for your time and consideration
    Auroar

    It may depend on how the IDoc is created.
    From a file.
    Sent via a Remote Call.
    You would then need to code it for this Message type only.
    I would take a copy of the standard Function and change that. You would have greater control then.
    Why is the partner number wrong anyway. Can you not just create another partner profile(s).
    Message was edited by:
            Martin Shinks

  • Reciever port blank in control record of idoc.

    Hi,
    I am sending IDOC from  client 110 to 220 in R/3.
    In Client 220 reciever port is blank in control record of
    Idoc.Do I need to do some kind of settings for this.
    Any help appericiated.
    Thanx.
    Rekha.

    Hi Rekha;
       Are the ports properly populated on the outbound IDoc (from client 110)?
    Cheers,
    John

  • Control record of Idoc

    Hi Experts,
    I need to change the partner number in the control record of IDOC.
    Due to this it was getting posted wrongly at status 56 "Idoc with errors added".
    I took a single idoc and manully changed via WE09 and reposted tho BD87.But the think is I wanted this to ahppedn for all the inbound idocs.
    Message type :ALEAUD.
    Process code : AUD1.
    Function module triggered: IDOC_INPUT_ALEAUD.
    Is there any user exit available to do this or any other program which is called first to post the idoc in receiver system.
    I cant change the partner number in sender system only in my receiver system i can do this.
    Can anyone help.
    Thanks,
    Ponraj.s.

    It may depend on how the IDoc is created.
    From a file.
    Sent via a Remote Call.
    You would then need to code it for this Message type only.
    I would take a copy of the standard Function and change that. You would have greater control then.
    Why is the partner number wrong anyway. Can you not just create another partner profile(s).
    Message was edited by:
            Martin Shinks

  • Passing Control Record Data in IDOC to R/3 3.1i system

    Hi,
    We have PI 7.0.9 installed in-house and are currently attemptng to point to an R/3 3.1i system (we are in the process of upgrading to ECC5).
    When I enable the check-box to "Apply Control Record Values from Payload" in the receiver comm. channel for the IDOC adapter, it ignores the directive.
    If I look at the Payload in the XML Message in the call to the IDOC adapter, the fields are all filled - however the IDoc adapter simply builds its own values when sending to the back-end. The only difference to idocs for newer SAP systems is we use EDI_DC rather than EDI_DC40.
    Does anyone have any knowledge of this problem and a solution?
    Thanks
    Brian

    Hi Brian,
    About "Apply Control Record Values from Payload"
    If you set the indicator, the conversion of communication parties to the IDoc partner is only possible for systems that are not logical systems.
    If you do not set the indicator, all combinations of communication parties and services are handled as services without party.
    If the IDoc XML structure contains a control record during outbound processing on the Integration Server, it is rejected and created again by the IDoc adapter. If you want to include additional values in the control record, set the indicator and provide an appropriate mapping for the values
    If in the receiver Communication Channel, you do NOT choose option "Apply Record control value from Payload", then EDI_DC40 will contain the values mapped during Mapping in Message Monitoring and SXMB_MONI - Response Payload, but when the IDOC is sent out , control record is filled with the value from the SLD
    If you are looking for, where to find the place where the logical system name for the XI system is defined, it can seen in 2 places....IN transaction SALE on XI, under "Basic Settings --> Logical Systems --> Assign Logical System to Client"...double click on the client no you want to check for...
    Also it can be seen in the SLD in the corresponding business system details.
    Do you want this value as the SNDPRN in the control record ? then you need not do anyhting
    Also take a look at these links,
    http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm
    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
    Also have a look at this thread...
    Re: SLD - Logical System Management
    I hope it helps....
    Regards,
    Abhy

  • Serialisation field in control record in idocs

    Hi Experts,
    I have one requirement like this.While generating idocs in control record we get serialization number by combining system date and time.
    But now my requirement is i have to change that serialisation field with required timestamp.Can we do this? If so can anyone explain me how to do that?
    Wiating for your valuable replies.
    Points will be rewarded.
    Regards,
    Swetha.

    hi,
    Firstly check the open periods for the compnay code in OMSY...
    If its not open then try in the MMPV to open it...
    You can also open it in OB52..which is FI trasaction...it open/close the two periods consicutively...
    You can reopen the periods but its not recomended...you can use MMRV..for back posting allowed...
    or else check this
    goto SU3
    select user profile
    in parameter ID give MMPI_READ_NOTE , and in parameterr value enter todays yyyymmdd and save.
    and goto MMPI intialise the periods to present one at a strech.

  • Sender Information in control record of IDOC adapter

    Hello All,
    I am sending data from JMS to R/3 (IDOC). I need to populate the SNDPRT with LI and SNDPRN with 42980.
    I have mapped SNDPRT with LI and SNDPRN with 42980 in the control record. I have checked the <b>Apply Control recrod values from check box</b> in the IDOC adapter communication channel.
    Also checked the Sender Party in the Receiver aggrement. I have selected <b>the context object as the SNDPRN of IDOC control record</b>
    But it is failing. I am getting an error Unable to convert sender XI party ........to  an IDOC party
    I need to resolve thsi problem
    Please help me.

    Hi Abinash,
    In addition to the document Mike suggested, SAP has many How-to Guides at the following link
    http://service.sap.com/nw-howtoguides
    https://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    Mike: Thanks a lot for spending your valuable time helping the forum even on Weekends. SAP really appreciates your help on this.
    Regards,
    Sam Raju

  • Want to put  data  in control record of IDOC (Inbound Idoc)

    Hi All
    For some business reasons so many Idocs are not getting posted into SAP. They are just simply failing.So my client wants report that will give me a list of Idocs that are failed . I want to put document number in the control field so that i can display that filed in the report which sucks data from EDIDC table.
    Can i put data in the control record ?
    it is an INBOUND idoc
    Can i use these fields?
    Or will SAP use these fields for any sort of processing?
    EDIDC-REFMES(reference message)
    EDIDC-REFINT(Reference to interchange file)
    EDIDC-REFGRP(message group)

    Hi Prashant,
    I understand that your requirement is to store name of picked up file in SAP system.
    Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?
    You can use them if you are sure that it would not affect routing routines and message processing in SAP ECC.
    Regards,
    Radek

  • Control record in IDOC

    Hi
    The scenario where i have an R3 - > XI - > NONE SAP
    where r3 sends idoc the none sap needs to send back aleaud but the orig idoc number is not in the ALEAUD idoc number but the control record holds a different want inorder for the r3 to think it is an ALeaud
    how can i fix this and have the same idoc numeber also in the coming aleaud ?
    or how do i associate between the idoc and the returning aleaud ?!

    Hi Sergie
    The ALEAUD is a separate IDoc, so naturally it must have a different number than the original IDoc. However, the field E1STATE/DOCNUM in ALEAUD is a reference to the original IDoc.
    How is your ALEAUD generated? If you are doing this "manually" via a message mapping, you need to include the original IDoc number in the message to your receiving system so that it can send an audit message back containing the original IDoc number. From this audit message you should be able to map a correct ALEAUD message.
    Regards,
    Thorsten

  • BADI to Change control record from idoc

    I’m trying to use the BADI IDOC_CREATION_CHECK to change the control record from the idoc but im not able to do it because the parameter IDOC_CONTROL is an importing parameter not a changing parameter, I’ve tried to use the BADI IDOC_DATA_MAPPER but I this case I’m just able to change the data record, should I use another BADI?
    Regards
    Luis Constantino.

    hi.
    have you tried ABI_IDOC_PROC_MODIF?
    i did not read much thru the documentation...
    i hope this helps.

  • How to disable control records in Idoc

    Hi All,
    I've a small problem in my scenario.i have a idoc in my input and i want output as a idoc in a flat file.i m using abap class fr this.that abap class is changing idoc into idoc as a flat file.but i have to remove control records in my output.i have a very little knowlegde in abap.so can u help me regarding my scenario.FCC can't be possilbe because it is a huge idoc.
    thanx in advance
    Monika

    actually u din't understand my question fully. i dont want idoc xml..i want idoc in a flat file
    well i got solution...i've chnaged my abap mapping ..and it's wrking fine..
    anyways thanx

  • ** Port is missing from the IDoc control record  (Receiver IDoc adapter)

    We are using a File to IDoc scenario and in the idoc sap sender port is not coming due to this IDoc posting is failing. Could any one tell us why idoc adapter is not able to get SAP port.
    The following is the error message in SAP side.
    Status : 56
    IDoc: 0000000006188579 Status: IDoc with errors added
    EDI: Partner profile inbound not available
    Kindly help me friends.
    Thanks,
    Jagathees P.

    hi,
    >EDI: Partner profile inbound not available
    this error message means that there is not partner profile
    configuration for this IDOC (you configure it in WE20 of ERP/R/3 )
    or your XI system is configured to post to a wrong partner profile
    (if you fill your partner data in a mapping for example)
    so it's one of the other for sure - check it/change it and it will work
    for more info about IDOCs and XI you can check my book:
    www.sap-press.com/product.cfm?account=&product=H1935
    Regards,
    Michal Krawczyk
    http://mypigenie.com XI/PI FAQ

  • Mapping of Control records in file to idoc scenario

    Hi,
    In the mapping part of file to idoc scenario is it necessary to provide the exact control record details
    or will it pick what ever is mentioned ? Can any one please explain regarding the same?
    Many Thanks,
    Sharath

    hi,
    in case of apply control records from payload
    It is indeed very simple to do it and the feature is available from SP10. I have seen lot of posts on the forum for the same and that is the reason for this blog. We can manipulate the control record in the mapping editor and map the EDI_DC40 segment of Idoc as required. Most of the times we need to map only SNDPRN, RCVPRN, SNDPRT, RCVPRT for posting Idocs with appropriate partner profiles in SAP R/3 destination systems. We can disable the rest of the fields as shown below. We need to manually change the control record of idoc for populating partner profiles in the control records while dealing with non-sap sender system, which will be used by receiver SAP system for posting idocs with appropriate ALE configurations.
    check this blog
    /people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload
    regards
    chandra

  • Inbound Idoc - control record settings

    Hi,
    we have a JDBC to Idoc scenario. We get data from JDBC interface (outbound), map some fields and send it to a receiver SAP system as an Idoc (inbound). We did a similar scenario before and PI filled out automatically the control record settings. So in our mapping to the idoc XML format the must fieds in the control records are set to constant="pi dummy entry".
    It worked for the former scenario well. For this new scenario it doesn't! When i monitor the payload, SNDPOR as example is set with our dummy value of the mapping ("pi dummy entry").
    specials:
    - CC checkbox "Apply Control Values from Payload" is NOT set!
    - The destination SAP Business System is configured as a Party in Integration Directory (not such configurations in SLD)
    - We use PI 7.0
    Any suggestions?
    Thanks in advance
    Michael

    Hi Michael,
    >>So the control record will not be send. I was expecting, that PI the control record data according to the configuration fills. Maybe this is a wrong assumption.
    Yes you need to disable the control record in message mapping, because you want PI to make it at run time based on the configuration done in PI.  So apart from disabling it you need to do some more settings.
    If you have used parties in SAP PI, then select the
    1.Apply control records in IDOC communication channel
    2. Update the Identifier tab in the IDoc receiver channel with the correct information for sender/receiver
    now when you see the IDoc Outbound (in SOap Header) then you will see the correct sender and receiver details.
    Regards
    Suraj

Maybe you are looking for

  • Login to Portal by webdynpro application

    I want two input fields in my web dynpro application for userid pwd. after pressing the button i want to retrieve the information of that particular user like assigned Roles to the user. How can i do this?

  • ProtectTools issue: Decrypting an encrypted ProtectTools HDD when windows will not boot.

    Windows updates happened. Now the PC won't boot. Unfortunately, the HD is encrypted using the ProtectTools. While I can boot from the Win7 CD, I can't touch the OS partition since it's encrypted. I found the DiskTech2012.iso which I had hoped would b

  • Anyone successfully set up connection pool in s1as with ms sql server 2000?

    As subject. Since I have seen a lot of posts about the NoSuchMethodException issue with various dbms providers, and the only "official information" I found thru different forums, google, different sun/javasoft sites and forums are this: http://sunsol

  • Issue: PSG grouping for Work schedule

    Hi , I want to create a work schedule with PSG grouping for workschedule as 70, I have tried to copy an existing-  none are available under the same grouping. I have tried using the create button though is creates a dws with grouping as 00, which sho

  • Which Design Pattern and how to design using OOP this scenario

    I am having trouble designing a module, can anybody help me? Because it will be hard to maintain this kind of module, I also think that this can test my skill of design pattern usage. Requirement This is basically an agricultural project (web applica