cancel
Showing results for 
Search instead for 
Did you mean: 

No. of pallets

Former Member
0 Kudos

Hi abapers,

i am developing a smartform in which i have to find no. of pallets for a quantity.How can u do this. wat is no. of pallets mean and how can u exactly find the value.please send me the reply as soon as possible.any helpful answer is also welcome.

Ajith.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

i solved the problem using a function module.

Former Member
0 Kudos

data: package_counter type i.

data: package_total_count type i.

data: pallet_counter type i.

data: pallet_total_count type i.

CLEAR: PALLET_COUNTER, PACKAGE_COUNTER.

CLEAR: PALLET_COUNTER, PACKAGE_COUNTER.

SELECT * FROM ZSDPO INTO TABLE IZSDPO

WHERE KUNNR = VBDKL-KUNAG AND

VBEGDAT <= SY-DATUM AND

  • VBEGDAT >= SY-DATUM.

VENDDAT >= SY-DATUM.

  • get pallet/package total count

CLEAR: PALLET_TOTAL_COUNT, PACKAGE_TOTAL_COUNT.

LOOP AT XVBPLK.

CASE XVBPLK-VHART.

WHEN 'PALT'.

PALLET_TOTAL_COUNT = PALLET_TOTAL_COUNT + 1.

WHEN 'CTN'.

PACKAGE_TOTAL_COUNT = PACKAGE_TOTAL_COUNT + 1.

ENDCASE.

ENDLOOP.

Former Member
0 Kudos

Hi ,

i looking the above said using alternate units of measure

Message was edited by:

ajith saxena

Former Member
0 Kudos

HI ajith,

i did the same scenario using MARM table entries .

u get it by using UMREZ/UMREN .but i am not getting the right value .but this will give u the right way.this values come from MARM table using alternate units of measure

alternate units of measure come from material views additional data.

Hope u follow this

Former Member
0 Kudos

hi prasad,

i am not getting the required answer.

if my quantity is hundred and if iam giving 1 PAl = 20 Cs then my no. of pallets should be 5 but it is giving 20.is there anything more that weshould do .please help me.