Application Development 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: 

PO Creation error: No sales and distribution data maintained for material

Former Member
0 Kudos

Hello,

I am creating PO through a program using FM BAPI_PO_CREATE1 and it returns an error <b>'No sales and distribution data maintained for material <material no.>'</b>.

I debugged the program and it passess through standard process (Eg. MEPO_DOC_PROCESS, PO_PROCESS, etc) and the cause of the problem is an empty EKPV internal table.

I have no idea what actually causes this or which data I am missing. I already filled out the shipping internal tables being passed to BAPI_PO_CREATE1. Could you please help? What causes this error? How can this be triggered manually in ME21N? Could this be a config issue whatsoever?

Thanks for your help.

Sincerely,

Ice

3 REPLIES 3

Former Member
0 Kudos

Hi,

try to use this MaterialNo in TCODE ME21N, and look if you get

any errors.

Regards, Dieter

Former Member
0 Kudos

Hi,

problem solved??

Regards, Dieter

0 Kudos

Hi I'm sorry. The error was not reproduced but my functional designer informed me that it is a data issue.

Thanks.