Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Transaction BDA5 - Document Status

Former Member
0 Likes
1,187

Hi All ,

We use BDA5 transaction to transfer the Document Info Record from one client to another .

Though we have many status in the document only one status is there in IDOC .

Can anyone suggest us how all the statuses can be sent to IDoc ...

Kindly suggest me with some example .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
911

Hi Durai,

I agree there is a possibility to see the Document Info Record's (DIR) status log -> that means what status'es the DIR went through.

However the DIR can have only one current status.

You can see the current status in the document data tab (Field Document Status).

You might have noticed that it is a single value.

So when you are sending an IDOC only the current status is sent.

Hope this answers your question.

Reward points if it does.

Rgds,

Prashanth.

SAP.

5 REPLIES 5
Read only

Former Member
0 Likes
912

Hi Durai,

I agree there is a possibility to see the Document Info Record's (DIR) status log -> that means what status'es the DIR went through.

However the DIR can have only one current status.

You can see the current status in the document data tab (Field Document Status).

You might have noticed that it is a single value.

So when you are sending an IDOC only the current status is sent.

Hope this answers your question.

Reward points if it does.

Rgds,

Prashanth.

SAP.

Read only

0 Likes
911

Hi ,

Thing is we are migrating data from one client to another so we need all the info ..

to track all the changes .

Kindly Suggest us in this regard

Read only

0 Likes
911

I had a look at the IDOC structure. I dont see a way you can do that using the current IDOC structure.

I think you will have to extend the standard idoc with your own segments and send the Status log as well.

If you do not know how to extend standard idocs, refer to SAP documentaion on ALE/Idoc or read the Arvind Nagpal book on Idocs.

You can also ask SAP this question (officially), by raising a CSS message.

Hope this helps. Reward points if it does.

Rgds,

Prashanth.

SAP

Read only

0 Likes
911

Hi Prabhu ,

Thanks for the Reply ...

I have another doubt ...

In my Inbound idoc i have added a new segment E1DRAWP using transaction we19 .

If i execute it doesn't gets passed on to the application ..

Kindly help me in this regard

Read only

0 Likes
911

Hi Durai,

Well you have extended your IDOC, but you need to write the code in the inbound side (Inbound FM) to process the new segment as well.

When you have exteneded your idoc, you have only made a provision to pass more data. You have not told the receiver FM what to do with the data.

So find out the receiver FM, and you will have to modify this, so that you read data from the incoming IDOC and update respective DB tables in your application.

Hope this helps.

And remember to award points.

Rgds,

Prabhu.