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

Similar Messages

  • Control record in File to Idoc

    hi guys,
    i am new to XI and now learning File to Idoc scenario.
    after going thru some forums and blogs i found that while mapping the control record EDI_DC40 in the idoc should be disabled.
    my question is will this control record be disabled forever or should the proper data be filled at the runtime.
    help me in understanding this concept plz.
    Points will be awarded
    Regards
    BHASKER

    Hi Bhasker,
    The control record acts as router. This control record has information like which is message type, Idoc type, sender port etc. [http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm ]
    The control records need to filled since data in the Idoc has to be filled accurately. But again it is not necessary, XI has option to fill the control records by itself at runtime using receiver determination
    This blog will help you understand more
    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
    regards
    Ramesh P

  • Changing IDOC Control Record for EDI inbound Orders Creatiion

    Hi,
         When I try to process the Inbound orders Idocs file through the GENTRAN EDI System.IDOC's were errored out, because of the Partner function was not defined for the Customer ( Legacy ) ( Type KU ) in the SAP.
            Is there any user exit/badi/Configuration to change the Legacy Partner(Customer) to the SAP Partner(Customer) mapping and update the IDOC Control record with the SAP Partner. I am calling EDI_DATA_INCOMING Function module and IDOC_INPUT_ORDERS.IDOCs errored out with Message EO-332 ( Partner function not defined ). 
    Advance Thanks,
    Balaji.

    It's been a long time since I have done any IDOC processing. 
    Go to SE37 and enter the function module IDOC_INPUT_ORDERS.  Display the source code.  Search for "CALL CUSTOMER".  You should see several "CALL CUSTOMER-FUNCTION" lines.  These are enhancements where you can manipulate the IDOC data.  If you locate the correct one (where the data is read from the IDOC but not yet validated), you should be able to map the partner function value.  Double-clicking on the number in quotes will bring you to an "EXIT_" function module.  A "ZX" INCLUDE program is referenced.  If you haven't used the exit yet, double-clicking on the ZX INCLUDE will create it.  The values passed into the function module are available in the INCLUDE.
    Ideally, you should create a project in transaction CMOD that references the chosen enhancement.  This way you can activate/deactivate without commenting/uncommenting the code in the INCLUDE.

  • How can we configure or control records go into single idoc thru BODS?

    Hi,
    Our case is -
    IDOC format has three segment. Each segments has child nodes -
    1. CONTROL SEGMENT - This is required only once per idoc.
    child1
    child2
    2. SEGMENT1 - sinlge source record to be broken into two segments.
    child1
    child2
    3. SEGMENT2 - sinlge source record to be broken into two segments.
    child1
    child2
    we have a single source (lest say having 100 records).
    In the current design which does generates IDOCS but as many as the no of records in source. Currently we use a row generation transform as dummy (with row count as 1) to pass to the IDOC parent nodes's from clause to escape the error - invalid input to the parent nodes.
    Child nodes are either mapped to the source table or are null.
    Question - How can we configure this in a way that we control how many records go into single idoc. Ex - lets say 50 per idoc so only 2 idoc should be created if 100 records are there.

    HI,
    this sounds to me like Data Services. If so I would suggest to post this into the Data Service forum.
    regards
    Ingo HIlgefort

  • 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

  • Error values in Idoc Control Records in File to Idoc Scenarios

    Hi All,
       I am posting 2 different types of Idocs in 2 different File-to-Idoc Scenarios. In many cases both these files may get picked at the same time. One is an Orders Idoc and the other one is Shipment Idoc. The Orders Idoc has a control record value in the Sender Partner Fn as 'ZC' while as for Shipment Idoc that value is not passed. The other Sender parameters are passed and are different for both these idocs. But when the files are processed, the value 'ZC' get populated for the Shipment Idoc also. When 100 files are sent with 90 orders and 10 shipments, the shipments get created with 'ZC' partner fn. This is visible in the Call Adapter Pipeline Step under the node IDocOutbound. . I have 2 different Idoc receiver adapters.Can anybody help me out here?
    Thanks,
    Geetha

    Hey,
    >'ZC' while as for Shipment Idoc that value is not passed
    Check whether the Source/ Mapping  populates the 'ZC' , Did you checked Apply Control record in Receiver Adapter for Shipment, What is the name  you have mentioned for the in the SLD -Logical system  for Sender system
    Cheers
    Agasthuri

  • I want to retrieve data for condition record during certain time period.

    Hi Experts,
    Please suggest me some T-Code for retrieving condition record date or Database Table where I can access the data with the  combination of Sales Organization, distribution channel, customer and plant.
    Looking for your expert comments....
    << Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
    thanks in advance..
    With Best Regards,
    Bharat B
    Edited by: Rob Burbank on Jan 21, 2011 5:40 PM

    To search for data/all the relevant condition for a particular condition type(like for example PR00) for a particular date range you can got to VK13 and give that particular condition type for which you want the data for.After giving he condition type click on key combinations and choose for which condition you want the data for.
    Like for example I want to fetch the data for PR00 then I will go to VK13 ,give PR00 then choose the relevant combination and then take a F1 for the first field.by this I will be able to determine the table in which all the condition data is stored for the particular combination.Like for the combination of sales org./dist channel./customer/material we have the table A815.Now by going to SE16 and giving table as A815 i will be able to fetch all the relevant data.(in your case based upon the valid from and valid to date).You can also use table KONP for a particular condition record number details.

  • Data replication problem in SRM using inbound idoc FM IDOC_INPUT_HRMD

    Hello Experts,
    We are using FM IDOC_INPUT_HRMD for replicating HR data in SRM 5.0.
    Now the data which was passed to port is in insert mode i.e in transaction PFAL we are passing Idoc in Insert mode.
    So this means whatever data exist in target system that should be overwritten by this new Idoc data.
    The Idoc which is created in target system (in SRM) is in status 52 & message is 'Business Partner already exist',
    So data is not posted in system due to this error.
    Idoc details as below:
    Process code:HRMD
    FM: 'IDOC_INPUT_HRMD'.
    Could you please help in this?
    regards,
    Amol'

    Hi
    Authorizations might be one of the reason.
    So IDOC transfered but no records to be writeen to DB.
    regards
    vijay

  • EDI: Field REFINT in control record

    I am trying to send orders.orders05 idoc from ecc to xi
    the message that I get in we02 in ECC is
    EDI: Field REFINT in control record with value 'T080902134731A ' is invalid
    Does somebody knows where this field is configured ?
    when I edited this idoc in we02 and erased this value the process was sucessfuly
    but when I try using we19 it assigns this value automatically
    thx
    Shai

    hi
    it depends on use
    As a reference, this field contains the number of the interchange file, as entered in the EDI standards.
    An interchange file can therefore only exist in the external EDI subsystem. Depending on the transmission direction, this number should:
    either inform the R/3 System via status confirmation: in this case, the last returned number is saved in the control record of the relevant outbound IDoc (from R/3).
    or in inbound processing (from R/3), write to the field in the control record of the inbound IDoc.
    cheers

  • How to put data in an ActiveX SequenceVi​ew Control Object (not MFC)?

    Hi!
    In my application (not MFC) I added an ActiveX SequenceView Control Object.
    I want to put data in it.
    But nothing is in it after executing the following code:
    HWND hListView=(HWND)GetDlgItem(IDC_SEQUENCEVIEW1);
    LVITEM lvi;
    lvi.mask = LVIF_TEXT;
    lvi.pszText = "text";
    ListView_InsertItem(hListView, &lvi);
    SendDlgItemMessage(IDC_SEQUENCEVIEW1,LVM_INSERTITE​M,0,(LPARAM)&lvi);
    What is wrong or missing?
    Thanks for helping me!!!
    I tried to use the SimpleMFCOperatorInterface-example but as I am not using MFC it said:
    'CListCtrl' : undeclared identifier
    So this example isn't helpful for me.

    Hi
    If you have TestStand 3.0 installed then you will find a simple example using MFC under
    \OperatorInterfaces\NI\Simple\C++ using MFC
    The OI is written using the new UI controls and the manager controls.
    You need TestStand 3.0 or greater to use the new UI controls
    I hope this helps.
    Regards
    Anand Jain

  • How to put data into a RFC import parameter structure from portal

    Hi, All,
    I have a RFC in which an import parameter is a structure (not a table). I want to put data into that structure. I know how to put data into a table or a string. I tried to use
    IRecordSet MyTABStr = (IRecordSet)structureFactory.getStructure(function.getParameter("MYTABSTR").getStructure());
    MyTABStr.setString("FIELD1", value1);
    MyTABStr.setString("FIELD2", value2);
    importParams.put("MYTABSTR",MyTABStr);
    But it works for table not structure.  Is there anybody know how to do that?
    Thanks in advance!
    Meiying

    Hi,
    You can try the following code -
    IRecord structure = (IRecord)structureFactory.getStructure(function.getParameter("MYTABSTR").getStructure());
    structure.setString("FIELD1", value1);
    structure.setString("FIELD2", value2);
    importParams.put("MYTABSTR",structure);
    Regards,
    Sudip

  • 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

  • Req Idoc steps in detail for creating Idoc control records(Sender Non SAP)

    Hello All,
    I have a scenario where a Microsoft biztalk server communicates with SAP ECC through Idoc ORDERS05 . i need to give them the information of the below IDoc control records
    SNDPOR
    SNDPRT
    SNDPFC
    SNDPRN
    RCVPOR
    RCVPRT
    RCVPFC
    RCVPRN
    IDOCtype
    Since the sender is Ms Biztalk . kindly let me know the detailed  steps involved in creating the sender side info such as SNDPOR, SNDPRT, SNDPFC and SNDPRN.
    Thanks in advance ,
    Pavithra

    Hi,
    The info like (SNDPRN) which has to be providen by Biztalk in the IDoc control of their Idoc are these ones that YOU defined in the ALE config (tx WE20) of your ECC, to accept this IDoc (idoc message / idoc type) from Biztalk.
    If your ALE config is not yet created in your ECC, you have to do it. For instance, check in WE20 (partner profile) the ALE config of your other systems, and in WE02 (Idoc log) to see the content of an IDoc Control, by selecting an inbound Idoc.
    Do not hesitate to use WE19 to test an idoc integration, as you have to fill the idoc control manually. By this way you will sure be of what info Biztalk has to put inside their IDoc control (EDI_DC40).
    Regards
    Mickael

  • Why control records disable in mapping for idoc communication?

    Hi, In the mapping we disable conrol records in file to idoc ...why is their any specific reason..>? plz respond me soon..accurate question reward more..thanq

    Hey,
    EDI_DC40 contains the data about control records.
    Before the message leaves the Integration Server, the message header contains values that are exported and used later to complete the IDoc control record.
    Adapter populates it runtime.
    Correct me if i am wrong
    <b>Cheers,
    *RAJ*
    *REWARD POINTS IF FOUND USEFULL*</b>

  • Regarding getting data from excel file and need to generate  inbound idoc

    Hi guys,
    Please can u give some example how to get excel file data and need to generate the inbound idoc my questation ? Is it possible to generate inbound idoc with the same logical system ( it seems to be not possible using same logic to generate idoc ) can u suggest me any posssibule way to generate idoc.) if possible give me some example.
    Regardng
    anil
    Edited by: anil kumar on Aug 8, 2008 1:35 PM

    If you want someone to do your work, please have the courtesy to provide payment.
    http://www.rentacoder.com

Maybe you are looking for

  • Purchase required for free update?

    Heya, having some difficulties with the App Store on the desktop itunes ap for windows. When it comes to putting money into my itunes account, i always use gift cards, as i dont want to use my credit card for it. This has always worked fine. Generall

  • Help needed in building a  sql query

    Hello, I am using Oracle 10g db. I have 3 tables table1 and table2 and table3 I am writing one sql query which is like select table1.a a1,(select distinct b from table2,table3 where table2.id=table3.id and table1.id=table2.id) b1 from table1 Now the

  • Updating a JScrollPane

    Hi, I've a big problem with a JScrollPane. I have a JScrollPane and in it there is a JPanel with a BorderLayout divided in NORTH and CENTER. In the NORHT and CENTER there are other two JPanel. The problem is that I need to add buttons and label to th

  • Is Flash 8 practical for me?

    I'm a Flash 8 newbie. This is my first day using using the program. I have a photography website. I would like to make photo galleries that have thumbnails to click on to view the larger image. I'll need to post between 25 to 40 photos per gallery, a

  • Bad quality using copyPixels?

    I have two images with transparent background and same size in a castLib and want to copy them into a new image. So for doing that I create a new image called "my_img" and copy the member "circle_yellow" and the member "circle_red" into it using copy