2007 Dec 29 10:26 AM
Hi Experts
We have seen some of the document numbers can be copied to immediately after the next transaction.
How to do it in our own transaction to standard transaction, and standard transaction to our own transactions.
Pls help me on this.,
Thanks in advance.
Regards
Rajaram
Hi Experts
We have seen some of the document numbers can be copied to immediately after the next transaction.
How to do it in our own transaction to standard transaction, and standard transaction to our own transactions.
Pls help me on this.,
Thanks in advance.
Regards
Rajaram
2007 Dec 29 12:53 PM
Try using Export to Memory and Later Import from Memory
But the tricky part would be find a proper exit in standard transaction to do that part.
Le'me know the exact scenario and we'll look further.
Vinodh Balakrishnan
2007 Dec 29 8:01 PM
Typically this is handled by parameter ids.
Screen fields can have attriubutes that are the parameter id, and whether the field is set or get parameter. You can see this in the screen painter. If an SAP standard transaction has the field as a set parameter ID, it will be set to memory and if you want to read it in your custom program, just check what the parameter ID is, and then use the statement: get parameter id <pid> value <variable>. (You might want to check the F1 help for the exact syntax). Or in your own custom screen, you can set the same attributes and this should work as well.
Hope this didn't confuse things too much.
Best Regards,
Chris H.
2007 Dec 30 12:21 AM
Hi Raja,
many transactions issue success messages like "document nnn has been created". You can use SY-MSGV1 to get the value.
Regards,
Clemens
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |