LSMW for MB1C with Batch & Characterstic

Dear All,
I want to upload the initial stock with movement type 561.My materials are Batch Managed and the Batch are having certain Characterstic.So i want to upload the Stock with Batch Characterstic.This is not possible with recording in LSMW.Can anybody help me out in making the LSMW.
Thanks
Jagmohan

Try this code
REPORT zosmm_carga_caract_lote NO STANDARD PAGE HEADING LINE-SIZE 100.
Global Parameters
DATA: BEGIN OF t_message OCCURS 0.
INCLUDE STRUCTURE bapiret2.
DATA: END OF t_message.
DATA: BEGIN OF t_archivo OCCURS 0,
lineas(42),
END OF t_archivo.
DATA: BEGIN OF t_carga OCCURS 0,
charg(10),
valor(30),
END OF t_carga.
DATA: BEGIN OF t_caract OCCURS 40,
atnam LIKE cabn-atnam,
atinn LIKE cabn-atinn,
atfor LIKE cabn-atfor,
anzst LIKE cabn-anzst,
END OF t_caract.
BAPI structures
DATA: BEGIN OF wa_allocvaluescharnew OCCURS 0.
INCLUDE STRUCTURE bapi1003_alloc_values_char.
DATA: END OF wa_allocvaluescharnew.
DATA: BEGIN OF wa_allocvaluesnumnew OCCURS 0.
INCLUDE STRUCTURE bapi1003_alloc_values_num.
DATA: END OF wa_allocvaluesnumnew.
DATA: BEGIN OF wa_allocvaluescurrnew OCCURS 0.
INCLUDE STRUCTURE bapi1003_alloc_values_curr.
DATA: END OF wa_allocvaluescurrnew.
Variables
DATA: lineas TYPE i,
w_rc LIKE sy-subrc,
mens LIKE message,
date_err(1) TYPE c,
swc(1).
DATA: c_totreg(6),
c_vanreg(6).
DATA: v_atinn LIKE cabn-atinn,
v_atfor LIKE cabn-atfor,
v_anzst LIKE cabn-anzst.
SELECTION-SCREEN
SELECTION-SCREEN BEGIN OF BLOCK uno WITH FRAME TITLE text-001.
PARAMETER: p_matnr LIKE mara-matnr OBLIGATORY,
p_atnam LIKE cabn-atnam OBLIGATORY.
PARAMETER: p_file LIKE rlgrap-filename OBLIGATORY.
SELECTION-SCREEN END OF BLOCK uno.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
PERFORM buscar_archivo USING p_file.
START-OF-SELECTION.
START-OF-SELECTION.
REFRESH: t_archivo, t_carga, t_caract.
*** Characteristics Values
SELECT SINGLE atinn atfor anzst
INTO (v_atinn, v_atfor, v_anzst)
FROM cabn
WHERE atnam = p_atnam.
IF sy-subrc NE 0.
MESSAGE i899(m3) WITH 'Not Valid Characteritics'.
ELSE.
*** Read input and upload
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = p_file
filetype = 'ASC'
TABLES
data_tab = t_archivo
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc EQ 0.
LOOP AT t_archivo.
CLEAR t_carga.
SPLIT t_archivo AT ';'
INTO t_carga-charg t_carga-valor.
APPEND t_carga.
ENDLOOP.
DESCRIBE TABLE t_carga LINES lineas.
IF lineas > 0.
PERFORM clasificar_lotes.
ELSE.
MESSAGE i899(m3) WITH 'Doesn't exist batch to process'.
ENDIF.
ELSE.
MESSAGE i899(m3) WITH 'Error on upload'.
ENDIF.
ENDIF.
TOP-OF-PAGE
TOP-OF-PAGE.
WRITE: /'TITLE', sy-datum, sy-uname NO-GAP.
WRITE: /'Material: ', p_matnr.
WRITE: /'Characteristics: ', p_atnam.
SKIP.
WRITE: 01 'Batch', 11 'Valor', 30 'Log'.
ULINE.
*& Form clasificar_lotes
FORM clasificar_lotes.
DATA: w_matnr LIKE mara-matnr,
w_cuobjbm LIKE mch1-cuobj_bm,
w_obtab LIKE inob-obtab,
w_objek LIKE inob-objek,
w_class LIKE klah-class,
w_clint LIKE kssk-clint,
w_valor(8),
w_mbapi(80),
logline(100).
CLEAR: t_message.
LOOP AT t_carga WHERE charg IS NOT INITIAL.
REFRESH: wa_allocvaluescharnew,
wa_allocvaluesnumnew,
wa_allocvaluescurrnew.
CLEAR: wa_allocvaluescharnew,
wa_allocvaluesnumnew,
wa_allocvaluescurrnew,
date_err,
w_mbapi,
logline.
CONCATENATE t_carga-charg t_carga-valor
INTO logline SEPARATED BY space.
*** Find object to classified
SELECT SINGLE cuobj_bm matnr
INTO (w_cuobjbm, w_matnr)
FROM mch1
WHERE charg = t_carga-charg
AND matnr = p_matnr.
IF sy-subrc EQ 0.
SELECT SINGLE obtab objek
INTO (w_obtab,w_objek)
FROM inob
WHERE cuobj = w_cuobjbm.
*** Find class from object
SELECT SINGLE clint INTO w_clint
FROM kssk
WHERE objek = w_cuobjbm
AND mafid = 'O'
AND klart = '023'.
IF sy-subrc = 0.
SELECT SINGLE class INTO w_class
FROM klah
WHERE clint = w_clint.
TRANSLATE t_carga-valor USING ',.'.
CONDENSE t_carga-valor.
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
EXPORTING
objectkey = w_objek
objecttable = 'MCH1'
classnum = w_class
classtype = '023'
KEYDATE = SY-DATUM
UNVALUATED_CHARS = ' '
language = sy-langu
IMPORTING
STATUS =
STANDARDCLASS =
TABLES
allocvaluesnum = wa_allocvaluesnumnew
allocvalueschar = wa_allocvaluescharnew
allocvaluescurr = wa_allocvaluescurrnew
return = t_message.
*** Define characteristics type
CASE v_atfor.
WHEN 'CHAR' OR 'BOOL'.
wa_allocvaluescharnew-charact = p_atnam.
wa_allocvaluescharnew-value_char = t_carga-valor.
APPEND wa_allocvaluescharnew.
LOOP AT wa_allocvaluescharnew WHERE charact = p_atnam.
wa_allocvaluescharnew-value_char = t_carga-valor.
wa_allocvaluescharnew-value_neutral = t_carga-valor.
MODIFY wa_allocvaluescharnew.
ENDLOOP.
WHEN 'NUM' OR 'TIME'.
wa_allocvaluesnumnew-charact = p_atnam.
wa_allocvaluesnumnew-value_from = t_carga-valor.
APPEND wa_allocvaluesnumnew.
LOOP AT wa_allocvaluesnumnew WHERE charact = p_atnam.
wa_allocvaluesnumnew-value_from = t_carga-valor.
wa_allocvaluesnumnew-value_from = t_carga-valor.
MODIFY wa_allocvaluesnumnew.
ENDLOOP.
WHEN 'DATE'.
CALL FUNCTION 'CONVERT_DATE_TO_INTERN_FORMAT'
EXPORTING
datum = t_carga-valor
dtype = 'DATS'
IMPORTING
error = date_err
idate = w_valor
messg = mens.
IF date_err = 'X'.
CONCATENATE logline '-> Error: Fecha no valida'
INTO logline SEPARATED BY space.
ENDIF.
wa_allocvaluesnumnew-charact = p_atnam.
wa_allocvaluesnumnew-value_from = w_valor.
APPEND wa_allocvaluesnumnew.
LOOP AT wa_allocvaluesnumnew WHERE charact = p_atnam.
wa_allocvaluesnumnew-value_from = w_valor.
MODIFY wa_allocvaluesnumnew.
ENDLOOP.
WHEN 'CURR'.
wa_allocvaluescurrnew-charact = p_atnam.
wa_allocvaluescurrnew-value_from = t_carga-valor.
APPEND wa_allocvaluescurrnew.
LOOP AT wa_allocvaluescurrnew WHERE charact = p_atnam.
wa_allocvaluescurrnew-value_from = t_carga-valor.
MODIFY wa_allocvaluescurrnew.
ENDLOOP.
ENDCASE.
IF date_err IS INITIAL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> by AGARCIA
CALL FUNCTION 'BAPI_OBJCL_CHANGE_KEY'
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = w_objek
objecttable = 'MCH1'
classnum = w_class
classtype = '023'
status = '1'
TABLES
allocvaluesnumnew = wa_allocvaluesnumnew
allocvaluescharnew = wa_allocvaluescharnew
allocvaluescurrnew = wa_allocvaluescurrnew
return = t_message.
IF sy-subrc EQ 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
LOOP AT t_message WHERE type CO 'EA'.
CONCATENATE w_mbapi t_message-message ';'
INTO w_mbapi SEPARATED BY space.
ENDLOOP.
IF w_mbapi IS INITIAL.
CONCATENATE logline '-> Ok!' INTO logline SEPARATED BY space.
ELSE.
CONCATENATE logline '-> Error:' w_mbapi
INTO logline SEPARATED BY space.
ENDIF.
ELSE.
CONCATENATE logline '-> Error: Problem on BAPI Execution
INTO logline SEPARATED BY space.
ENDIF.
ENDIF.
ELSE.
CONCATENATE logline '-> Error: Class object don't found'.
INTO logline SEPARATED BY space.
ENDIF.
ELSE.
CONCATENATE logline '-> Error: Class object don't found'.
INTO logline SEPARATED BY space.
ENDIF.
WRITE: / logline.
ENDLOOP.
WRITE: / '>>>>>>>>>> FIN DEL PROCESO <<<<<<<<<<'.
ENDFORM. " clasificar_lotes
Form buscar_archivo
Muestra el diálogo para seleccionar el archivo
+----
FORM buscar_archivo CHANGING ie_arch.
DATA: v_file1 LIKE dynpread-fieldname,
v_file2 LIKE ibipparms-path.
v_file1 = ie_arch.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = v_file1
IMPORTING
file_name = v_file2.
ie_arch = v_file2.
ENDFORM. " BUSCAR_ARCHIVO

Similar Messages

  • LSMW for routing with standard batch input

    Hello All,
    I am trying to prepare one LSMW for routing upload for PP module. Routing data contains header data, operation data and master inspection characteristics data.
    I have created three source structures viz. material- task list header, task header data, operation and inspection.
    Header has been assigned to target structure BIMPL- Batch Input Structure for Allocation of Mat. to Task Lists,
    Task header data source structure has been assigned to BIPKO- Batch Input Structure for Task List Header,
    Operation source structure has been assigned to target structure BIPPO- Batch input structure for task list operation,
    and inspection source structure has been assigned to BIPMK- Inspection characteristics for batch input of task lists.
    Every source structure has been identified with an identifier value of which have been set as H, I,J,K for all source structures resp.
    The excel file has been prepared as follows,
    H     MATNR     WERKS     PLNNR     PLNAL               
    H     100045     1000     50000043     1               
    H     100045     1000     50000043     2               
    I     MATNR     WERKS     PLNNR     PLNAL     VALID_FROM     USAGE     STATUS
    I     100045     1000     50000043     1     01012000     1                1
    I     100045    1000     50000043     2     01012000     1                 1
    I have mentioned here the combination of first two structures only. But it contains data of other two source structures as well (for identifier J & K).
    The data from the excel is copied to the flat file and same is specified in LSMW in the step 'Specify file'.
    In 'Assign file' step the flat file is assigned to all the four source structure.
    Now at the time of reading data system is throwing me an error as 'Ensure field sequence is correct for data for mutiple source structures' Message no. /SAPDMC/LSMW_OBJ_060026
    How to overcome this?
    <removed by moderator> answers will be greatly appreciated........
    Mimiri
    Edited by: Thomas Zloch on Jul 11, 2011 10:16 AM

    Hello ,
    have you maintained this check box for the key fields"
    LSMW>Maintain Source fields>double click on fieds : MATNR WERKS PLNNR PLNAL
    Selection Parameter for "Import/Convert Data"-->Tick this check box
    regards

  • Error in LSMW for MM41 - "No batch input data for screen SAPLMGMW 0100"

    I'm trying to create an LSMW for MM41 to create new Retail articles en Mass. This will be used to only create the Basic view as other LSMW's already exist to maintain the other views. I've created the Recording and setup the LSMW already. My data is read correctly from the source file. When I execute the batch session it fails with the following error - "No batch input data for screen SAPLMGMW 0100".
    I assume the fields in MM41 screen are not setup for batch processing. Could someone with more knowledge or experience in SAP Retail please confirm my assumption and explain where this is setup or provide an alternative to creating new articles en Mass via MM41? The direct input method is more suited for MM01 and not MM41.
    Regards
    Fawaaz

    Hi Guys,
    Thanks so much for all the prompt responses. My issue is now resolved.
    The issue, I'm sure, was my default settings in the MM41 screen which the recording probably took into account or the batch program didn't like. I deleted my recording and created a new one but before I started the recording, I went into the MM41 screen and removed all default values AND view selections. I made my Basic view selection constant in my recording and also in my field mapping. My LSMW for MM41 is now working perfectly.
    Just to answer some of the questions above, my LSMW was Reading and Converting the data in my source file fine. When I display the Read and Converted data, it shows the data fields in the correct place.
    Thanks again.
    Regards
    Fawaaz

  • IDoc Error in LSMW for MB1C - Special stock type is E

    When we use MB1C for GR to enter initial entry of stock balance into unrestricted stock for special stock type is E.
    The document is Posted.
    But, when we use LSMW for the above Transaction, the document is not posted.
    In the Inbound processing of IDOC  has the status "Application document not posted".
    In the IDoc Status record gives
       current status : 51 ("SD Document XXXXXXXXX is not in the database or has been archived"
    Pl explain how this problem can be addressed.

    Hi,
    It seems that the stock indicator in E demands for a sales order in the MB1C transaction. The sales order provided by you in the flat file is getting validated by SAP and that sales order is not available in the system or might have been archived.
    It is better to provide a live Sales order to book the stock to that particular sales order. If in case if the Sales order mentioned by you is closed or not required, in such as case the material can be stored under unrestricted stock and not under the sales order stock
    Thanks and Regards,
    Dilli Babu R

  • LSMW for 2001 with conversion rules....

    Hi Data migration experts,
    I have a requiremet,i have to do a LSMW for infotype 2001 where i have to write some converion rules as follows:
    1. If PERNR begins with '00' must be changed to '01' - e.g. '00000010' becomes '01000010'
    2.  Begin date and End date should be converted from YYYYMMDD -> DD.MM.YYYY.
    CAn you please help me,how and in which step i can do this
    A s i am doing LSMW first time,pls tell me in detail
    Waiting for youer reply..i have complete this requirement in 2 days..
    Sathavahan
    9920732955

    Hi,
    Select the Radio Button Maintain Field Mapping and Conversion Rules and double click on the this step.
    After Mapping is done..Place the cursor on the field and press the Insert Rule(Ctrl+F4) a popup get displayed and select the radio button  ABAP Code and press ok.
    Script Editor is opened and you can write the conversions here.

  • LSMW for Listings via Batch Input recording - Help ?

    Hi
    Has anyone had any luck with trying to upload Listings via LSMW at all ?
    I have created on, via batch input recording
    I have lots of records with entries from 1 to 16
    I have recorded enough entries to cope with 16
    However when i try to execute the batch session, if there is only 1 material that requires an entry, then i cannot get past this screen, the LSMW is wanting entries for the next line and so on
    I presume I must have to put some sort of a ruling in per Material number it is expecting, so if it is not poupulated then to move on, but to save the entries that have already been made
    I do not have much experience in writing rules into LSMW so
    Any ideas / help would be much appreciated
    Thanks
    Tony

    Hello Tony,
    In the past I have suggested this to few people and were successful with this link, please try, but only thing you need to take care is use VB02 instead of XK01 with reference to this link what I am trying to say.
    http://youtu.be/fz94PcvtdZw
    Regards,
    Sridhar.

  • An LSMW for Classification with multiple entries possible in the characte

    Hello, we've got a LSMW which works fine on a recording using transaction CLMM. This updates characteristics data ok as long as the fields are single value entires (eg "Y" or "N" or "")
    But now I want to add a new characteristic which can store multiple values eg Machine Type = "C10" or Machine Type = "C10, C18" or Machine Type = "C10, T01, T02, C30"
    When I try to adapt CLMM it gives me an error that the format of the field is not correct. I tried comma separated eg "C10, T01, T02, C30" but it was not accepted.
    Is there a special format for changing the multiple value characteristics in CLMM which I can use in LSMW?
    Is there a more cunning way?
    Do I have to get a development made for this??
    Has anyone solved this problem?
    Many thanks

    Hello,
    Why don't you use a Business Object Method (BAPI) in your LSMW.
    There are a lot of BOR objects related to classification data.
    Example : Business Object : BUS1088 - Characteristics with method CREATE.
    A batch input often gives problems, especially with multi value fields.
    When you use a BOR method in LSMW you can map your input files to the structures of the BOR method.
    Wim

  • Lsmw for cl20n through batch input recording

    Hi Experts
    I tried to create lsmw using recording method for CL20N for uploading classification for rel object.
    But i am unable to create lsmw.
    Please suggest possible solution.
    regards
    ramSiva

    Hi,
    You can use the standard Batch input program(details below):
    Object                0130   Classification
    Method               0001   Batch input  
    Program name    RCCLBI02            
    Program type      B   Batch input
    Hope this is useful.
    Reetesh
    Edited by: Reetesh on Dec 5, 2011 4:49 PM

  • Initial Stock Taking template for Items with Batch Management

    I need to upload the Items for the initial Stock Taking but every item uses Batch Management. and i dont see another template. What template is the best for the initial Stock?

    Hector,
    You will use the templates in oInventoryGenEntry folder.
    The templates you will need are
    Documents.xlt
    Document_Lines.xlt
    BatchNumbers.xlt
    Documents template sample
    RecordKey...DocDate......... DocDueDate
    1.................20080106...... 20080106
    Document Lines template sample
    RecordKey....LineNum.. AccountCode....... ItemCode..... Price...... Quantity......WarehouseCode
    1.................. 0........ _SYS00000000xxx...... A1......... 100.00....... 20................. 01
    1.................. 1........ _SYS00000000xxx...... B2.......... 180.00...... 30................. 01
    Batch Numbers template sample
    RecordKey.... BaseLineNumber..... BatchNumber.... Quantity
    1.................... 0...................... 100..................10
    1.................... 0...................... 101..................10
    1.................... 1...................... 400..................15
    1.................... 1...................... 401..................10
    1.................... 1...................... 402...................5
    The link is between the BaseLineNumber from the Batch template and LineNum from the Document Lines template. Please try this and it shoud work.
    Best wishes
    Suda

  • Batch characterstic Stock Upload

    Dear All,
    I want to upload the initial stock with movement type 561.My materials are Batch Managed and the Batch are having certain Characterstic.So i want to upload the Stock with Batch Characterstic.This is not possible with recording in LSMW.Can anybody help me out in making the LSMW.
    i am using the BAPI method in LSMW.the details are
    usiness Object      BUS1001002   Batch
    ethod               SAVEREPLICA
    essage Type         BATMAS
    asic Type           BATMAS03
    i am able to upload only one characterstic.i want to upload the stock with multiple characterstic with single batch.
    Does anybody guide me in making the LSMW.
    Thanks
    Jagmohan

    Hi ,
          I am also having the same scenario,which you are having,I need to upload batch first and then characteristics next,the fields in the creation of  a batch and characteristics are same. So during uploading of batch itself,we can upload the characteristics also right?.Please let me know whether i am correct or not,As i  was asked to o do 2 lsmw objects for batch upload and characteristics upload,Please tell me the difference..
    Thanks in advance
    Nagarathinam.

  • LSMW for IT167

    Hi All SAP HR & LSMW experts,
    we are creating two seperate recordings for IT167 one for only employee and other for employee with dependents
    my issue as follows:
    I am trying to create LSMW for IT 167 with depents(Employee & partner.Employee & family & single parent) information, whille recording i am getting a different screen (when compared to the screen what we get in PA30) for dependents information while recodring.
    because of that i am not able to record the depents infornmation.
    even i ahve tried doing recording SHDB ,but the correct screen is coming only when we check that not batch recording check box. but if need to use the recording in LSMW it should be batch recording.
    Can anyone advice me why this happening and how can i over come this.
    Regards
    Chilla

    Hi Sathavahan
    I created the excel file for IT0167 LSMW for plans with dependants this way:
    PERS_NUM     START_DATE     H_PLAN     H_OPT     H_DEP     PRETAX     PERIOD     DEP_TYPE     DEP_NUM
    11114     01012009                          MED2     STD2     EE+C     X     04     2     01
    DEP_TYPE2     DEP_NUM2     DEP_TYPE3     DEP_NUM3     DEP_TYPE4     DEP_NUM4     DEP_TYPE5     DEP_NUM5     DEP_TYPE6     DEP_NUM6
    2     02                                                  
    and so on depending on the maximum number you have, this is with the other screen you are seeing that doesn´t correspond to the one you see in IT0167. This is mi recording:
    P0167-BEGDA                                                  BEGDA                Start Date
    P0167-ENDDA                    31.12.9999           ENDDA                End Date
    BDC_SUBSCR                     MP016700
    P0167-BPLAN                                                    BPLAN                Benefit plan
    P0167-BOPTI                                                   BOPTI                Benefit Health Plan Option
    P0167-DEPCV                                                  DEPCV                Benefit Dependent Coverage
    BDC_SUBSCR                     MP016700
    BDC_SUBSCR                     MP016700
    BDC_CURSOR                     Q0167-EEPER
    Q0167-EEPER                                         EEPER                Benefit Period for Calculations
    Q0167-CSTDT                                         CSTDT                Benefit Cost Calculation Date
    P0167-PRETX                                         PRETX                Benefit Indicator Deductions Ba
    BDC_SUBSCR                     MP016700
    P0167-DTY01                                         DTY01                Benefit dependent type
    P0167-DID01                                         DID01                Benefit dependent object ID
    P0167-DTY02                                         DTY02                Benefit dependent type
    P0167-DID02                                         DID02                Benefit dependent object ID
    P0167-DTY03                                         DTY03                Benefit dependent type
    P0167-DID03                                         DID03                Benefit dependent object ID
    P0167-DTY04                                         DTY04                Benefit dependent type
    P0167-DID04                                         DID04                Benefit dependent object ID
    P0167-DTY05                                         DTY05                Benefit dependent type
    P0167-DID05                                         DID05                Benefit dependent object ID
    P0167-DTY06                                         DTY06                Benefit dependent type
    P0167-DID06                                         DID06                Benefit dependent object ID               
    Hope this can help u  but it's not shown as it should

  • MTS with batch management, serialization and Handling unit

    Hello All,
    I am testing a scenario for MTS with batch management, serialization and Handling unit for discrete manufacturing.
    Everything worked fine till I created the Handling unit for the finished product.
    The production order has a quantity of 3 EA.
    It has three serial numbers 1, 2 and 3. (serial numbers can be displayed from order->Header->serial numbers)
    I created one Handling unit for production order quantity of 3 EA.
    I tried to do a goods receipt for the production order using transaction COWBHUWE.
    I get the following error when I try to post the GR:
    Only 0 serial numbers entered instead of 3
    Message no. IO304
    Diagnosis
    There is a serial number obligation, so the number of serial numbers must equal the number of serial numbers in the material document.
    You can post the operation only if you entered the correct number of serial numbers previously.
    System Response
    Depending on the context in which the error arises, the system continues processing, or the required function cannot be performed.
    Procedure
    You have the following options, for example:
    Check that the serial numbers are entered fully.
    If necessary, display an error log.
    If necessary, contact your system administrator.
    What did I miss?
    How to fix this problem?
    Please help.
    Thanks in advance
    George

    I added the serialization procedure HUSL to the serial number profile and it fixed the problem.

  • Need help with LSMW for ME23N

    Hey Guys,
    I have this problem where i need to do a recording for LSMW for ME23N. This are the steps i took:
    1. Enter ME23N
    2. Click on the Change Button (i can't enter me22n directly to edit when its running a batch)
    3. Click on the Drop down List
    4. Key in a different Item number
    5. Press enter
    6. Select the delivery TAB
    7. Check the Delivery completed button
    8. Save.
    When i run the batch, the problem comes at step 4. I have a batch file with the following format:
    05 4500120382
    The list box, cannot read the number 05. Is there anyway to go around this?
    Thank you

    hi,
    Check it, may be usefull for you:
    Here is the link explaining step by step LSMW
    /people/hema.rao/blog/2006/09/14/lsmw--step-by-step
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Regards
    Priyanka.P

  • LSMW for  Vendor Master using Batch Input/Direct

    Hi Folk,
    I'm trying to create a LSMW for  Vendor Master using Batch Input/Direct Input and in the step Create Batch Inout Session a error message appears:
    Trans.     1 XK01: Acct already exists; general area not being processed.
    Can somebody help me with this...........

    Hi,
    Check manually create vendor. Check with recording steps means strucutre creadred while you choose BDC recording option. With same data r u able to create vendor.
    Regards
    Md.MahaboobKhan

  • LSMW for Chart of Account: Field XSPEB not filled in batch-input session

    Hi all,
    we are using LSMW for importing the chart of account into a new system.
    The LSMW project uses the report RFBISA00 for the creation of the batch-input session.
    Some accounts need to be blocked in the new system. Therefore, we have the field XSPEB in our source structure and of course also in our target structure. But after the creation of the batch-input session the field is not included in the corresponding batch-input session.
    Does anybody know why it is not set? I already debugged the program RFBISA00 but couldn't find the place where the data get lost.
    Thanks in advance and regards,
    Martin

    Did your batch input end with save ( /11 ) or what ok_code are you using ?

Maybe you are looking for