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

How can I put check conditions when using Function 'LDB_PROCESS'

Former Member
0 Likes
271

Hy experts,

I am using LDB_PROCESS and I don't know how to use check conditions in the callback forms.

for example:

FORM CALLBACK_QALS USING NAME TYPE LDBN-LDBNODE

WA TYPE QALS

EVT TYPE C

CHECK TYPE C.

CASE EVT.

WHEN 'G'.

MOVE-CORRESPONDING wa to ITAB_QALS.

APPEND ITAB_QALS.

ENDCASE.

endform. " CALLBACK_QALS

Have anyone an example of how I can use check conditions in this type of form???

thx in advance

1 REPLY 1
Read only

Former Member
0 Likes
249

Hi

U should indicate in which node (the GET) you need to check the condition, you form should have the following interface:

FORM <formname> USING <nodename> LIKE LDBCB-LDBNODE
                       <workarea> (LIKE ...)
                       <mode>
                       <selected>.

So the code should be:

CHECK <WORKAREA>-FIELD = ............

Max