Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CALL TRANSACTION 'V_SA'

Former Member
0 Kudos

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

5 REPLIES 5

maciej_domagaa
Contributor
0 Kudos

Have you tried:

CALL TRANSACTION 'V_SA' USING i_bitab MODE 'E'.

?

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

Hi,

You can't see a particular screen, by using MODE 'E', you can see error screens.

Regards,

Satish

Former Member
0 Kudos

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