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

How to Handle the Screen Resolution while doing BDC ? ----- Very Urgent plz

How to Handle the Screen Resolution while doing BDC ?

Very Urgent

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 03:17 PM

    Hi,

    You need to use the CTU_PARAM structure alon with the call transaction statment.

    --------------------------------------------------------------------------------
    **Sturcture of CTU_PARAM
    **DISMODE : Display mode (like the MODE addition 'A' , 'E', 'N') 
    **UPDMODE: Update mode (like the UPDATE addition 'S', 'A') 
    **DEFSIZE : Use default window size (Here we are handling those transaction by giving default window size) 
    **RACOMMIT: Do not end transaction at COMMIT WORK 
    **NOBINPT : No batch input mode (that is, SY-BINPT = SPACE) 
    **NOBIEND : No batch input mode after the end of BDC data. 
    
    *The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values: 
    'X' Yes
    --------------------------------------------------------------------------------
    
    DATA : L_OPTION TYPE CTU_PARAMS, "Parameter string for runtime of CALL TRANSACTION
    L_SUBRC TYPE SYSUBRC.
    
    L_OPTION-DEFSIZE = 'X'.
    L_OPTION-DISMODE = P_MODE.
    L_OPTION-UPDMODE = 'S'.
    
    CALL TRANSACTION 'FK01' "FK01-Vendor master creation
    USING IT_BDCDATA
    MESSAGES INTO IT_MESSTAB
    OPTIONS FROM L_OPTION.

    Regards

    Vasanth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 03:26 PM

    Hi,

    Use this Code.

    DATA : opt TYPE ctu_params.

    opt-dismode = 'N'.

    opt-defsize = 'X'.

    CALL TRANSACTION tcode USING bdcdata OPTIONS FROM opt MESSAGES INTO messtab.

    Reward points if useful.

    bye

    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.