on 06-29-2015 4:08 PM
Hi,
I need a LSMW to update the reason of rejection related to only particular sales order position.
It's impossible with MASS and with batch input recording. In particular I've try to reply the recording of:
Thanks and regards.
Antonio
If you can't use MASS then you'd be better off writing an ABAP report for this. Even if you do get a recording for line item change, it's difficult to use it with LSMW. It's a well-known issue with recordings and BDC that it usually does not operate with item numbers but with the line numbers on the screen.
It is possible to update rejection reason using BAPI, I've answered many such posts on SCN over the years.
Besides, LSMW is a migration tool by nature, it's not meant for the regular data maintenance activities.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Antinio,
As indicated by SRK you can check for MASS as instructed, or else via sales order change bapi you can easily archive what you required please refer BAPI: BAPI_SALESORDER_CHANGE.
Please refer the below thread:
Standard bapi sales order change | SCN
https://scn.sap.com/thread/1156637
Further go to Tcode: SE37 - Enter - BAPI_SALESORDER_CHANGE- execute. After that set the required value as indicated below:
Under Import parameters
SALESDOCUMENT: Enter the sales document no.
ORDER_HEADER_INX: Enter UPDATEFLAG flag as U.
LOGIC_SWITCH: COND_HANDL as X
Under Tables
For ORDER_ITEM_IN
Use ITM_NUMBER as sales order item no.
MATERIAL as sales order materail code for perticulat item no.
REASON_REJ as per your requiredment
For ORDER_ITEM_INX
Enter - X for the above field user in ORDER_ITEM_IN
And Save it. and give the test data no. to your technical consultant and involve technical guy, he will develop a change program for you which will short out you issue.
Thanks.
SS
Not sure on your comments "It's impossible with MASS". Did you try before posting here? It is very much possible. If you are not sure, just search SCN or Google so that you will find how this can be achieved.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I need to update the reason of rejection with different value for different quotation's positions.
The source file have the following structure:
VBAK-VBELN (Quotation) VBAP-POSNR VBAP-ABGRU
20000100 10 21
20000100 30 22
I've tried with the following solutions:
Thanks for your help.
Regards.
Antonio
Do you think the people here will send you a ready to use LSMW or how shall your post be understood?
LSMW is workbench where you have to define the objects to your own needs, to your own source file structure. That is entirely your work. SCN has plenty documents to learn how such LSMW object is defined.
to your point 1 MASS "did not save" - Wow, this is really a qualified information, we have now room to guess where you could easily answer it yourself by looking into your system as SAP is actually talking with you, using error messages or writing a log which can be directly accessed from the final step in MASS
to 2. you need to analyze first and omit all the closed positions. you have to do the same with MASS and LSMW otherwise you get the same issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.