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

Urgent plz:Reports

1)Hi in my scenario I have to generate a report with Vendor ,Inbound iDoc Number ,iDoc Date ,iDoc Status: 51 or 68 ,PO Number ,Invoice Number,Invoice date ,Invoice Amount ,Error Message: For multiple errors on a single iDoc, multiple records should be shown.

2)The mandatory field is lifnr and date(the date specified is sydatum-60 is the from field and sydatum in the to field).Have fetched the idoc in the particular range of date

3)Using idoc_read_completely have found the status and control record.

4)now have to find the idocs of status 51 0r 68 and then have to proceded?I have completed till the 3rd step only.The segment in which the vendor is present is E1EDKA1 and field is partn which is LF.Please help me to code further its urgent?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 02, 2008 at 12:53 PM

    well all you posted is your requirements, and you expect a complete solution from us?

    come on try it yourself, and tell us where you stumble, then we sureley will help.

    But see, if i do your work completeley i want your earnings as well.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 02, 2008 at 01:01 PM

    Hi,

    try this: http://help.sap.com/

    Regards, Dieter

    Sorry, forget my answer, i havn't read your fourth item.

    Regards, Dieter

    Edited by: Dieter Gröhn on Apr 2, 2008 3:07 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 02, 2008 at 01:08 PM

    Hai,

    By joining the tables edidc and edids get all the idocs in to it_idoc by passing the idoc type, message type date range and status.

    get the data from the table edid4 into table it_data for all entries in it_idoc.

    loop at it_idoc.

    read the the table it_data with key docnum = it_idoc-docnum

    segnam = 'E1EDKA1'.

    v_sdata = it_data-sdata.

    check for your vendor in v_SDATA.

    ENDLOOP.

    Reward.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi before reading the segment i have to check the status of idoc 51 0r 68 and then according to that only have to read the vendor and the details of invoice number,invoice date,PO number,Invoice amount and idoc details?

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.