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

sales order changed in batch input session

Former Member
0 Likes
534

Hi ,

We are developing a particular functionality which should NOT work for sales order changed by IDOC.

The issues is, some times the idoc coming from another system and fails, then it is manually processed by user.

But, when i see the changes done in the sales order (through IDOC) is done by USER (not system ) and in transaction VA02. After further analysis , we found that when idoc is manually processed , it uses batch input session.

So, the issue is this new functionality which we have added should not work for such sales order which are changed by IDOC. How can we check if the sales order is being changed in batch input session and not by using normal dialog session?

Hi ,

We are developing a particular functionality which should NOT work for sales order changed by IDOC.

The issues is, some times the idoc coming from another system and fails, then it is manually processed by user.

But, when i see the changes done in the sales order (through IDOC) is done by USER (not system ) and in transaction VA02. After further analysis , we found that when idoc is manually processed , it uses batch input session.

So, the issue is this new functionality which we have added should not work for such sales order which are changed by IDOC. How can we check if the sales order is being changed in batch input session and not by using normal dialog session?

1 REPLY 1
Read only

roberto_vacca2
Active Contributor
0 Likes
393

Hi.

Probably checking sy-batch value inside your functionality?

IF sy-batch NE 'X'.

-> Do not operations

ELSE

-> Do operations

ENDIF.

You have to register your batch -input flag information during IDOC modifications.

Hope to help.

Bye.