Skip to Content
Former Member
Jul 01, 2010 at 12:58 PM

INVOIC02 Inbound Idoc XML Schema Issue


Hi ,

i am processing an inbound IDOC for Basic Type INVOIC02. I need to process a IDOC XML Schema from Application Server.

i am able to process application file by using function module "IDOC_XML_FROM_FILE".

Function Module will delete the file if processed sucessfully or XML Schema did not have any errors.

Here my problem :

Some cases my IDOC XML schema is good and function module returns the sy-subrc as '0'. At this moment IDOC Status is "64".

Now i am processing the Status "64" IDOC by using SUBMIT (RBDAPP01). Here some errors are there from SAP processing stage, i.e Posting Period is not opened for Company Code .

Now the status will be "51". Then we corrected the error like Posting Period Date is opened. Now if try to process the same file , the file is not avalable in Application Path.

Here how we can delete after the status "53" .

Any enhancement for deletion of file based on the Status "53" or Submit (RBDAPP01) with in function module "IDOC_XML_FROM_FILE" .


Srinivas Bhavanam