Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

TO SET MULTIPLE RECORDS IN A SELECT-OPTION FIELD FROM AN INTERNAL TABLE ?

Hi,

i have problem when i want to pass an Inetrnal Table Data with selected Articles of one Program to Selection-Screen Field of another Program.i will use Submit statement to call that program which will create IDOCS for the data in the above Selected Article Internal Table.

i.e when i execute the calling program it will displays Articles for the selection criteria then i will select specific Articles then click on user defined Execute button IDoc will be created for those selected Articles by calling RBDSEMAT ( BD10 Transaction ) and send to the recipient system.For this to do i need to send the selected Articles Data as input to BD10 Transaction so that it will generate IDocs.

Please can anyone tell me how to do this.

Tags:
replied

Hi!

I can imagine it somehow like this:

RANGES: ra_matnr FOR mara-matnr.

...

REFRESH: ra_matnr.

MOVE 'I' TO ra_mara-sign.

MOVE 'EQ' TO ra_mara-option.

LOOP AT gt_mara INTO gs_mara.

MOVE gs_mara-matnr TO ra_matnr-low.

APPEND ra_matnr.

ENDLOOP.

IF NOT ra_matnr[] IS INITIAL.

SUBMIT RBDSEMAT

WITH matsel IN ra_matnr

AND RETURN.

ENDIF.

Regards

Tamá

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question