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

Modifying a price condicition via function modules.

SantiMoreno
Participant
0 Likes
519

Hi, everybody.

Probably, the same issue I'm posting it's been already posted in the past (but I cannot find it), so, the answer could be easy (and the easiest to be awarded).

The issue is that I'm building a sales order via BAPI (CREATEFROMDAT2) and it's running properly. The problem comes when later, I have to modify a price condition (to say it properly, I have to delete it).

I've made a lotta tests but I haven't been able to delete it (via function module SD_SALESORDER_CHANGE, because the proper BAPI doesn't work properly).

So, does anyone of you know how to do it... which structures and which values should I use, whether I have to modify anything in customizing, etc.

I'll promise to award good answers.

Thank for all.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
485

Hi,

In the BAPI X conditions parameter UPDATEFLAG, did you try setting the to D..

I am talking about the bapi BAPI_SALESORDER_CHANGE

Thanks,

Naren

2 REPLIES 2
Read only

Former Member
0 Likes
486

Hi,

In the BAPI X conditions parameter UPDATEFLAG, did you try setting the to D..

I am talking about the bapi BAPI_SALESORDER_CHANGE

Thanks,

Naren

Read only

0 Likes
485

Hi, Naren.

First of all, thanks for your interest...

Yes, I've tried the D option in that structure (but I've done it in the module function SD_SALESDOCUMENT_CHANGE, because the BAPI you've mentioned does not work properly and returns a dump).

Thanks again.