2006 Sep 12 8:06 AM
Hi all,
In the exit 'USEREXIT_SAVE_DOCUMENT' how to fetch sale order data in user-defined internal tables. I need to convert it to XML format after that.
Regards
2006 Sep 12 8:33 AM
2006 Sep 12 8:09 AM
check table XVBAP+XVBAK,u will get the data , after that u can convert into XML based on ur logic.
Regards
Prabhu
2006 Sep 12 8:33 AM
2006 Sep 12 8:37 AM
Hi
Thanks for the reply,
Whenever we create a sale order, i wanted to download it to the logical system in XML format & it should be event based, without using exits. Is it possible
2006 Sep 12 8:44 AM
Hi Rafi,
In ur requirement i think best is to implement the user exit which will be real time. The moment the sales order is created it will trigger your logic.
If you want to do outside the exit you have will have to write a custom program which picks up the Sales data ( may be you can use BAPI to get the details ) and then create your XML program.
Cheers
VJ
2006 Sep 12 8:50 AM
Hi
We should not use exits, instead we need to write a program manually which fetches data of sale order.
2006 Sep 12 9:08 AM
Hi Rafi,
You can create an output type which will trigger at the time sales order gets created and attach your XML download program to it, in that case as soon as sales order is created this output type will be executed and file will be generated.
For for you have to take help of functional guys to create automatic output type and assigned your program to it.
Regards
Atul
2006 Sep 12 9:37 AM
Hi Atul,
I think output type is BA00, and the standard program is RSNASTED. But the problem is RSNASTED gives output in SAPScript, i wanted to download it to logical system, can u tell me how do i do that.
Regards
2006 Sep 12 9:42 AM
Hi Rafi,
Not a problem you can create one more output type and assigned your Z program to it.
Atul
2006 Sep 12 8:38 AM
Hi,
all the sales order data will be in XVBAK and XVBAP internal tables, from those tables you can get the data and implement the logic to convert it to XML.
Regards
vijay
2006 Sep 12 9:45 AM
Hi Rafi,
First send the salesorder data to SAPscript then you can convert it to XML Format.
Regards:-
Santosh
2006 Sep 12 10:01 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |