Application Development 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: 

How to revert back deleted Segment of BD87(t-code) ?

0 Kudos
166

Hello all,

I deleted the whole contents segment of bd87 ,now I want to revert back the segment again that i deleted ...How to do that?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
83

Can you please elaborate the question? Did you edit the IDOC data ?

7 REPLIES 7

Former Member
0 Kudos
84

Can you please elaborate the question? Did you edit the IDOC data ?

0 Kudos
83

Yes i deleted the whole contents of segment.

0 Kudos
83

When you edit IDOC - it will create a copy of original IDOC i believe in 33 status . Refer to the IDOC and add the contents back.

if you  wanted to do it pragmatically - use FM .

EDI_DOCUMENT_OPEN_FOR_EDIT

EDI_CHANGE_DATA_SEGMENTS

EDI_DOCUMENT_CLOSE_EDIT.

0 Kudos
83

But i am not able to see the segment ,after deleting the whole data.

0 Kudos
83

Are you saying we can get all the data related to idoc back again,includIng all the segmnets details and all using 33 status?

0 Kudos
83

Can you send me any link where it is shown the step by step process to retrieve the original version of any idoc using status 33?

0 Kudos
83

Can you query EDIDS table with your IDOC number. If it is inbound IDOC you should be able to see the original IDOC number with 69 status in parameter3 (STAPA3) field ?

Did you delete the data using GUI or debug mode?