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

how to select radio button of All Items in FBL1N tcode through Program.

Hi Experts,

i have a problem regarding selecting radio button of All Items in T-code FBL1N. for example if we have to write an entry in company code then we have to use Set Parameter ID option but if i've to select a radio button then what should i write into program.

for selecting text box we write below code.

FORM usercommand USING rs_ucomm TYPE sy-ucomm

rs_selfield TYPE slis_selfield.

CASE rs_ucomm.

WHEN '&IC1'.

CASE rs_selfield-fieldname.

WHEN 'LIFNR'.

SET PARAMETER ID 'LIF' FIELD rs_selfield-value.

SET PARAMETER ID 'BUK' FIELD p_bukrs-low.

CALL TRANSACTION 'FBL1N' AND SKIP FIRST SCREEN.

ENDCASE.

ENDCASE.

ENDFORM. " usercommand

can you help me out for the code to select radio button of All items in FBL1N.

Thanks

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 Aug 13, 2008 at 11:40 AM

    Try call transaction using itab.

    Itab must be of type bdcdata and pass first screen values.

    Regards,

    Neelambari

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2008 at 04:49 AM

    Hello

    Replace this:

    WHEN 'LIFNR'.
    SET PARAMETER ID 'LIF' FIELD rs_selfield-value.
    SET PARAMETER ID 'BUK' FIELD p_bukrs-low.
    CALL TRANSACTION 'FBL1N' AND SKIP FIRST SCREEN.
    

    by this:

    submit RFITEMAP with KD_LIFNR-LOW = rs_selfield-value
    with KD_BUKRS-LOW = p_bukrs-low
    with X_AISEL = 'X'
    and return.
    

    P.s. RFITEMAP - it is report equialent t-code FBL1N

    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.