Skip to Content
author's profile photo Former Member
Former Member

CALL TRANSACTION 'V_SA'

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Nov 29, 2007 at 10:08 PM

    Have you tried:

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

    ?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 29, 2007 at 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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 10:15 PM

    Hi,

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

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.