Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

please give a hand !

Former Member
0 Likes
848

Hello :

Thank you in advance for all your replies.

I met a peice of code , but do not know how SUPPLY and DEMAND work,

would you please explain it better with some examples.

Thank you very much.

********************

SUPPLY i_dummy = 'X' TO CONTEXT gcon_tr_sys_params.

DEMAND e_systemedit = systemedit

e_systemname = systemname

e_systemtype = systemtype

e_client_edit = system_client_edit

e_cliinddep_edit = sys_cliinddep_edit

e_client_role = system_client_role

FROM CONTEXT gcon_tr_sys_params

MESSAGES INTO lt_symsg.

**********************

Best regards.

Frank

1 ACCEPTED SOLUTION

Hello :

Thank you in advance for all your replies.

I met a peice of code , but do not know how SUPPLY and DEMAND work,

would you please explain it better with some examples.

Thank you very much.

********************

SUPPLY i_dummy = 'X' TO CONTEXT gcon_tr_sys_params.

DEMAND e_systemedit = systemedit

e_systemname = systemname

e_systemtype = systemtype

e_client_edit = system_client_edit

e_cliinddep_edit = sys_cliinddep_edit

e_client_role = system_client_role

FROM CONTEXT gcon_tr_sys_params

MESSAGES INTO lt_symsg.

**********************

Best regards.

Frank

3 REPLIES 3
Read only

Former Member
0 Likes
738

If you go to F1 help then it explains with example....Basically it is Context (transaction SE33) which is used for retrieving data by supplying data, just like query.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
738

There are samples in [ABAP Programming (BC-ABA)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf] at pages 1249-1251

Regards