Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8499

Re: how to work with loops if certain condition to be fulfill.

$
0
0

Hi Rajkumar,

thanks for reply

 

i think you are not clear with my requirment:

i will try to explain below:

 

1.first i need to follow the sequence of storage loc from itab1.means for materila m1 first of all it is having s1 as sto loc in seq 01.

2.hence for loc s1 ,it should go to itab2 and should check for qty in sto loc s1 with condition

    a. the date is 000000.

    b. if sufficient qty is there let say (requirement is for 6),if it finds 1 or 2 ,then

    c. it should now go back to itab1 and check with seq 02 means sto loc s2.

    d. now for s2 it should search the qty with date 000000.

   e. if sufficient qty is there there come out ,otherwise

   f. again it should go to itab1 and check with seq 03 means sto loc s3.(but as we can see that once it

      will go and check with s3 the mrp area is diff from s1 and s2.

   g...hence now before checking with s3 it should check with sto loc s1 with date ne 0000000.

   h. after that it should check with s2 with date ne 0000000.

   i. after that if requirement of qty is not fulfilled then

   j..it should go to itab 1 and check with se03 with sto loc s3

  k. for s3 it should check in itab2 the qty with date is 0000000.

  l. if not sufficient qty then again i itab1 with seq 04 with s4

 

it means it has to always follow the seq from itab1 ,but for itab2 it should go with first where date is 00000 then with date ne 0000000. for the same mrp area then for next......

 

 

please let me know if u are clear with requiments

 

if possible please help me


Viewing all articles
Browse latest Browse all 8499

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>