cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member196331
Active Contributor
0 Kudos

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.




former_member424010
Participant

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

former_member196331
Active Contributor
0 Kudos

sorry Indnet means, Purchase Request.Me51n

former_member183424
Active Contributor
0 Kudos

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

former_member196331
Active Contributor
0 Kudos

Hi, Thanks for your reply.

In case of split valuation, please enter a valuation type

Accepted Solutions (0)

Answers (1)

Answers (1)

JL23
Active Contributor
0 Kudos

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

former_member196331
Active Contributor
0 Kudos

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.

JL23
Active Contributor
0 Kudos

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