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

Reg : code

Former Member
0 Likes
415

Hi Experts ,

can u pls explain the code

sy-subrc = 4.

IF komp-kposn NE 0.

CHECK: t001-bukrs = t001k-bukrs.

CHECK: komp-werks NE space.

CHECK: komp-evrwr = 'X'.

CHECK: komp-fareg NA '45'.

ENDIF.

Regs

Narayana Murthy

2 REPLIES 2
Read only

Former Member
0 Likes
383

this particular piece of code has no significance.

If any of the check or if condition fails then the control doesnt goes ahead and the code written after that wont get executed.

Plw reward points if helpful

Read only

Former Member
0 Likes
383

Hi Narayana,

Where did you get this code.

Can you paste the full code or the name of program if it is a standard program then we can tell the overall significance of this code, if any related to the program.

Regards,

Atish