Skip to Content
0
Oct 12, 2009 at 04:38 AM

fetching field BUZEI FROM EKBE based on BELNR(mateiral document / invoice

57 Views

Hi All ,

In the Table EKBE fields BELNR AND BUZEI last field

0052199973 0001

0052199973 0002

0052199973 0003

0052199973 0004

0052199978 0001

0052199978 0002

0052199978 0003

0052199978 0004

0052199978 0005

0052199979 0001

0052199979 0002

5100138190 0001

5100138191 0002

5100138192 0003

5100138192 0004

5100138192 0005

5100138192 0006

5100138192 0007

5100138192 0008

5100138193 0009

5100138194 0010

5100138194 0011

Based on the below logic if any Material document number come sin order like

0052199973 1.000

0052199973 2.000

0052199973 3.000

0052199973 4.000

working fine . My Problem is BELNR contains mateiral document number / Invoice document number . If is Invoice document like in the order buzei starts with 0002 or 0003 my logic is not working .

5100138191 0002

5100138192 0003

Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code

Edited by: Rob Burbank on Oct 19, 2009 9:58 AM