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

BAPI_SALESORDER_CHANGE - confirmation message

Former Member
0 Likes
602

Hi experts,

I'm using BAPI_SALESORDER_CHANGE not in background mode, but in an ALV program that lists, for example, a few items of a SO, and it is possible to check this items and execute the program from there, updating the tax code for the items of that SO. But, when the program calls the bapi, a confirmation message is poped up in the screen with the question:

"Change tax code or law for all items?"

I want to eliminate this message because it's appearing every time, for every item processed. We want to make default the changes for all items, without showing that message.

I tried to select in VBAP table, all items of that SO and I appended all them into the tables order_item_in and order_item_inx, hoping that with all items passed to the parameters tables the message could disappear, but I had no success. It still asks me if I want to change for all them, even all them being passed to the bapi.

The only situation where the message doesn't popup, is when the SO has only one item....of course.....lol!

I'm not passing any value to the schedule table, is there something to do about it?

Other info: SAP version is 4.6C.

It's kind of urgent this issue, if I don't give them an answer until next Mondey, I'll have to use Call Transaction in VA02 instead of BAPI.... =(

Many thanks!!

Eduardo

Hi experts,

I'm using BAPI_SALESORDER_CHANGE not in background mode, but in an ALV program that lists, for example, a few items of a SO, and it is possible to check this items and execute the program from there, updating the tax code for the items of that SO. But, when the program calls the bapi, a confirmation message is poped up in the screen with the question:

"Change tax code or law for all items?"

I want to eliminate this message because it's appearing every time, for every item processed. We want to make default the changes for all items, without showing that message.

I tried to select in VBAP table, all items of that SO and I appended all them into the tables order_item_in and order_item_inx, hoping that with all items passed to the parameters tables the message could disappear, but I had no success. It still asks me if I want to change for all them, even all them being passed to the bapi.

The only situation where the message doesn't popup, is when the SO has only one item....of course.....lol!

I'm not passing any value to the schedule table, is there something to do about it?

Other info: SAP version is 4.6C.

It's kind of urgent this issue, if I don't give them an answer until next Mondey, I'll have to use Call Transaction in VA02 instead of BAPI.... =(

Many thanks!!

Eduardo

2 REPLIES 2
Read only

Former Member
0 Likes
486

Hi....

Beside the deadline I was put in, I still want to know a way of solving this problem.

So, if someone think of something, pls tell me.....

Thanks!

Eduardo

Read only

0 Likes
486

Hi Eduardo, how are you?

Have you found a solution for this issue?

I have the same problem, if were possible, please help me.

Thanks,

Emerson