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

Logic

Former Member
0 Likes
384

Hi Experts,

I am facing one problem. I need to write the logic for the following case.

Based on object name and No. range no. I need to pick from number and To number from the table NRIV. After that from VEKP table I need to give from number and to number which I got from NRIV

As range to EXIDV field in the VEKP table and I need to pick recent handling unit number. Please help me about how I can build the logic for this.

Thanks a lot.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
361

select single A B( REPLACE WITH ORIGIONAL FIELDS WHICH YOU REQUIRE) from NRIV into (w_from, w_to) where objectname eq 'objectname' and

rangeno eq rangeno.

SELECT MAX(HANDLING UNIT NUMBER) FROM VEKP

INTO W_HANDLING_NUMBER WHERE

EXIDV GE W_FROM AND

EXDIV LE W_TO.

IT SURELY RESOLVE YOUR PROBLEM,

REWARD IF USEFUL.

AMIT SINGLA

1 REPLY 1
Read only

Former Member
0 Likes
362

select single A B( REPLACE WITH ORIGIONAL FIELDS WHICH YOU REQUIRE) from NRIV into (w_from, w_to) where objectname eq 'objectname' and

rangeno eq rangeno.

SELECT MAX(HANDLING UNIT NUMBER) FROM VEKP

INTO W_HANDLING_NUMBER WHERE

EXIDV GE W_FROM AND

EXDIV LE W_TO.

IT SURELY RESOLVE YOUR PROBLEM,

REWARD IF USEFUL.

AMIT SINGLA