Inbound IDOC data printing

Hi All,
I have created one inbound zIDOC, which have structure containing  three headers and one text segement.
Now I want to print the data of this inbound idoc as soon as it is trigrred , can any body have any idea of any FM that can be used ?
Looking for your valuable input.
Regards
Ajay

The process code you assigned to the inbound IDoc, has to be assigned to a function module which processes this IDoc, right? Now, if you use a function module of your own (CUSTOM FM!), you can do all the 'printing' you want.
So there is no option for printing by default (standard), but you will have to do it your self.
Another option would be to use a User exit. It seems there is a standard User exit (SIDOC001), or even a  BAdI which you can use. I haven't used it myself, so can't help you there.
Edited by: Micky Oestreich on Mar 9, 2009 8:43 AM

Similar Messages

  • SM58 - IDoc adapter inbound: IDoc data record table contains no entries

    Trying to send Idocs from SAP ECC6.0 via PI 7.0 up until 2 days ago there was no problem.
    Since yesterday, only one specific type of Idoc does not make it into XI (PI). In the Idoc monitor (WE02) the idocs that were created gives status 3 which is good. But all Idocs of that specific type (ZRESCR01) does not go to XI. I can only find them bakc in SM58 where it gives the following message:
    IDoc adapter inbound: IDoc data record table contains no entries
    I have checked SAP notes 1157385 and also 940313, none of them gives me any more insight into this error. I have also checked all the configuration in WE20, SM59, and in XI (repository and directory) and in XI IDX1, IDX2 but could not find anything that would cause this. I can also not think of anything that changed since 2 days ago.
    Please point me in the right direction.

    hi,
    i think in sm 58 u can find entries only when there is some failure in login credential .
    if there is change in IDoc structure than you have to reimport the idoc metadata defination at IDX2.otherwise not requird.
    please check the logical system name pointing to the your requird target system....
    please also verify thet your port should not be blocked.
    pls find the link it may help
    Monitoring the IDOC Adapter in XI/PI using IDX5
    regards,
    navneet

  • Inbound Idoc Data mapping sheet

    Hi experts,
    I need a data mapping sheet of Inbound Idoc that will help me for mapping the segments (header, Item) both for creating material, vendor, customer etc.
    That sheet will help for mapping tables and fields that are mandatory for that segments.
    Thanks & Regards.
    Ankur Garg.

    The process code you assigned to the inbound IDoc, has to be assigned to a function module which processes this IDoc, right? Now, if you use a function module of your own (CUSTOM FM!), you can do all the 'printing' you want.
    So there is no option for printing by default (standard), but you will have to do it your self.
    Another option would be to use a User exit. It seems there is a standard User exit (SIDOC001), or even a  BAdI which you can use. I haven't used it myself, so can't help you there.
    Edited by: Micky Oestreich on Mar 9, 2009 8:43 AM

  • Inbound Idoc - Date fields not getting saved

    Hello,
    I have created inbound idoc scenario in SAP. I receive Idoc from non SAP system to SAP system.
    then data from IDoc is saved into different tables, for that I have written one function module (attached to process code)
    One of the segments in IDoc type has date as a field. It is of type sy-datum.
    When I receive Idoc in SAP only date fields are not getting saved in tables.
    Is anything specific need to be done for date fields? please advice.

    check which format you are getting into sap and make sure you are coverting in into required format.

  • Inbound Idoc with T-code: BORGR ( Inbound delivery create) EDI cannection

    Dear all,
    Kindly help me to create inbound delivery with BORGR transaction.
    Here the we have to create the inbound delivery in the system with the help of vendor number and material without using Scheduling agreement number in BORGR
    Please suggest the processing code and the function module required for the BORGR document posting.
    I have done the following steps u2026but not able to post the dummy idoc through WE19 .
    1.     Use standard message Type DESADV (T code: WE81).
    2.     Use standard IDOC type DELVRY05 (T code: WE30).
    3.     Assign message type  to IDOC Type ( Tcode: WE82).Message Type:-DESADV, Basic Type:-DELVRY05,Release 700
    4.     Use standard assignment of process code DELS with the message type DESADV ( Tcode: WE42)
    5.     Inbound Function Module :  IDOC_INPUT_DESADV1 ( T code : WE57)
    6.     Define Port type File (Tcode: WE21) Port u2013 EDI_ASN Inbound Delivery.
    7.      Define Partner Profile (Tcode: WE20) Inbound Parameters.
    8.     Enhancement can be done in inbound IDOC as per the business requirement. Business has confirmed Field name wise Inbound IDOC data which will be received from vendor and all fields are available in the standard IDOC type DELVRY05.
    Please help if anything more required for posting dummy idoc .
    Thanks and regards,
    koshti

    Hi Dick,
    just one additional hint as we had recently such problems :
    It my happen that DESADV creates an inb.del <b>w/o</b> packing the HUs (idoc status is 'yellow' instead of 'red'). To avoid this OSS #912470 is the solution.
    Kind Regards
    Kay

  • Retrigger an Inbound IDoc to Become an Outbound from PoSDM to ECC

    Dear PoSDM Experts,
    I'm trying to browse and search for solutions on whether retriggering the inbound IDoc to an outbound IDoc from PoSDM to ECC without changing its details and had no luck.  The scenario has no aggregation and it is merely passing through PoSDM. I understand it doesn't seem practical because we can point the IDoc directly to ECC without passing PoSDM. The full scenario is an inbound IDoc is created in PoSDM coming from PI and the same IDoc will be triggered and pushed to ECC without changing the details. Sample IDoc would be WPUUMS, WPUBON and WPUTAB.
    Please let me know if the above scenario is possible without enhancement. If it is possible, kindly provide me how I should execute it in PoSDM.
    Kind regards,
    Mark

    Hi Mark,
    Well if that is the case then I will suggest you to go with custom development.
    Create Z tables for storing Inbound IDoc data  in POS DM.
    Write FM to process your inbound IDocs in POS DM Z tables.
    Write FM to generate your outbound IDocs from POS DM Z tables.
    Thanks,
    Vikrant.

  • MASTER_IDOC_DISTRIBUTE inbound idocs?

    I am trying to post an inbound IDOC that was created inside an ABAP program.
    I have tried MASTER_IDOC_DISTRIBUTE and set the direction on the control record to '2' (inbound), however when i look at the idoc posted in WE02, its in the outbound section, not the inbound.  Of course it's failing there because the partner is not set up (nor should it be) to process this idoc as outbound.

    Hi, I think if you direcly call this FM (IDOC_INPUT_ORDERS), it can goes, even without the IDOC number. The IDOC number is for the EDI/ALE layer to differentiate the IDOCs, but it looks no usage in the Inbound FM inside, as these FM is only for inbound IDOC data into server.
    Maybe there will be some consistency issue occur, but the inbound can be done, haven't tried it.
    By the way, it looks you want to create a IDOC which has the same sender and receiver, it has some other way, you can reference in the following link:
    http://www.sapgenie.com/ale/whitepaper.htm
    In The 7.3 Topic it has been explained to configure this scenerio.
    hope it will be helpful
    Thanks a lot

  • INBOUND IDOC REPROCESSING IN CUSTOM PROGRAM

    Hello,
    I have a custom program which displays the INBOUND IDoc data for the message type = ZSTLSP in the ALV format.
    Requiremt is that I shall select a record and change one of the coulmn contents . A button 'Reprocess' will be
    made available , when clicked it needs to reprocess the Idoc . The reprocessed idoc will be strored with the new values entered
    and the original idoc will be stored with status 70.
    Kindly let me know how to reporcess the IDoc in the custom program.
    Note that If I try to cakk l standard program RBDAPP01 to reprocess the IDOCs using SUBMIT statement. We can pass the IDOC Number, Message type etc. while submitting the program but CANNNT pass the changed SDATA field.
    Thanks in Advance!!
    Senthil

    I am able to change the value using FM IDOC_INPUT , but the changed values is not updateing in the databse.
    Maybe I need to do commit. kindly let me know how to do commit in this scenario.
    Senthil

  • Inbound idoc for updating delivery date of purchase order

    Hi All,
    Our vendor sends a delivery file consisting of delivery date and quantity(could be partial) for line items of a purchase order.
    I need to update the Purchase order line item with the delivery date and quantity sent from the Vendor. It should add a new confirmation line with custom confirmation category in the confirmation tab of the line item in the Purchase order.
    Each time we get a delivery file we need to add a new confirmation line in the confirmation tab of the purchase order line item.
    How can I get this working using inbound idoc processing? Which Idoc type should I use to solve my issue. Will ORDERSP work for my scenario?
    Thank you,
    Sonali.

    >
    sonali ashi wrote:
    > We have all EDI set up done for ORDERSP idoc in our system. Problem when I use this idoc type by default system is always adding confirmation catgeory 'AB' but we want our custom  category to be added instead of 'AB'.
    > Edited by: sonali ashi on Dec 23, 2010 9:47 PM
    Confirmation category used for order acknowledgement is define in configuation. You can change that from AB to your custom condition and EDI should pickup that.
    SPRO->Material Management->Purchasing->Confirmation->Define Internal Confirmation Category
    >
    sonali ashi wrote:
    > I have also noticed that 'AB' confirmation accepts only full quantity order acknowledgement through Idoc processing.
    > Manually I can add a "AB" confirmation for partial quantity but in the idoc processing it fails.
    > Edited by: sonali ashi on Dec 23, 2010 9:47 PM
    Check tolerance limit defined for confirmation category in 'Conformation Control' Node in SPRO at same level as above.
    Regards,
    Pawan.

  • 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

  • INBOUND IDOC not updating the basic data field which is created newly

    Hi,
    i am creating an inbound IDOC for material master creation in that in basic data1 i have created 2 custom field in general data 1 is updating and another  is not updating with the value in iDOC.
    User exits codes are fine. but data is not updating.
    can some one help hw to resolve this..
    regards,
    thanigai

    Hi,
    Are you Debug the function module in  Process code of IDOC and use COMMIT WORK in that Function module.

  • Some Data Missing in the inbound Idoc received from Gentran

    Hi,
    We are receing one custom message type with the basic type ORDER05 in SAP from Gentran. When we checked the destination file generated in Gentran, its showing data for all the segments. However in SAP when we checked the corresponding idoc we find the segment E1EDP05 is missing. The Gentran team says they are placing the destination file in the unix server of SAP. However we dont find these files in the SAP Unix server. Could anybody advise what could be the problem and where we need to check further ?

    Gentran will never be able to create an IDOC within SAP. Here is what happens:
    > Gentran creates a flatfile/XML which is in the IDOC format (the one which you can see in WE60).
    > Gentran then places this flat file/XML in a folder on Application server. This can be UNIX, Windows NT, etc..
    > Gentran then triggers the Startrfc.exe which will trigger EDI_DATA_INCOMING function module.
    > This FM will parse the data, check it for consistency of the defined standards, then write the control record into EDIDC and corresponding data records into EDID4 and updates the relevant statuses (i.e. 01 - added, etc). It'll then look into the partner profile setup, look for process code and moves the status to 64 and calls the inbound FM which will post the application document.
    In you case, you need to find out what file is coming in and where E1EDP05 has missed. The data will only be sent by Gentran. The inbound function modules will never update IDOC data records (unless there is a customization). The status records are updated.
    If E1EDP05 is not mapped and sent by Gentran and you still used to see it, then there should have been a customization in place to add values to IDOC segment fields. Try to get the final file that is mapped from either X12/EDIFACT and then see if E1EDP05 segment is present in there. If it is present then upload the same file into AL11 using CG3Z and call EDI_DATA_INCOMING or WE19 to process it. Once processed, you'll can observe if E1EDP05 is being created or not.

  • Inbound IDOC for sales orders not posting the configuration data

    Hi all,
    I am facing a problem in posting the inbound IDOC (message type ORDERS). The configuration data maintained in the parent segment E1CUCFG and in the segment E1CUVAL is not getting posted though i am passing the data in these segments which is 100% correct.
    Can any one solve this problem

    Hi Ravi,
    Please check the two segments are active. You can do that in BD53.
    In BD53 enter message type, and make the segments active.
    If segments are active, it appears in white colour.
    After this post the IDoc and check with segments.
    If its useful, award points pls..
    Regards,
    Bharadwaj

  • 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

  • Inbound idoc fdccp02 to populate the data into segments

    hello,
    can anybody send me sample data populating to inbound idoc fidccp02.
    thanks
    Anant

    check the below test data that I've used in my project.
    E1FIKPF
    BUKRS     1000
    BLART     DT
    BLDAT     20080908
    BUDAT     20080908
    WWERT     20080908
    BKTXT     2205/033/01W
    WAERS     GBP
    GLVOR     RFBU
    E1FISEG
    BUZEI     001
    BSCHL     01
    KOART     D
    SHKZG     S
    WRBTR     280.00
    SGTXT     Q8/Pace
    E1FINBU
    KUNNR     KU0002
    E1FISEG
    BUZEI     002
    BSCHL     50
    KOART     S
    SHKZG     H
    MWSKZ     A0
    WRBTR     280.00
    SGTXT     Effluent Charge
    KOSTL     L6111
    HKONT     0000321030
    PRCTR     L6111
    PRCTR     L6111

Maybe you are looking for