Skip to Content

While creating the Purchase Indent not asking material Valuation type But using bapi asking.

Sep 14, 2017 at 01:03 PM


avatar image

Need Small help.
I have one scenario.
In me51n, End users are creating Indents, while saving if material is having Valuation category at mm, also, It is not asking Valuation type

Using Configuration they disabled the field, Even it is not giving any message too.
So indent ,I am able to create.

Now my turn is i need to create indent using Bpai ::BAPI_PR_CREATE
If the material is not having Valuation category, I can able to create indent using bapi.
But if the material is having Valuation category, At material master. I am not able to create Indent using bapi.

How could i solve the issue. Need valuable suggestions.

10 |10000 characters needed characters left characters exceeded

I'm not sure what you mean by creating an "Indent" I'm not familiar with that term. What is an Indent?


sorry Indnet means, Purchase Request.Me51n


Can you share the error message which is returned from bapi ?


Hi, Thanks for your reply.

In case of split valuation, please enter a valuation type

return-mseg.png (20.9 kB)
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jürgen L
Sep 15, 2017 at 06:03 AM

You have an error in row 4 and despite of that also a success message in Row 1

SAP says this is caused by wrong coding, see KBA: 1943499 - No document created when using BAPI even getting the message that document was created.

Try to fix that and see if the error will stay or vanish

Show 2 Share
10 |10000 characters needed characters left characters exceeded

I seen the note, What you told. if i use bapi, with the combination of material does not have valuation type and category,
I can able to create Indent. No problem. In my report i am using commit. Working fine.


It would eventually help if you list all fields that you use with its values.