cancel
Showing results for 
Search instead for 
Did you mean: 

issue with Material in function : /SAPAPO/CIF_IRQ_REDUCT_INBOUND

Former Member
0 Kudos

Hi,

In function /SAPAPO/CIF_IRQ_REDUCT_INBOUND, I am entering material code like "000000000000950061" but when function executes the material code is converted into "0000000000000000000000000000000000950061".. char40

And function throws error : E /SAPAPO/MAT 001 Product 0000000000000000000000000000000000950061 does not exist

how to pass material code in above function?

I have tried all the combination but nothing works..

Please suggest me the solutions..

Thanks in advance...

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks..

The function '/SAPAPO/DM_EXTMAT_GET_MAT' is creating issue. It passes wrong material value and I did the necessary changes and the error is gone..

aparna_ranganathan
Active Contributor
0 Kudos

Raj

I do not know the basis of ABAP - but i have seen many custom programs in my company that have numeric material issue. We have logic to remove the leading zeros to solve the problem. In your case why dont you try passing just the material code without any zeros.

Thanks

Aparna