Skip to Content
author's profile photo Former Member
Former Member

EDI - IDOC

Hi All:

I am using VF02(Billing) Transaction to generate the EDI-IDOC.

In that I am using ZRD3 Output Type(Invoice). When i enter this O/P type in VF02 -> Goto -> Header -> Output then Save the Application the IDOC will be created.

I am using IDOC_OUTPUT_INVOIC Function Module (Process Code SD09).

My Problem is . In the Idoc E!EDP08 Segment didn't populated .

so, How can i debug and trace this while updating data in the segment .

If i put a Brak-Point in IDOC_OUTPUT_INVOIC Fun.. Module it didn't stop. As it is running in the background process, i also tried running the program RSNAST00 by providing the necessary parameters but to no avail.

Please help me .

Thank You,

Venkat

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Posted on Oct 03, 2008 at 12:27 PM

    When you create your output, before you save the invoice click on 'Further Data' and choose 'Send with periodically scheduled job' instead of 'Send immediately'. This way the output is not processed at save and if you run RSNAST00 at that point you will be able to process the output then. Don't forget to set the breakpoint in the function module before you run RSNAST00.

    Hope that helps,

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Mike,

      It didn't stop at the break point in RSNAST00 and the FM IDOC_OUTPUT_INVOIC.

      Can u suggest any more method to debug the IDOC ( Becoz the Segment E1EDP08 is not filled or populated while creating IDOC)

      Thanks,

      Venkat.

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2008 at 02:45 PM

    Hi,

    Whatever Mike has mentioned should work. Anyway there is another way Instead of "Send with periodically sceduled job" chnage it to "Send with application own transaction" and then go to VF31. Give the invoice number and execute . Select the proper output type and then click execute. Do not forget to put break point in IDOC_OUTPUT_INVOIC before running VF31.

    You can give it a try.

    Regds,

    Rudra

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 03, 2008 at 03:12 PM

    After the execution of RSNAST00 does Idoc get generated... Could you please check you selection criteria to RSNAST00 is actually selection the data to process..

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 03, 2008 at 03:19 PM

    Hi ,

    For the RSNAST00 , u mention the follwing things,

    Output application ,Output type ,Transmission medium and put the beark point in the selection screen .Try this menthod

    Regards,

    Bharani

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2008 at 07:14 PM

    put a break point in the edi_processing of the program rsnast00 and see.

    It also might be that the place where you have put a break point might not be reaching at all when the code is executed.

    So try to put the break point in the first line of the function module and then see if it is stopping there.

    regards,

    Advait

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2008 at 05:25 AM

    Hi,

    If you wanted to Debug the IDOC function module then follow the following steps:-

    1. Trigger the EDI output in VF02 transaction and then select that output and click further data tab and select processing mode as Scheduled job(ie option 1).

    2. Execute the program RSNAST00 by giving the output type, application, invoice number and get into debug mode of that program.

    3. Now you are debugging the RSNAST00 program, in the debug screen, you see a break point tab, click that now you can put a break point in your own function module in that give your function module name IDOC_OUTPUT_INVOIC, then it will stop in your requested function module.

    This is the way how you debug an outbound IDOC function module.

    Thanks,

    Mahesh.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2008 at 06:35 AM

    Hello,

    Go to the Function Module IDOC_OUTPUT_INVOIC. Then, perform a Global Search for CALL CUSTOMER-FUNCTION statement. You'll find a list of all the Customer Functions Called in the Selection Program. Now, Select the

    CALL CUSTOMER-FUNCTION '002' which will take to your the Customer Function Call.

    Put a Break Point here before you save the Billing Document. This is a Customer Function in IDOC_OUTPUT_INVOIC where all your IDOC data will be available in the Form of INT_EDIDD. Also, in this Customer Function , you can add your Customer Enhancements to the Existing IDOC.

    During debugging, when the Segment Name comes as E1EDP08, you'll be able to see the Contents of E1EDP08 if it is populated.

    Thanks and Regards,

    Venkat Phani Prasad Konduri

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2008 at 07:09 AM

    wa

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.