11-29-2007 10:54 AM
Hi Gurus.
I have the next code for the log:
PERFORM bdc_dynpro USING 'SDSAMPRO' '1000'.
PERFORM bdc_field USING 'SAMNR-LOW'
l_sammg.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ONLI'.
PERFORM bdc_dynpro USING 'SAPLSLVC_FULLSCREEN' '0500'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=EPRO'.
opt-dismode = 'N'.
opt-nobinpt = 'X'.
opt-defsize = 'X'.
CALL TRANSACTION 'V_SA' USING i_bitab OPTIONS FROM opt
* MODE d_modo UPDATE 'S'
MESSAGES INTO i_message.
If opt-dismode = A i can see the dynpros and the final dynpro, if opt-dismode = N i can`t see the dynpros, but i want that only the final dynpro is visible.
How i can do it???
Thanks.
Regarsd
11-29-2007 10:08 PM
11-29-2007 10:13 PM
Totally we;ve 3 option
A - it will display all Screens
N - It will dispaly nothing, just you need to see the log
E - It will show the screen where the error occurs.
In your case u want to see the last screen, which is not possible.
Thanks
Pavan
11-30-2007 2:31 PM
It <u>is</u> possible to see the last screen - but what you have to do (what I did not say but Gabriel did - see below) is not to provide any OK code in bdc data for the last screen that you want to see.
I'm using this for example with a batch input for transaction MB21 - to fill the data of the new reservation automatically and then leave the screen to the user eyes to let him/her do the rest.
regards
11-29-2007 10:15 PM
Hi,
You can't see a particular screen, by using MODE 'E', you can see error screens.
Regards,
Satish
11-29-2007 10:25 PM
Hello,
Dont put OK CODE on the last screen and call the batch input like this
CALL TRANSACTION 'V_SA' USING i_bitab MODE 'E'.
Bye
Gabriel