Application Development 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: 

Logic

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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