cancel
Showing results for 
Search instead for 
Did you mean: 

Display of data in sap script

Former Member
0 Kudos

Hi all,

i want to print the data in the following manner

1.5000-0001

4000-0001

4000-0002

2. 5000-0002

4000-0003

4000-0004

where 5000-0001 , 5000-0002 = fifnished material codes.

4000-0001 , 4000-0002 , 4000-0003 , 4000-0004 = semi-finished material codes.

I have taken an internal table wa-stpo where i am storing the values 4000-0001 , 4000-0002 , 4000-0003 , 4000-0004

But while printing it prints all thes above material codes for both the finished materials in the followinf manner.

i.e 1.5000-0001

4000-0001

4000-0002

4000-0003

4000-0004

&

2. 5000-0002

4000-0001

4000-0002

4000-0003

4000-0004

But i want to print the semi-finished materials against a particular finished material.

can ne1 help me out in getting the said o/p.

i.e i want to print all the BOM components of a finished material under it whose BOM is created.

Its urgent.

Thanks & regards,

Purva

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

You must be using loop to print the semi finished material inside the finished material loop.

Put a check on the semifinished material internal table based on the relation between semi finished material and finisheed material.

Regards

Vijai

Former Member
0 Kudos

Hi Vijay,

I didnt get wat u want to say.

cn u plz brief me more in detail wat u want to say.

i hv used d same procedure wat u hv said.

but m not able to get u.

Plz reply.

Former Member
0 Kudos

Hi!

Check out the following tables for BOM:

MAST - material - BOM assignment

STAS - BOM details

STKO - BOM header

STPO - BOM items

Regards

Tamá