‎2006 Mar 16 9:16 PM
Hi,
I can create archive link with OAOH transaction. After I have created archive link, I am getting 'Document ID'. I want to create archive link and get Document ID by programatically. I can use batch input to create archive link, but I can not get document ID. What can I do? Is it possible to get Document ID using batch input? If not, how can I get the Document ID?
Thanks.
‎2006 Mar 16 10:06 PM
If you are using BDCDATA, then can you do a call transaction instead of batch input? That way you can get the messages back to you which you can read and find out the document id.
‎2006 Mar 17 7:31 AM
Srinavas,
After OAOH, the document id is not return with message, it can be seen on the screen. Is there any solution for this?
‎2006 Mar 17 7:34 AM
check if any parameter id is set with the document id that was created. If yes, you can retreive the same using GET PARAMETER statement.
You could also do a select on the database table where this value is stored and retreive from there.
Hope this helps.
Sudha
‎2006 Mar 17 7:57 AM
Getting from db table is a solution, I am already using this solution. But, getting from db is not solve our problem completely. The full solution should be getting the document id from OAOH. I have debugged OAOD to find which functions have used. But its implementation is complex, and there are a lot of controls. I can not trust to call OAOH functions directly. Why there is no BAPI to implement OAOH?