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

Pricing Routine

Former Member
0 Likes
829

Hi All,

I am trying to add some code to a newly created custom routine.

Only for a selective range of customers  - say "1000" to "1790" I want to append the delivery numbers.

Something like this:

IF VBAK-KUNNR in ( RANGE OF CUSTOMERS )

THEN APPEND LIKP-VBELN.

What is the most efficient way of selecting the range in the IF condition without hardcoding?

Any ideas.

Thanks,

Meghna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
805

Hi

You can create set by GS01 transaction

Max

Run GS01

- Insert a name and the table with the value (KNA1)

- Press enter and insert the name of the field (KUNNR) for the range

- Then insert the ranges and save

Max

5 REPLIES 5
Read only

Former Member
0 Likes
806

Hi

You can create set by GS01 transaction

Max

Read only

0 Likes
805

Thanks Max.

I never knew this - could you please explain a little more?

Meghna

Read only

0 Likes
805

Run GS01

- Insert a name and the table with the value (KNA1)

- Press enter and insert the name of the field (KUNNR) for the range

- Then insert the ranges and save

Max

Read only

0 Likes
805

There are sevral fms to get the values from a set and move them in a range, try to check demo program RGSEX001

Max

Read only

0 Likes
805

Thanks Max.I'll try.

That helps.

Meghna