2005 Jul 22 10:11 PM
Hi All,
I am trying to create a BDC program and here is the scenario
1. There is a custom transaction code I use to pull up Screen1. Screen1 is an input screen; where I use a variant to fill in the input screen and then click "Execute". This takes me to Screen2.
2. In screen2...which is like a file explorer; I right click on the folder, which displays the a set of upto 15 reports I can execute. I select a one report and execute.
All the above 2 steps are done in a BDC recording...so coming to the question.
In the BDC Transaction Recorder...the fields are filled something like this...
Program: program name
Screen: 0100
Startid = X
BDC_OKCODE is =%_GC 119 36
If I repeat the 1 & 2 steps as mentioned above and select the same report the BDC_OKCODE jumps up by 7 i.e.
BDC_OKCODE is %_GC 126 36
If I run the report in the batch mode, how will I know if it picks the right report since the value is always changing.
Thank you
Surender
2005 Jul 23 3:34 AM
2005 Jul 23 5:48 AM
Hi,
Try to process the recording that you created for the screen
number 2. I think it will not work(both the recordings). This will raise an error message and will exit.
Try to work out an mechanism through which you can get the name of the required report and execute it in the next screen.
Think the BDC_OKCODE is =%_GC 119 36, BDC_OKCODE is %_GC 126 36 will differ again if create a recording.
Cheers
Kathir~