Problem during lsmw - bdc

HI,
There is reqirment from client to change the aternate bom text in mass.
Now problem is using lsmw  or bdc value is not getting change during recording.  this problem is specific to this field stext (alternate bom text) only.
BOM's were created using maste recipe, so i had tried to change the bom using master recipe, here data is change succefully using lsmw but problem is  inactive bom's, because inactive bom's can not be change using c202.
Any input regarding above issue
Regards,
Dhaval

I just did a quick recording to see if I could change the Alt.Text in BOM header & I was able to.
Below is the values of recording (only partial i.e. from the time I was in header screen & when I clicked Alt. Text). Please ensure you click on Alternative Long Text during your recording & then enter at least 2 lines of text as that is one of the pre-requisite. You can ask your abaper to compare the below with your recording to see if is the same & incorporate the below in your BDC program. It should work fine.
SAPLCSDI     2110     X                                                                               
BDC_OKCODE     =LTKO
                                                            BDC_SUBSCR     SAPLCSDI                                0800STLKOPF
                                                            BDC_CURSOR     RC29K-EXSTL
                                                            BDC_SUBSCR     SAPLCSDI                                1110SUBPAGE
                                                            RC29K-STKTX     'Test value which I stored first'
                                                            RC29K-BMENG     1
                                                            RC29K-STLST     1
SAPLSTXX     1100     X                                                                               
BDC_CURSOR     RSTXT-TXLINE(03)
                                                            BDC_OKCODE     =EDNP
                                                            RSTXT-TXLINE(02)     'Test value which I changed during rec'                                                                               
RSTXT-TXLINE(03) 'This is second line of text'                                                                               
SAPLSTXX     1100     X                                                                               
BDC_CURSOR     RSTXT-TXLINE(04)
                                                            BDC_OKCODE     =TXBA

Similar Messages

  • Problem during recording of CJ01 transaction for BDC

    Hello All,
    I am facing a problem during the recording of CJ01(Creation of projects) for creation of BDC program.
    The problem is during recoding after entering the the first WBS element with level 1 and i press the '+' button to create one more WBS element with Level 2,the first WBS element with level 1 goes to the bottom of the line item table and now if try to create the WBS element with Level 2 in the first line it wont allow because of the fact that the first WBS element with level 1 is below it.
    But if i enter the first WBS elemnt with level 1 in the first line and come to the next line and enter the second WBS element with level 2 it will create since Level 2 WBS is below the Level 1.But this approach cannot be used for doing a recording for BDC.
    Can anyone help in this regard
    Thanks in Advance
    Ashish

    Hi Ashish,
    NW is right. It is not proper to use BDC for CJ01. You can get more control and better if you use the following function module,
    1. Use BAPI_PROJECT_MAINTAIN to create project definition and WBS Structure in one go. see the documentation in the BAPI on how to use this. Post the resut in this forum if you face any problem
    Ravi

  • LSMW problem during display converted data

    Dear Expert,
    We have problem in LSMW during display converted data.
    When using display converted data, the output will show many of rows based on data content.
    For example, contains 6 rows. But when we want to see details of the data for one row (example row 2) by double clicking on it, the problem occurs, the output will show the details of the data from the last row (row 6).
    Please your advice.
    Thanks and Regards

    Hi,
    There seems to be sorting issue. Do you have dependency on data while executing the script?
    how about reading the data , is it getting uploaded correctly?
    Regards

  • Initial inventory upload using LSMW,BDC

    Dear Friends,
    I am trying to upload data for Initial inventory capturing of valuation type for t.code MB1C using LSMW,BDC BECAUSE of valuation type it is not capturing
    please guide me.I am using SAP Ecc 5 version.
    Thanks in advance.
    Rafeeq ahmed

    Hi Sameer,
    Have a look at these threads, they might help you
    Chart of Accounts Upload
    Problem: LSMW with transaction FS00 create account (BI is not generated)
    Thanks
    Janani
    award points if helpful

  • How to upload data for me01 using LSMW BDC METHOD

    *hi export please tell me the complete procedure for uploading data in me01 using LSMW BDC METHOD*
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on May 8, 2011 10:06 PM

    Hi,
    To be honest I don't understand your question. When You execute LSMW and create project, then all steps are shown in a very clear way with good description. With which one you have problems?
    Best regards
    Marcin Cholewczuk

  • Problem in fv50 BDC  working  manually  giving err for BDC

    Hi all,
    I have one problem in fv50 BDC when I park document manually it works fine but when I try to park through  my BDC it gives error
    Parking not possible during batch input
    Message no. FP140
    Procedure
    In Customizing, you can control whether an error message is issued.
    my Question is.
    how can i make it a warning message?
    Thanks in Advance
    Sachin Gautam

    hi,
    have you tried F-63 too?
    A.

  • LSMW-BDC

    pls tell the differences between LSMW and BDC?

    Hi Ramnarayana,
    <b><u>BDC:</u></b>
    BDC is a technology used for data transfer.
    It is meant for transferring data through SAP transactions itself.
    It is for inbound / outbound processing.
    When you use BDC for data transfer, the sequence of steps is the same as when you use standard sap transaction screens for data upload.
    The only difference is that you can use different options for foreground and background processing.
    Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.
    BDC is an automatic procedure.
    This method is used to transfer large amount of data that is available in electronic medium.
    BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).
    BDC uses normal transaction codes to transfer data.
    Types of BDC :
    CLASSICAL BATCH INPUT (Session Method)
    CALL TRANSACTION
    BATCH INPUT METHOD:
    This method is also called as ‘CLASSICAL METHOD’.
    Features:
    Asynchronous processing.
    Synchronous Processing in database update.
    Transfer data for more than one transaction.
    Batch input processing log will be generated.
    During processing, no transaction is started until the previous transaction has been written to the database.
    CALL TRANSACTION METHOD :
    This is another method to transfer data from the legacy system.
    Features:
    - Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
    - Updating the database can be either synchronous or asynchronous. The program specifies the update type.
    - Transfer data for a single transaction.
    - Transfers data for a sequence of dialog screens.
    - No batch input processing log is generated.
    <b><u>LSMW</u></b>
    LSMW on the other hand is a tool that helps migrate data from a legacy system (non-sap system ) to SAP system.
    It is for inbound processing.
    It offers you various options to use either batch input, direct input, BAPIs or idocs.
    It involves a series of steps to migrate data.
    The main advantages of the LSM Workbench:
    - Part of R/3 and thus independent of individual platforms
    - A variety of technical possibilities of data conversion:
    - Data consistency due to standard import techniques:
    Batch input
    Direct input
    BAPIs (Business Application Programming Interfaces)
    IDocs (Intermediate Documents)
    The import technique to be used in an individual case depends on the business object.
    - Generation of the conversion program on the basis of defined rules
    - Clear interactive process guide
    - Interface for data in spreadsheet format
    - Creation of data migration objects on the basis of recorded transactions
    - Charge-free for SAP customers and SAP partners
    <b><i>Please check the below link for your kind reference:</i></b>
    Diff. between LSMW & BDC?
    <b>Please reward points if it is useful.
    Cheers !
    Moqeeth.</b>

  • MULTIPLE ITEM PROBLEM IN VL31N BDC

    hI FRIENDS ,
        I AM POSTING A BDC OF TRANSACTION VL31N ,ie FOR SCHEDULE AGREEMENT INBOUND DELIVERY.I CREATE A FUNCTIONAL MODULE OF THE SAME AND CALL IT FROM AN ASP PAGE,IN THAT THERE IS PO NUMBER 5500000986 WHICH HAS TWO ITEMES 62 AND 95 RESPECTIVLY OF SAME MATARIAL NUMBER R010230123041002 AND DIE NUMBER 2304P,NOW THE PROBLEM IS THIS BDC IS WORKING WHEN THERE IS ONLY ONE ITEM BUT GIVES AN ERROR "CANT CREAT INBOUND DELIVERY FOR PO NO ...' WNEN IT HAS MULTIPLE ITEM.WHAT SHOULD I DO ? I ALSO USED LOOP BUT IT ALSO DOSENT WORK AS IT WILL ADD ALL OPEN QTY OF PO 986 AND UPDATE AGAINST ITEM NO 95.
    CODE IS AS FOLLOWS:.........
    FUNCTION y_synie_bdcinbdly.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(CTU) LIKE  APQI-PUTACTIVE DEFAULT 'X'
    *"     VALUE(MODE) LIKE  APQI-PUTACTIVE DEFAULT 'N'
    *"     VALUE(UPDATE) LIKE  APQI-PUTACTIVE DEFAULT 'L'
    *"     VALUE(GROUP) LIKE  APQI-GROUPID OPTIONAL
    *"     VALUE(USER) LIKE  APQI-USERID OPTIONAL
    *"     VALUE(KEEP) LIKE  APQI-QERASE OPTIONAL
    *"     VALUE(HOLDDATE) LIKE  APQI-STARTDATE OPTIONAL
    *"     VALUE(NODATA) LIKE  APQI-PUTACTIVE DEFAULT '/'
    *"     VALUE(EXTNID) LIKE  MAKT-MAKTG
    *"     VALUE(VENDORNO) LIKE  LFA1-LIFNR
    *"     VALUE(PONUMBER) LIKE  EKKO-EBELN
    *"     VALUE(ITEMNUMBER) LIKE  LIPS-VGPOS
    *"     VALUE(MATERIAL) LIKE  MAKT-MAKTG
    *"     VALUE(DLYQTY) LIKE  LIPS-LFIMG
    *"     VALUE(BTCHNO) LIKE  LIPS-CHARG
    *"     VALUE(POSLR) LIKE  EKES-EBELP OPTIONAL
    *"  EXPORTING
    *"     VALUE(SUBRC) LIKE  SYST-SUBRC
    *"     VALUE(INDELYNO) LIKE  SY-MSGV2
    *"     VALUE(MSG1) LIKE  SY-MSGV1
    *"     VALUE(MSG2) LIKE  SY-MSGV2
    *"     VALUE(MSG3) LIKE  SY-MSGV3
    *"     VALUE(MSG4) LIKE  SY-MSGV4
    *"  TABLES
    *"      MESSTAB STRUCTURE  BDCMSGCOLL
    *"      ERRTAB STRUCTURE  YSYNERRMSGS
    *"      INDLYTAB STRUCTURE  YSYN_QTYTAB
    Updated by ANAND SYNISE 19.1.2007
      DATA: BEGIN OF bdctab OCCURS 0.
              INCLUDE STRUCTURE bdcdata.
      DATA: END OF bdctab.
      DATA: datenow(10) TYPE c,
            fldvar(30)  TYPE c,
            fldno       TYPE i,
            flditoc(6)  TYPE c,
            qty(13)     TYPE c.
      DATA maxposnr LIKE lips-posnr.
      DATA testposnr TYPE posnr.
      DATA itemnoint TYPE i.
      CONCATENATE sy-datum6(2) '.' sy-datum4(2) '.' sy-datum+0(4) INTO datenow.
      CLEAR bdctab.
      REFRESH bdctab.
      PERFORM open_group      USING group user keep holddate ctu.
           CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '4007'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'RV50A-VERUR_LA'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '/00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-LIFNR'.
           bdctab-fval = vendorno.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LV50C-BSTNR'.
           bdctab-fval = ponumber.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-VERUR_LA'.
           bdctab-fval = extnid.
           APPEND bdctab.
       CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '1000'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '=MKAL_T'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'LIKP-BLDAT'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-BLDAT'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '1000'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
       CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '=POPO_T'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-BLDAT'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'LIPS-POSNR(01)'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '0111'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'RV50A-PO_MATNR'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = 'WEIT'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-PO_MATNR'.
           bdctab-fval = material.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '1000'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '=POLO_T'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-BLDAT'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'LIPS-POSNR(01)'.
           APPEND bdctab.
    *ADDED BY ANAND ON 22-01-2007
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval =  ITEMNUMBER .     "ITEMNUMBER = LIPS-VGPOS
           APPEND bdctab.
    ************ENDED***********************
    ADDED BY MILIND 19.01.2007
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval =  poslr .
           APPEND bdctab.
    *    ENDED * *
       CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LIPS_SELKZ(01)'.
           bdctab-fval = ''.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
       CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '1000'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '/00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-BLDAT'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'LIPS-CHARG(01)'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
          QTY = INDLYTAB-DLYQTY.
            qty = dlyqty.
           bdctab-fnam = 'LIPSD-G_LFIMG(01)'.
           bdctab-fval = QTY.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIPS-CHARG(01)'.
    *     BDCTAB-FVAL = INDLYTAB-BTCHNO.
           bdctab-fval = btchno.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
       CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '1000'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '=SICH_T'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-BLDAT'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'LIPS-MATNR(02)'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
      CALL TRANSACTION 'VL31N' USING bdctab MODE 'N'  MESSAGES INTO messtab.
      subrc = sy-subrc.
      PERFORM close_group USING     ctu.
      CLEAR bdctab.
      REFRESH bdctab.
      IF sy-subrc EQ 0.
        indelyno = sy-msgv2.
      ENDIF.
      LOOP AT messtab.
        MOVE: messtab-msgid TO errtab-msgid,
              messtab-msgnr TO errtab-msgnr,
              messtab-msgv1 TO errtab-msg1,
              messtab-msgv2 TO errtab-msg2,
              messtab-msgv3 TO errtab-msg3,
              messtab-msgv4 TO errtab-msg4.
        APPEND ERRtab.
      ENDLOOP.
      LOOP AT errtab.
        SELECT SINGLE text FROM t100
          INTO errtab-errmsg
          WHERE msgnr EQ errtab-msgnr AND arbgb EQ errtab-msgid
          AND sprsl EQ sy-langu.
        MODIFY errtab.
      ENDLOOP.
    ENDFUNCTION.

    Hi,
    Check this code:
    REPORT Z_CUSTOMER_UPLOAD .
                  D A T A         D E C L A R A T I O N S                *
    DATA:BEGIN OF IT_CUSTOMER OCCURS 0,
         KUNNR LIKE MV10A-KUNNR,
         VKORG LIKE MV10A-VKORG,
         VTWEG LIKE MV10A-VTWEG,
         MATNR LIKE MV10A-MATNR,
         KDMAT LIKE MV10A-KDMAT,
         MEGRU LIKE MV10A-MEGRU,
         SELKZ TYPE C value 'X',
         LPRIO LIKE MV10A-LPRIO,
         ANTLF LIKE MV10A-ANTLF,
         END OF IT_CUSTOMER.
    DATA:BEGIN OF IT_success OCCURS 0,
         KUNNR LIKE MV10A-KUNNR,
         VKORG LIKE MV10A-VKORG,
         VTWEG LIKE MV10A-VTWEG,
         MATNR LIKE MV10A-MATNR,
         KDMAT LIKE MV10A-KDMAT,
         MEGRU LIKE MV10A-MEGRU,
         SELKZ TYPE C value 'X',
         LPRIO LIKE MV10A-LPRIO,
         ANTLF LIKE MV10A-ANTLF,
         END OF IT_success.
    DATA:BEGIN OF IT_error OCCURS 0,
         KUNNR LIKE MV10A-KUNNR,
         VKORG LIKE MV10A-VKORG,
         VTWEG LIKE MV10A-VTWEG,
         MATNR LIKE MV10A-MATNR,
         KDMAT LIKE MV10A-KDMAT,
         MEGRU LIKE MV10A-MEGRU,
         SELKZ TYPE C value 'X',
         LPRIO LIKE MV10A-LPRIO,
         ANTLF LIKE MV10A-ANTLF,
         END OF IT_error.
    DATA: L_INDEX TYPE SY-TABIX.
    DATA:IT_BDC LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
    IT_DATA TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    ERROR MESSAGE TABLE
    DATA:IT_MESSAGES LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA : C_S TYPE C VALUE 'S',
            C_E TYPE C VALUE 'E'.
    *DATA: IT_SUCCESS LIKE IT_CUSTOMER OCCURS 0,
         IT_ERROR LIKE IT_CUSTOMER  OCCURS 0.
    DATA : V_RECTOT TYPE I,
            V_RECERR TYPE I,
            V_RECSUC TYPE I.
                  S E L E C T I O N  -  S C R E E N                      *
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER        : P_FILE LIKE RLGRAP-FILENAME .
    SELECTION-SCREEN : END OF BLOCK B1.
               A T  S E L E C T I O N  -  S C R E E N                    *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    to get F4 help for p_file
      PERFORM F4_FILENAME USING P_FILE.
                S T A R T   O F   S E L E C T I O N                      *
    START-OF-SELECTION.
    Uploading data from flat file into it_tab
      PERFORM BDC_UPLOAD USING P_FILE.
      PERFORM PROCESS_DATA.
      PERFORM POPULATE_BDC.
                E N D  O F   S E L E C T I O N                           *
    *END-OF-SELECTION.
    PERFORM DISPLAY_REPORT.
    *&      Form  F4_FILENAME
          text
         -->P_P_FILE  text
    FORM F4_FILENAME USING    P_P_FILE.
    DATA:L_FILE TYPE IBIPPARMS-PATH.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
    IMPORTING
       FILE_NAME           = L_FILE .
       P_P_FILE = L_FILE.
    ENDFORM.                    " F4_FILENAME
    *&      Form  BDC_UPLOAD
          text
         -->P_P_FILE  text
    FORM BDC_UPLOAD USING    P_P_FILE.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        FILENAME                      = P_P_FILE
        I_BEGIN_COL                   = 1
        I_BEGIN_ROW                   = 1
        I_END_COL                     = 8
        I_END_ROW                     = 1000
      TABLES
        INTERN                        = IT_DATA
    EXCEPTIONS
       INCONSISTENT_PARAMETERS       = 1
       UPLOAD_OLE                    = 2
       OTHERS                        = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " BDC_UPLOAD
    *&      Form  PROCESS_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM PROCESS_DATA.
    SORT IT_DATA BY ROW COL.
      LOOP AT IT_DATA.
    CASE IT_DATA-COL.
    WHEN 1.
    IT_CUSTOMER-KUNNR   = IT_DATA-VALUE.
    WHEN 2.
    IT_CUSTOMER-VKORG   = IT_DATA-VALUE.
    WHEN 3.
    IT_CUSTOMER-VTWEG   = IT_DATA-VALUE.
    WHEN 4.
    IT_CUSTOMER-MATNR   = IT_DATA-VALUE.
    WHEN 5.
    IT_CUSTOMER-KDMAT   = IT_DATA-VALUE.
    WHEN 6.
    IT_CUSTOMER-MEGRU   = IT_DATA-VALUE.
    WHEN 7.
    IT_CUSTOMER-LPRIO   = IT_DATA-VALUE.
    WHEN 8.
    IT_CUSTOMER-ANTLF   = IT_DATA-VALUE.
    APPEND IT_CUSTOMER.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                    " PROCESS_DATA
    *&      Form  POPULATE_BDC
          text
    -->  p1        text
    <--  p2        text
    FORM POPULATE_BDC.
    DATA:L_COUNTER TYPE N,
             L_STRING TYPE STRING.
    LOOP AT IT_CUSTOMER.
    AT NEW KUNNR.
    CLEAR L_COUNTER.
          L_INDEX = SY-TABIX.
          READ TABLE IT_CUSTOMER INDEX L_INDEX.
    perform bdc_dynpro      using 'SAPMV10A' '0100'.
    perform bdc_field       using 'MV10A-KUNNR'
                                  IT_CUSTOMER-KUNNR.
    perform bdc_field       using 'MV10A-VKORG'
                                  IT_CUSTOMER-VKORG.
    perform bdc_field       using 'MV10A-VTWEG'
                                  IT_CUSTOMER-VTWEG.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    ENDAT.
    L_COUNTER = L_COUNTER + 1.
        CLEAR L_STRING.
    perform bdc_dynpro      using 'SAPMV10A' '0200'.
    CONCATENATE 'MV10A-MATNR(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using L_STRING
                            IT_CUSTOMER-MATNR.
    CONCATENATE 'MV10A-KDMAT(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using     L_STRING
                                     IT_CUSTOMER-KDMAT.
    CONCATENATE 'MV10A-MEGRU(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using   L_STRING
                                    IT_CUSTOMER-MEGRU.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    *-- For Page down in Call Transaction Mode
        IF L_COUNTER = 14.
          CLEAR L_COUNTER.
          PERFORM BDC_DYNPRO      USING 'SAPMV45A' '4001'.
          PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                '=P+'.
        ENDIF.
    perform bdc_dynpro      using 'SAPMV10A' '0200'.
    CONCATENATE 'MV10A-SELKZ(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using L_STRING
                              IT_CUSTOMER-SELKZ.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SELE'.
    perform bdc_dynpro      using 'SAPMV10A' '0300'.
    perform bdc_field       using 'MV10A-KDMAT'
                                  IT_CUSTOMER-KDMAT.
    perform bdc_field       using 'MV10A-LPRIO'
                                  IT_CUSTOMER-LPRIO.
    perform bdc_field       using 'MV10A-ANTLF'
                                  IT_CUSTOMER-ANTLF.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                        '/EBACK'.
    at end of kunnr.
    READ TABLE IT_CUSTOMER INDEX L_INDEX.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    CALL TRANSACTION 'VD51' USING IT_BDC MODE 'A' UPDATE 'S'
          MESSAGES INTO IT_MESSAGES.
          CLEAR IT_BDC.
          REFRESH IT_BDC.
    ENDAT.
      IF NOT IT_MESSAGES[] IS INITIAL.
        PERFORM FORMAT_MESSAGE.
      ENDIF.
    ENDLOOP.
    ENDFORM.                    " POPULATE_BDC
    *&      Form  bdc_dynpro
          text
         -->P_0273   text
         -->P_0274   text
    FORM bdc_dynpro USING    VALUE(P_0273)
                             VALUE(P_0274).
    IT_BDC-PROGRAM = P_0273.
    IT_BDC-DYNPRO = P_0274.
    IT_BDC-DYNBEGIN = 'X'.
      APPEND IT_BDC.
      CLEAR IT_BDC.
    ENDFORM.                    " bdc_dynpro
    *&      Form  bdc_field
          text
         -->P_0278   text
         -->P_RECORD_KUNNR_001  text
    FORM bdc_field USING    VALUE(P_0278)
                           VALUE(P_0279).
    IT_BDC-FNAM = P_0278.
      IT_BDC-FVAL = P_0279.
      APPEND IT_BDC.
      CLEAR IT_BDC.
    ENDFORM.                    " bdc_field
    *&      Form  FORMAT_MESSAGE
          text
    -->  p1        text
    <--  p2        text
    FORM FORMAT_MESSAGE.
    DATA: L_MSG(100).
      LOOP AT IT_MESSAGES.
      READ TABLE IT_CUSTOMER INDEX L_INDEX.
        CALL FUNCTION 'FORMAT_MESSAGE'
             EXPORTING
                  ID        = IT_MESSAGES-MSGID
                  LANG      = SY-LANGU
                  NO        = IT_MESSAGES-MSGNR
                  V1        = IT_MESSAGES-MSGV1
                  V2        = IT_MESSAGES-MSGV2
                  V3        = IT_MESSAGES-MSGV3
                  V4        = IT_MESSAGES-MSGV4
             IMPORTING
                  MSG       = L_MSG
             EXCEPTIONS
                  NOT_FOUND = 1
                  OTHERS    = 2.
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        write:/ l_msg.
      ENDLOOP.
    ENDFORM.                    " FORMAT_MESSAGE
    reward if helpful,
    keerthi

  • "Program files" directory problem during Microsoft Office Customization Installer in non-English versions of Windows

    We have a document-level customization solution for Word and are experiencing problems during deployment in an environment running on terminal services. The OS (Windows 2012) is English and Word (2013) is non-English (German). 
    Installation is done into the "Program Files" folder correctly. But when trying to start a word document linked to the specific template. The "Microsoft Office Customization Installer" pops up with the error.
    "There was an error during installation"
    From: file:///C:/Programme/[CompanyName]/[Productname]/[Productname].vsto
    Downloading file:///c:/Programme/[CompanyName]/[Productname]/[Productname].vsto did not succeed.
    Exception: ....
    System.Deployment.Application.DeploymentDonwloadException: Download file:///C:/Programme/[Companyname]/Productname]/[Productname].vsto did not suceed. ---> System.Net.WebException: Could not find a part of the path 'C:\Programme\[Companyname]\[Productname]\[Productname].vsto'.
    ---> System.Net.WebException: ...... ---> System.IO.DirectoyNotFoundException......
    The problem seems to be that the installer is looking for C:\PROGRAMME instead of C:\PROGRAM FILES. C:\PROGAMME is the German localized name of PROGRAM FILES (http://en.wikipedia.org/wiki/Program_Files).
    The installer installs the solution correctly deployed into c:\program files, but when the later a user tries to start it and the Microsoft Office Customization Installer is called, it tries to access the non-existing "c:\programme" folder. This
    doesn't exist, because Windows is English.
    Is there any thing related to deploying solutions on a platform which has different languages (mixing/matching of OS language and Office language?)
    Thank you for your help

    Hello,
    1. First, I would confirm with you whether you dealt with the localization for your document-level add-in?
    2. Did you use this way to define the Create a class that defines the post-deployment action part of Put the document of a solution
    onto the end user's computer (document-level customizations only) and did you get the path with Environment.SpecialFolder enum?
    To handle this, I would recommend you consider using Environment.SpecialFolder to set that property.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem During Installation of ECC 6 on Windows 2003

    <b><b>Here I am facing problem during Import ABAP Phase.
    It is throwing Error like that::
    CJS-30022 Program 'Migration Moitor' exists with return code 103.
    After completeing 9 stages, it's getting problem in Import packages and installation get stucked.
    My Server is like that:
    OS: Windows Server 2003
    Hardware: HP Itanium IA64
    Database: Oracle 10.2g
    SAP Release : 2004s ECC 6
    I have configured Java with j2sdk 1.4.2_12:
    JRE 1.5 is not available for IA64 .
    I reconfigured the parameter "shared_pool_size" (to 400MB)in init<sid>.ora at \oracle\<sid>\database.
    Also adjusted another parameter which is "shared_pool_reserved_size" i.e. 10% of the shared_pool_size.
    What to do now.
    Please send me feed backs.
    Regards,
    Sumanta Chatterjee
    </b></b> <b></b>

    run 'ls -lrta' in /tmp/sapinst_instdir/.... (whatever the lowest path is there, where all the log files are).  You should see something like sap<something>.tsk and sap<something>.log.  Look at the most recently updated sap<something>.log file for the specific error.  One problem I've seen is that if you configure the advanced oracle config to turn off AUTOEXTEND on the tablespaces, the abap load will bomb because it runs out of space.  Also, make sure your SYSTEM tablespace has at least 500M.
    Posting the relevant contents of the log with the detailed error description would help us provide a better answer as well.
    Rich

  • How do I get facetime on a MacBook Pro to work?  I keep getting a " server encountered problem during registration.." message.  I have FaceTime ver. 1.1.1

    How do I get facetime on a MacBook Pro to work?  I keep getting a " server encountered problem during registration.." message.  I have FaceTime ver. 1.1.1
    Thanks

    Icapper wrote:
    I will end up getting something other than Logitech speakers, since I'm just weird like that.
    Your not weird, your a audiophile.
    https://en.wikipedia.org/wiki/Audiophile
    Good sound costs money. And with a 5.1 system your usually doing surround sound decoding for BlueRay movies etc. for home theater purposes.
    The PC 5.1 surround sound systems require a audio card in a PC tower and mainly used for playing 3D games so that won't work for any Mac at all. So don't buy a PC 5.1 surround sound system for your Mac.
    Harmon Kardon has the GoPlay, it's a portable stereo with awesome sound (not as good as their theater systems) and you can hook up a analog male/male stereo mini cable to it from the Mac.
    $200 and it has a iPod dock and also takes like 8 batteries so it's portable.
    http://www.amazon.com/dp/B002GHBTNC
    There is also the Bose Wave clock/radio, you will need a stereo mini to RCA break out cable for that.
    http://www.bose.com/controller?url=/shop_online/wave_systems/index.jsp
    The GoPlay has much better sound than the Bose, I think the Bose are overpriced.

  • Problem during creation of shipment document and shipment cost document

    Hi
    My client  facing problem during creation of shipment document and shipment cost document at the time of Batch Job
    Delivery no 897654: goods issue on 30.11 at 13:22. Shipment on 30.11 (VT01N).
    Shipment costs on 1.12 (VI01).
    the problem is the shipment document get created on 30.11.2010 but the shipment cost document get created on 1.12.2010
    pleas advice.

    Hi,
    Please check the batch job processing log.
    As per my understanding, business requires to generate the Shipment & Shipment cost documents immediatley.
    However there is some time between the documents creation time. I dont see any issue in the data or problem in the delivery docs Because system will not generate the shipment docs after 1 or 2 days if there is an issue with the data . There must be problem in the Batch Job.
    Analyse the batch jobs and timing of the job process.
    Let us know your feedback...
    Best Regards,
    MKumar

  • Problem during installation of Solution Manager

    Hi All,
    I am facing problem during the installation of solution manager. it shows following error during installation
    ERROR 2010-05-21 14:39:24
    FJS-00003  TypeError: this._name has no properties (in script NW_Doublestack_SCS|ind|ind|ind|ind, line 5140: ???)
    ERROR 2010-05-21 14:39:25
    FCO-00011  The step collect with step key |NW_Doublestack_SCS|ind|ind|ind|ind|0|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect was executed with status ERROR .
    Please also let me konw how much space do we require for installating the Solution manager as a central system on one drive?

    Hi Chandan,
    Well may be below SDN thread will help you... out ! try out with Curd Abstoss Response !!
    Inst. SAP NW 2004s Java SP9 - Error FJS-00003 this._name has no properties
    Hope it will work for you..as well !

  • Problem during installation of  NW7.0 SR3 on Windows x64

    Hello all,
    I have a problem during the installation of a new central instance.
    During the phase 38 "Install Software units", SAPINST shows that logs :
    Jul 30, 2008 1:41:10 PM  Info: Ending deployment prerequisites. All items are correct.
    Jul 30, 2008 1:41:11 PM  Info: Saved current Engine state.
    Jul 30, 2008 1:41:11 PM  Info: Starting: Initial deployment: Selected development component 'caf/eu/gp/model/eap'/'sap.com'/'MAIN_APL70VAL_C'/'1497904'/'5' will be deployed.
    Jul 30, 2008 1:41:11 PM  Info: SDA to be deployed: D:\usr\sap\PAD\DVEBMGS00\SDM\root\origin\sap.com\caf\eu\gp\model\eap\MAIN_APL70VAL_C\5\1497904\cafeugpmodeleap.sda
    Jul 30, 2008 1:41:11 PM  Info: Software type of SDA: J2EE
    Jul 30, 2008 1:41:11 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Jul 30, 2008 1:41:13 PM  Info: Begin of log messages of the target system:
    08/07/30 13:41:11 -  ***********************************************************
    08/07/30 13:41:12 -  Start updating EAR file...
    08/07/30 13:41:12 -  start-up mode is lazy
    08/07/30 13:41:12 -  EAR file updated successfully for 250ms.
    08/07/30 13:41:12 -  Start deploying ...
    08/07/30 13:41:12 -  EAR file uploaded to server for 93ms.
    08/07/30 13:41:13 -  ERROR: NOT deployed. The Deploy Service returned the following error:
                         For detailed information see the log file of the Deploy Service.
                         Exception is:
                         com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
                              Nested exception is:
                              java.net.SocketException: Connection reset
                         java.net.SocketException: Connection reset
                              at java.net.SocketInputStream.read(SocketInputStream.java:168)
                              at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:395)
                              at java.lang.Thread.run(Thread.java:534)
    08/07/30 13:41:13 -  ***********************************************************
    Jul 30, 2008 1:41:13 PM  Info: End of log messages of the target system.
    Jul 30, 2008 1:41:13 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Jul 30, 2008 1:41:13 PM  Error: Aborted: development component 'caf/eu/gp/model/eap'/'sap.com'/'MAIN_APL70VAL_C'/'1497904'/'5', grouped by software component 'SAP-EU'/'sap.com'/'MAIN_APL70VAL_C'/'1000.7.00.14.0.20071210153525''/'5':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: NOT deployed. The Deploy Service returned the following error: com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
         Nested exception is:
         java.net.SocketException: Connection reset
    Exception is:
    com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
         Nested exception is:
         java.net.SocketException: Connection reset
    java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:395)
         at java.lang.Thread.run(Thread.java:534)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Jul 30, 2008 1:41:13 PM  Info: Starting to save the repository
    Jul 30, 2008 1:41:13 PM  Info: Finished saving the repository
    What can I do to validate that step ?
    Thanks in advance,
    Edited by: Alexandre Belgrand on Jul 30, 2008 1:48 PM

    Hi,
    I had same problem.i resolved it by reinstalling OS and configuring high Page file.
    Please set the max and min Page file size of same value.
    and also do the java memory tuning as per SAP Notes.
    Regards,
    Sandeep Nayak

  • Problem during deployment of axis (stock) examples

    Hi all
    I am getting problem during the deployment of stock example given in the apache site.
    Even i am not getting the right response from the URL
    http://localhost:8080/axis/services/Version?method=getVersion
    and
    http://localhost:8080/axis/EchoHeaders.jws?method=list.
    I am using tomcat 4.1 and JDK1.4.
    I have set all the jar files in the axisclasspath.
    At the deployment i am using the commond
    C:\tomcat4\webapps\axis\WEB-INF\classes>java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService samples\stock\deploy.wsdd
    and getting fault as
    Processing file samples\stock\deploy.wsdd
    Exception: AxisFault
    faultCode: {http://xml.apache.org/axis/}Server.NoService
    faultSubcode:
    faultString: The AXIS engine could not find a target service to invoke! targetService is null
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:Divyakant-verma
    If anybody has solution please let me know
    Thanks in advance
    Divyakant Verma

    I too am having the same issue and I am using the Java2WSDL and the WSDL2Java to create both the WSDL and the WSDD and I still get Server.NoService when I try to use the AdminClient to deploy the wsdd?
    I have tried using both 1.2 and 1.2.1.
    I am going to try to use an older verison to see if this is a bug..
    If any one know the answer to this deployment problem please speak up.

Maybe you are looking for

  • Message Header value is not written to DynamicConfiguration

    Hi Forum, I have a scenario on a PI 7.11 SP06, where a SOAP message is sent via HTTP to a SAP WAS Java. The response contains in header a  parameter"set-cookie" which has to be written in dynamic configuration. For example: Set-Cookie: JSESSIONID=DF4

  • STEPS for creating IDOC .

    I need to creat IDOC for whenever  delivery is created .

  • AdobeForm layout Error message

    Hi, Iam creating  AdobeForm project select the Layout tab get the Errormessage "Memory protection fault in OLE container control" Thanks Srinivas

  • Scrolling more lines when print out is taken in continuous page

    Hi I have created new page format and added it to format and then to device by using spad. This new page size is 8 X 6 Portrait the problem is that when print out is taken by using script the first page of the first document is correctly printed , Bu

  • Accessing objects with jstl

    Hello forum, A question about JSTL - one of the things I have not figured out until now. How can you access an object declared by a specialized tag? Generaly you c:set the variable you wish and you use EL to malipulate it. But how can you access a lo