Application Development and Automation 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: 
Read only

First cancel Settlement in BAPI_SALESORDER_CREATEFROMDAT2

former_member207480
Participant
0 Likes
1,084

Hi,

While using the BAPI  BAPI_SALESORDER_CREATEFROMDAT2, I am getting the error

First cancel settlement

I have checked the things related to the error and configuration.

Is there any setting or configuration in sap?

Please suggest the same.

Regards

Amol Khochare

Hi,

While using the BAPI  BAPI_SALESORDER_CREATEFROMDAT2, I am getting the error

First cancel settlement

I have checked the things related to the error and configuration.

Is there any setting or configuration in sap?

Please suggest the same.

Regards

Amol Khochare

7 REPLIES 7
Read only

avanida
Product and Topic Expert
Product and Topic Expert
0 Likes
1,053

Hi Anmol,

Please check the below link.

BAPI_SALESORDER_CREATEFROMDAT2 DELIVERY PROPOSAL | SCN

Regards

Avanida

Read only

0 Likes
1,053

Hi Avanind,

I tried with the configuration. But, still getting the same error.

Regards

Amol Khochare

Read only

0 Likes
1,053

Did you try to change the sale order using VA02 i.e. externally without using BAPI.

Are you getting this same error ?

If yes, then this is something to be done from Functional Side.

And If no, check whether you have passed all the parameters correctly or not.

Read only

0 Likes
1,053

Hi Sijin,

The sales order is boooking via manual transaction VA01 or changing via VA02.

and I have checked all the parameters for passing to bapi. But, still the same error.

I have found the reason behind it that one month ago it was working fine. But, since we updated the server patch level, the SAP is showing so many errors in many transactions. The new patch is overwritten on existing one.

So, there are two notes which we have to implement or implement as original on server which are related to this error.

0000168247

0001457091

Thanks fyi.

Regards

Amol Khochare

Read only

0 Likes
1,053

All right,

Then the best thing to be done is to raise a Ticket to SAP using the SAP Marketplace account.

They will definitely provide you with a solution.

Read only

former_member207480
Participant
0 Likes
1,053

Yes. I am going to do the same.

Thank u.

Regards

Amol Khochare

Read only

avanida
Product and Topic Expert
Product and Topic Expert
0 Likes
1,053

Hi Anmol,

Try with putting where used on the BAPI and check is this BAPI used nay where in the system, If used then what are the exactly parameter used and compare with your code.

Because there may be some problem with input parametres.

Regards

Avanida