on 10-21-2008 9:37 AM
Hi experts,
I finally learned how to import data related with waste management with a legacy using tx. MM01. But something special happens when I trying to import specifications.
Making the recording for transaction CG02, I introduced the values "Specification type" and "Authorization group" on the spacefication header tab. Then, I selected the material assignments tab, and I fixed the material number.
Finally, to enter the characteristics, I pushed on the property tree icon and the following pop-up message is shown: "Data has been changed. Adopt changes?". And when I confirmed, the recording ends.
I need to continue entering values like waste catalog and code, etc. and I am required to record a new batch input starting with the number of material. Everything is OK.
How can keep on running this recording without creating a new one? The problem related to having 2 or more batch inputs, is that I can't know previously the internal number that the system gives when creating a specification.
I posted the code recorded:
T CG02
SAPLC100 1010 X
BDC_OKCODE =OCRE
BDC_SUBSCR SAPLC100 8010SUBHEAD
BDC_CURSOR RCGSELSCR-SUBID
RCGSELSCR-VALDAT 21.10.2008
BDC_SUBSCR SAPLC100 8020SUBSEARCH
RCGSELSCR-NAMLANGU ES
RCGSELSCR-NUMLANGU ES
RCGSELSCR-FRMLANGU ES
RCGSELSCR-MATLANGU ES
BDC_SUBSCR SAPLC100 8210EXTSEARCH
SAPLC104 1011 X
BDC_OKCODE /00
BDC_SUBSCR SAPLC14TS 8010TABSTRIP
BDC_SUBSCR SAPLC104 8010TABSTRIP_SUBSCREEN
BDC_CURSOR RCGRHSCR-SUBID
RCGRHSCR-SUBCAT ZPR_RESIDU
RCGRHSCR-AUTHGRP ALL
SAPLC104 1011 X
BDC_OKCODE =TB04
BDC_SUBSCR SAPLC14TS 8010TABSTRIP
BDC_SUBSCR SAPLC104 8010TABSTRIP_SUBSCREEN
BDC_CURSOR RCGRHSCR-SUBCHAR
RCGRHSCR-AUTHGRP ALL
SAPLC104 1011 X
BDC_OKCODE =TB05
BDC_SUBSCR SAPLC14TS 8010TABSTRIP
BDC_SUBSCR SAPLC148 8010TABSTRIP_SUBSCREEN
SAPLC104 1011 X
BDC_OKCODE /00
BDC_SUBSCR SAPLC14TS 8010TABSTRIP
BDC_SUBSCR SAPLC106 8010TABSTRIP_SUBSCREEN
BDC_CURSOR RCGMJIOT-MATNR(01)
RCGMJIOT-MATNR(01) 94000081
SAPLC104 1011 X
BDC_OKCODE =GOVR
BDC_SUBSCR SAPLC14TS 8010TABSTRIP
BDC_SUBSCR SAPLC106 8010TABSTRIP_SUBSCREEN
BDC_CURSOR RCGMJIOT-MATNR(01)
SAPLSPO1 0100 X
BDC_OKCODE =YES
Lots of thanks,
Javi
Edited by: Javier Rodruez Rodruez on Oct 21, 2008 10:37 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.