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

MB90 get processing mode in z program.

I am executing MB90 transaction code and want VERMO ( Processing Mode ) field value to capture or get in my Z Program (ZSAPM07DR) i tried debugging my code but unable to find VERMO field value there help required ?

What i want to get this processing mode in my ZProgram and if VERMO field value = 2 change my existing smartform to other smartform thats my ultimate target.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 06, 2014 at 11:57 AM

    Hi Saad,

    please see this code, from the report program REPORT MM70AMEA,

    i think you should get it.

    INITIALIZATION.

    NASE-KAPPL = APPL.

    *A1. Nachrichten

    SELECTION-SCREEN BEGIN OF BLOCK MESSAGE WITH FRAME TITLE TEXT-001.

    SELECT-OPTIONS:

    RG_KSCHL FOR NASE-KSCHL,

    RG_NACHA FOR NASE-NACHA.

    PARAMETERS:

    PM_NSORT LIKE NASE-SORME DEFAULT '01' OBLIGATORY,

    PM_VERMO LIKE NASE-VERMO DEFAULT '1' OBLIGATORY,

    PM_VERDI LIKE NASE-VERDI NO-DISPLAY.

    SELECTION-SCREEN END OF BLOCK MESSAGE.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 06, 2014 at 05:57 PM

    Hi,

    try to use variable PM_VERMO in your program like this:

    l_var_name = '(MM70AMEA)PM_VERMO'.

    assign (l_var_name) to <f1>.

    l_vermo = <f1>.

    Adi.

    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.