Conversion of IDoc Status


Hi Friends,

Generally the requirement to convert the status of IDoc would come in our regular work. Mainly we get the requirement from business to change the status to 68- Error-No further process. Generally IDocs which are not useful and which doesn’t need to be reprocessed will be changed to the status 68.

In this document, I am providing you to convert the status of IDoc with screen shots.

Process Steps:

  1. IDoc Status before running the program

The status of IDoc is 51 and it is shown in below screenIdoc coversion status 1

2.The program RC1_IDOC_SET_STATUS is used to convert the status. Program can be executed with T Code SA38 or SE38Program to convert IDoc status 2

  1. Once you execute the program, below screen will be appeared. Input the IDoc numbers which need to be converted and also the current status and new status.

Test run option is also available before the actual run

Idoc coversion status 3

  1. After clicking on execute button, below successful message will be observed. It will indicate the successful conversion

Idoc coversion status 4

  1. Now you can see the new status 68 for the IDoc.

Idoc coversion status 5

I hope the document is helpful for you.

Follow the blog for new updates and share with your friends to make it useful to many people.  Use Online shopping links in my blog whenever you shop in Flipkart, Amazon etc.

Regards,

Ganesh

ganesh.sap2015@gmail.com

How to get the Accounting document against Material document in SAP?


Requirement: Business has the requirement to get the list of Accounting documents against respective Material document(s). As we aware that whenever a Goods movement happens, a material document and accounting document will be generated automatically.

Solution:

In this document, I have explained the process of getting Accounting documents from Material documents with screen shots.

Important Table and Fields which are used in this document

Table – BKPF – Accounting Document Header

Input Screen: 

Input FieldsAWTYP– Reference Transaction. As we are giving Material document as input, reference transaction has to be given as MKPF (This field is an optional. You can pass only AWKEY to get the output because AWTYP will vary among the transactions)

AWKEY – Reference Key. Reference key has to be given the combination of Material document+Material document Year ( MBLNR+MJAHR). While givin the material document, you have to give the total number length (here it is 10)

BKPF Input Screen

 

Output screen: 

Important Output field:  BELNR-  Accounting Document Number

BKPF Output

 

Thanks for reading. I hope this document is helpful for you. Share the Blog with your friends in social network.

 

Regards,

Ganesh