on 01-30-2007 11:52 AM
Hi guys,
I have a big problem that i could really need some help, i use a BAPI:
BAPI_ACC_DOCUMENT_POST to create documents, in same cases depending on the accounts used there are some CO documents created and their equivalent idocs.
I searched everywhere but i didn't find any way to get the number of the idoc generated by the CO document that is created, does anyone have any suggestions on what to do ???
In regular Documents i use this Function:
SREL_GET_NEXT_RELATIONS
but in this case it doesn't work even after many trials !
I would really aprecciate the help !
Thanks !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
If you are trying to find the idoc number that created a document, there is a way you can find it out.
Note down the important field details of the document that would help you identify the idoc that created it.
Go to transaction WE05. Using the date range the document got posted, pull up a list of idocs.
Then click on the List Specific segment, put in the segment name of the idoc and click continue.
It will bring up a table of table. You can find the row that contains the field information you have and by that approach find the idoc that created the document.
Hope this helps
Deepa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, its the idoc number i really need but...... i was trying to avoid WE05 and WE09 as a way to get idoc number from the respective segment because i am going to need to extract this idoc number in a heavy batch job... and any gain of speed i can arrange is very valuable!
But if i there isn't any other way .... so it will be done.
You talked about the date range of the document, what is the most accurate and eficient dates to use .. is the document posting date ? and if i am migrating previosly created documents from one machine to another.... what date should i use ?
Thanks for the Help,
Nuno Jesus
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.