2010 Mar 06 10:24 AM
HI,
I have done recording for F-02. At the time of recording when i tried to save the data, system forced me to come out of that session. As a result of that i could not able to capture processing for SAVE in F-02. Noiw when i transferred that recording to program, the thing is that when i tried to execute it it stops with the error message "Select valid function " and here i need to manually save the document . The program is using CALL TRANSACTION METHOD . i want to automate that SAVE processing using BDC please guide me.
Thanks
Parag
2010 Mar 06 5:49 PM
Before clicking the SAVE button, you may use menu System and Status bar to determine the GUI status, display it, and see what okcode corresponds to this button (may be "BUCH" for example). Then, add BDC_OKCODE "BUCH" line at the end of your internal table before the CALL TRANSACTION (I guess you know what I mean).
HI,
I have done recording for F-02. At the time of recording when i tried to save the data, system forced me to come out of that session. As a result of that i could not able to capture processing for SAVE in F-02. Noiw when i transferred that recording to program, the thing is that when i tried to execute it it stops with the error message "Select valid function " and here i need to manually save the document . The program is using CALL TRANSACTION METHOD . i want to automate that SAVE processing using BDC please guide me.
Thanks
Parag
2010 Mar 06 5:49 PM
Before clicking the SAVE button, you may use menu System and Status bar to determine the GUI status, display it, and see what okcode corresponds to this button (may be "BUCH" for example). Then, add BDC_OKCODE "BUCH" line at the end of your internal table before the CALL TRANSACTION (I guess you know what I mean).
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |