2014 Dec 02 10:28 AM
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?
2014 Dec 02 10:46 AM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |