2021 May 11 11:50 AM
Hi All,
Edited Question with details -
I have a requirement where I have a to create a BDC program to pass data from text file into transaction O402 and in this transaction, will have to select UPLOAD button to upload another text file with few entries in it, which should update the fields of a subscreen. I can populate the main screen with first text file but I am not able to find solution on how to update the subscreen with the text file after the upload button is clicked. And all this has to be done through BDC call transaction. Please guide me. If there is any reference material or code will help me greatly.
Here is the recording for reference -
SAPLOIIC0 150X
BDC_OKCODE =PCUP
BDC_SUBSCR SAPLOIIC 0151DETSUB1
BDC_CURSOR ROIISLVCKOR-CALNAME
SAPLOIIC0 150X
BDC_OKCODE =ENTE
BDC_SUBSCR SAPLOIIC 0151DETSUB1
BDC_CURSOR ROIISLVCKOR-CALNAME
(Previously posted -I have a requirement, where i need to upload a text file in one of the subscreen after clicking on the UPLOAD button on the toolbar. This has to be accomplished using BDC. Please let me know how can i accomplish this.)
Thank you,
CB
Hi All,
Edited Question with details -
I have a requirement where I have a to create a BDC program to pass data from text file into transaction O402 and in this transaction, will have to select UPLOAD button to upload another text file with few entries in it, which should update the fields of a subscreen. I can populate the main screen with first text file but I am not able to find solution on how to update the subscreen with the text file after the upload button is clicked. And all this has to be done through BDC call transaction. Please guide me. If there is any reference material or code will help me greatly.
Here is the recording for reference -
SAPLOIIC0 150X
BDC_OKCODE =PCUP
BDC_SUBSCR SAPLOIIC 0151DETSUB1
BDC_CURSOR ROIISLVCKOR-CALNAME
SAPLOIIC0 150X
BDC_OKCODE =ENTE
BDC_SUBSCR SAPLOIIC 0151DETSUB1
BDC_CURSOR ROIISLVCKOR-CALNAME
(Previously posted -I have a requirement, where i need to upload a text file in one of the subscreen after clicking on the UPLOAD button on the toolbar. This has to be accomplished using BDC. Please let me know how can i accomplish this.)
Thank you,
CB
2021 May 11 1:35 PM
I'm pretty sure nobody can help you with so little information...
2021 May 11 2:08 PM
I have a requirement where I have a to create a BDC program to pass data from text file into transaction O402 and in this transaction, will have to select UPLOAD button to upload another text file with few entries in it, which should update the fields of a subscreen. I can populate the main screen with first text file but I am not able to find solution on how to update the subscreen with the text file after the upload button is clicked. And all this has to be done through BDC call transaction. Please guide me. If there is any reference material or code will help me greatly.
Here is the recording for reference -
SAPLOIIC0 150X
BDC_OKCODE =PCUP
BDC_SUBSCR SAPLOIIC 0151DETSUB1
BDC_CURSOR ROIISLVCKOR-CALNAME
SAPLOIIC0 150X
BDC_OKCODE =ENTE
BDC_SUBSCR SAPLOIIC 0151DETSUB1
BDC_CURSOR ROIISLVCKOR-CALNAME
2021 May 11 2:59 PM
Thanks. Note that you can edit your question as long as nobody posts an "answer", as some people are reluctant at looking at the comments.
2021 May 11 3:07 PM
I know that you can do it with SAP GUI Scripting because there's an option to use the SAP dialog instead of Windows dialog to select a file (menu SAP GUI settings and actions > Options > Scripting > Show native Windows dialogs), but not with Batch Input. Do you have SAP GUI Scripting enabled, can you use it? (menu SAP GUI settings and actions > Script Recording and Playback)
NB: SAP GUI Scripting must run in foreground.
2021 Jun 04 12:30 AM
Upload a screenshot of the screen you are facing challenges with. It will be easier for us to understand your problem.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |