How to upload company code data related to Company Code BP01?

How to upload company code data related to Company Code BP01 FOR CIN?

Hi,
First check whether all the pre-requisites are completed.
I'm assuming you have installed the Best Practices Baseline package (for country IN). If you have succeeded in actvating the buildig blocks (as per your scope) using Solution Builder, you would have populated all the company code data related to Co. code BP01. Looks like some steps are missing.
Please refer to the OSS note 1408706 in this regard. From there, you also can refer to the "Quick Guide to Implementing the SAP Best Practices Baseline Package V1.604 (DE), which is self-explanatory. 
Let me know if this helps.

Similar Messages

  • How to reset the existing data in a company code?

    Hi All,
    Can any one help me how to reset the existing data in a company code? when we want to change one Chart of Accounts to another Chart of Accounts in OB62 scree.
    Thanks
    Chandra

    Hi
    If asset accounting is active also use OABL tcode.
    As mentioned above, please be cautious when using these transactions.
    Do award points if found useful.
    Regards,
    Karthik

  • How to upload the master data from legacy to SAP

    Hi Frends,
    how to upload the master data from legacy system to SAP System once the configuration is over.how to carry forward the open items of vendors and customers while uploading.who will upload functional consultantsor ABAPER.
    please clarify me
    Regards
    Sap Guru

    Hi ,
    use LSMW  or BDC for uploading Master & transaction data.
    This work is done by the Respective Functional team.
    Chandra

  • How to upload Bulk Customer Data from Excel or Notepad?

    Hi
    Could any body explain me how can we upload bulk customer master data into SAP system. How the LSMW functionality works for it. what are the prerequisites to upload the data into the system, and Could any body explain me the detailed procedure to upload Customer master data into the system.
    As well I request you to know what are the other functionality we use for uploading. What would be the difference between IDOC and BDC functionalities.
    your suggestions will be highly appreciated?
    Raghu Ram

    hi raghu,
    this is sample code of bdc,
    REPORT zbdc_cus_create_ctm NO STANDARD PAGE HEADING MESSAGE-ID zsmep.
    *& Request ID: ECCK900136
    *& Author : seshu
    *& Date : 20/03/2007
    *& This report Creates customer Master Details through BDC-Call transaction
    *& method and download error files to the presentation server.
    DATA: BEGIN OF t_tab OCCURS 0,
    kunnr TYPE kun16,
    bukrs TYPE bukrs,
    vkorg TYPE vkorg,
    vtweg TYPE vtweg,
    spart TYPE spart,
    ktokd TYPE ktokd,
    name1 TYPE name1_gp,
    sortl TYPE sortl,
    ort01 TYPE ort01_gp,
    land1 TYPE land1_gp,
    spras TYPE spras,
    pstlz TYPE pstlz,
    civve TYPE civve,
    akont TYPE akont,
    awahr TYPE awahr,
    waers TYPE waers_v02d,
    kzazu TYPE kzazu_d,
    antlf TYPE string.
    DATA: END OF t_tab.
    DATA: BEGIN OF t_tab1 OCCURS 0,
    kunnr TYPE kun16,
    bukrs TYPE bukrs,
    vkorg TYPE vkorg,
    vtweg TYPE vtweg,
    spart TYPE spart,
    ktokd TYPE ktokd,
    name1 TYPE name1_gp,
    sortl TYPE sortl,
    ort01 TYPE ort01_gp,
    land1 TYPE land1_gp,
    spras TYPE spras,
    pstlz TYPE pstlz,
    civve TYPE civve,
    akont TYPE akont,
    awahr TYPE awahr,
    waers TYPE waers_v02d,
    kzazu TYPE kzazu_d,
    antlf TYPE string.
    DATA: END OF t_tab1.
    DATA: BEGIN OF g_tab_create OCCURS 0,
    kunnr TYPE kunnr,
    messa TYPE string.
    DATA: END OF g_tab_create.
    DATA: BEGIN OF g_tab_error OCCURS 0,
    kunnr TYPE kunnr,
    messa TYPE string.
    DATA: END OF g_tab_error.
    DATA: g_tab TYPE TABLE OF string,
    g_wa TYPE string.
    *DATA: g_tab TYPE TABLE OF t_tab,
    g_wa LIKE LINE OF g_tab.
    DATA: g_tab1 TYPE TABLE OF string.
    *itab for mapping...
    DATA: BEGIN OF tab_map OCCURS 0.
    INCLUDE STRUCTURE bdcdata.
    DATA: END OF tab_map.
    *itab for error messages...
    DATA: BEGIN OF tab_error OCCURS 0.
    INCLUDE STRUCTURE bdcmsgcoll.
    DATA: END OF tab_error.
    DATA: BEGIN OF l_tab OCCURS 0,
    l_text TYPE string.
    DATA: END OF l_tab.
    *delcarations for blocked alv...
    TYPE-POOLS: slis.
    DATA: l_tab_fieldcatlog TYPE slis_t_fieldcat_alv,
    l_tab_fieldcatlog1 TYPE slis_t_fieldcat_alv,
    l_layout TYPE slis_layout_alv,
    l_events TYPE slis_t_event,
    l_events1 TYPE slis_t_event,
    l_wa_events LIKE LINE OF l_events,
    l_pos TYPE i,
    report TYPE sy-repid,
    path TYPE string,
    path1 TYPE string.
    End generated data section ***
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: file TYPE ibipparms-path OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: file1 TYPE ibipparms-path.
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
    file_name = file.
    MOVE file TO path.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR file1.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
    file_name = file1.
    MOVE file1 TO path1.
    AT SELECTION-SCREEN .
    IF file EQ file1.
    MESSAGE e103(zsmep).
    EXIT.
    ENDIF.
    START-OF-SELECTION.
    *call transaction method...
    PERFORM call_ctm.
    *display the output in blocked alv...
    PERFORM disply_block_alv.
    *& Form call_ctm
    text
    FORM call_ctm.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = path
    filetype = 'ASC'
    HAS_FIELD_SEPARATOR = ' '
    HEADER_LENGTH = 0
    READ_BY_LINE = 'X'
    DAT_MODE = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    CHECK_BOM = ' '
    VIRUS_SCAN_PROFILE =
    NO_AUTH_CHECK = ' '
    IMPORTING
    FILELENGTH =
    HEADER =
    TABLES
    data_tab = g_tab
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    DATA: text TYPE TABLE OF string.
    LOOP AT g_tab INTO g_wa.
    SPLIT g_wa AT '|' INTO: t_tab-kunnr
    t_tab-bukrs
    t_tab-vkorg
    t_tab-vtweg
    t_tab-spart
    t_tab-ktokd
    t_tab-name1
    t_tab-sortl
    t_tab-ort01
    t_tab-land1
    t_tab-spras
    t_tab-pstlz
    t_tab-civve
    t_tab-akont
    t_tab-awahr
    t_tab-waers
    t_tab-kzazu
    t_tab-antlf,
    TABLE text.
    APPEND t_tab.
    CLEAR g_wa.
    ENDLOOP.
    LOOP AT t_tab.
    REFRESH tab_map.
    PERFORM sub USING 'SAPMF02D' '0100'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'RF02D-KTOKD'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub1 USING 'RF02D-KUNNR'
    t_tab-kunnr.
    PERFORM sub1 USING 'RF02D-BUKRS'
    t_tab-bukrs.
    PERFORM sub1 USING 'RF02D-VKORG'
    t_tab-vkorg.
    PERFORM sub1 USING 'RF02D-VTWEG'
    t_tab-vtweg.
    PERFORM sub1 USING 'RF02D-SPART'
    t_tab-spart.
    PERFORM sub1 USING 'RF02D-KTOKD'
    t_tab-ktokd.
    PERFORM sub USING 'SAPMF02D' '0110'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNA1-SPRAS'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub1 USING 'KNA1-NAME1'
    t_tab-name1.
    PERFORM sub1 USING 'KNA1-SORTL'
    t_tab-sortl.
    PERFORM sub1 USING 'KNA1-ORT01'
    t_tab-ort01.
    PERFORM sub1 USING 'KNA1-LAND1'
    t_tab-land1.
    PERFORM sub1 USING 'KNA1-SPRAS'
    t_tab-spras.
    PERFORM sub1 USING 'KNA1-PSTLZ'
    t_tab-pstlz.
    PERFORM sub USING 'SAPMF02D' '0120'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNA1-LIFNR'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub USING 'SAPMF02D' '0125'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNA1-NIELS'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub USING 'SAPMF02D' '0130'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNBK-BANKS(01)'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM sub USING 'SAPMF02D' '0340'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'RF02D-KUNNR'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM sub USING 'SAPMF02D' '0370'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'RF02D-KUNNR'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM sub1 USING 'KNA1-CIVVE'
    t_tab-civve.
    PERFORM sub USING 'SAPMF02D' '0360'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNVK-NAMEV(01)'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM sub USING 'SAPMF02D' '0210'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNB1-AKONT'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub1 USING 'KNB1-AKONT'
    t_tab-akont.
    PERFORM sub USING 'SAPMF02D' '0215'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNB1-GUZTE'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub USING 'SAPMF02D' '0220'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNB5-KNRMA'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub USING 'SAPMF02D' '0230'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNB1-VRSNR'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub USING 'SAPMF02D' '0310'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNVV-BZIRK'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub1 USING 'KNVV-AWAHR'
    t_tab-awahr.
    PERFORM sub1 USING 'KNVV-WAERS'
    t_tab-waers.
    PERFORM sub USING 'SAPMF02D' '0315'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNVV-LPRIO'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub1 USING 'KNVV-KZAZU'
    t_tab-kzazu.
    PERFORM sub1 USING 'KNVV-ANTLF'
    t_tab-antlf.
    PERFORM sub USING 'SAPMF02D' '0320'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNVV-PERFK'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '/00'.
    PERFORM sub USING 'SAPMF02D' '1350'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'RF02D-KUNNR'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM sub USING 'SAPMF02D' '0324'.
    PERFORM sub1 USING 'BDC_CURSOR'
    'KNVP-PARVW(01)'.
    PERFORM sub1 USING 'BDC_OKCODE'
    '=ENTR'.
    CALL TRANSACTION 'XD01' USING tab_map
    MODE 'N'
    UPDATE 'A'
    MESSAGES INTO tab_error.
    LOOP AT tab_error.
    DATA: l_message TYPE string.
    IF tab_error-msgtyp = 'I' OR tab_error-msgtyp = 'S'.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    id = tab_error-msgid
    lang = 'EN'
    no = tab_error-msgnr
    v1 = tab_error-msgv1
    v2 = tab_error-msgv2
    v3 = tab_error-msgv3
    v4 = tab_error-msgv4
    IMPORTING
    msg = l_message
    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.
    MOVE: t_tab-kunnr TO g_tab_create-kunnr,
    l_message TO g_tab_create-messa.
    APPEND g_tab_create.
    ELSEIF
    tab_error-msgtyp = 'E'.
    MOVE-CORRESPONDING t_tab TO t_tab1.
    APPEND t_tab1.
    DATA: text1 TYPE string.
    CONCATENATE t_tab-kunnr
    t_tab-bukrs
    t_tab-vkorg
    t_tab-vtweg
    t_tab-spart
    t_tab-ktokd
    t_tab-name1
    t_tab-sortl
    t_tab-ort01
    t_tab-land1
    t_tab-spras
    t_tab-pstlz
    t_tab-civve
    t_tab-akont
    t_tab-awahr
    t_tab-waers
    t_tab-kzazu
    t_tab-antlf
    INTO text1 SEPARATED BY '|'.
    l_tab-l_text = text1 .
    APPEND l_tab.
    *error records downlaod to pc...
    PERFORM gui_downlaod.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    id = tab_error-msgid
    lang = 'EN'
    no = tab_error-msgnr
    v1 = tab_error-msgv1
    v2 = tab_error-msgv2
    v3 = tab_error-msgv3
    v4 = tab_error-msgv4
    IMPORTING
    msg = l_message
    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.
    MOVE: t_tab-kunnr TO g_tab_error-kunnr,
    l_message TO g_tab_error-messa.
    APPEND g_tab_error.
    ENDIF.
    ENDLOOP.
    REFRESH tab_error.
    CLEAR l_message.
    ENDLOOP.
    ENDFORM. "call_ctm
    *& Form sub
    text
    -->A text
    -->B text
    FORM sub USING a b.
    CLEAR tab_map.
    tab_map-program = a.
    tab_map-dynpro = b.
    tab_map-dynbegin = 'X'.
    APPEND tab_map.
    ENDFORM. "FORM
    " sub
    *& Form sub1
    text
    -->P_0579 text
    -->P_0580 text
    FORM sub1 USING c d.
    CLEAR tab_map.
    tab_map-fnam = c.
    tab_map-fval = d.
    APPEND tab_map.
    ENDFORM. " sub1
    *END-OF-SELECTION.
    *& Form disply_block_alv
    text
    --> p1 text
    <-- p2 text
    FORM disply_block_alv .
    PERFORM fill_fieldcatlog.
    PERFORM fill_fieldcatlog1.
    PERFORM call_block_alv.
    ENDFORM. " disply_block_alv
    *& Form fill_fieldcatlog
    text
    --> p1 text
    <-- p2 text
    FORM fill_fieldcatlog .
    PERFORM build_catlog USING l_pos 'G_TAB_CREATE' 'KUNNR' '16' text-004.
    PERFORM build_catlog USING l_pos 'G_TAB_CREATE' 'MESSA' '90' text-005.
    ENDFORM. " fill_fieldcatlog
    *& Form BUILD_CATLOG
    text
    -->P_L_POS text
    -->P_0844 text
    -->P_0845 text
    -->P_0846 text
    -->P_TEXT_004 text
    FORM build_catlog USING u_pos TYPE any
    value(u_0844) TYPE any
    value(u_0845) TYPE any
    value(u_0846) TYPE any
    u_text TYPE any.
    DATA: l_wa_fieldcatlog TYPE slis_fieldcat_alv.
    ADD 1 TO u_pos.
    l_wa_fieldcatlog-col_pos = u_pos.
    l_wa_fieldcatlog-tabname = u_0844.
    l_wa_fieldcatlog-fieldname = u_0845.
    l_wa_fieldcatlog-outputlen = u_0846.
    l_wa_fieldcatlog-reptext_ddic = u_text.
    APPEND l_wa_fieldcatlog TO l_tab_fieldcatlog.
    ENDFORM. " BUILD_CATLOG
    *& Form fill_fieldcatlog1
    text
    --> p1 text
    <-- p2 text
    FORM fill_fieldcatlog1 .
    PERFORM build_catlog1 USING l_pos 'G_TAB_ERROR' 'KUNNR' '16' text-004.
    PERFORM build_catlog1 USING l_pos 'G_TAB_ERROR' 'MESSA' '90' text-005.
    ENDFORM. " fill_fieldcatlog1
    *& Form build_catlog1
    text
    -->P_L_POS text
    -->P_0913 text
    -->P_0914 text
    -->P_0915 text
    -->P_TEXT_004 text
    FORM build_catlog1 USING u_pos TYPE any
    value(u_0913) TYPE any
    value(u_0914) TYPE any
    value(u_0915) TYPE any
    u_text TYPE any.
    DATA: l_wa_fieldcatlog1 TYPE slis_fieldcat_alv.
    ADD 1 TO u_pos.
    l_wa_fieldcatlog1-col_pos = u_pos.
    l_wa_fieldcatlog1-tabname = u_0913.
    l_wa_fieldcatlog1-fieldname = u_0914.
    l_wa_fieldcatlog1-outputlen = u_0915.
    l_wa_fieldcatlog1-reptext_ddic = u_text.
    APPEND l_wa_fieldcatlog1 TO l_tab_fieldcatlog1.
    ENDFORM. " build_catlog1
    *& Form CALL_BLOCK_ALV
    text
    --> p1 text
    <-- p2 text
    FORM call_block_alv .
    report = sy-repid.
    CLEAR l_events.
    l_wa_events-name = slis_ev_top_of_page.
    l_wa_events-form = 'TOP_OF_PAGE'.
    APPEND l_wa_events TO l_events.
    CLEAR l_wa_events.
    l_wa_events-name = slis_ev_top_of_page.
    l_wa_events-form = 'ETOP_OF_PAGE'.
    APPEND l_wa_events TO l_events1.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
    EXPORTING
    i_callback_program = report
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = ' '
    IT_EXCLUDING =
    IF g_tab_create[] IS INITIAL.
    MESSAGE s101(zsmep).
    EXIT.
    ELSE.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    is_layout = l_layout
    it_fieldcat = l_tab_fieldcatlog
    i_tabname = 'G_TAB_CREATE'
    it_events = l_events
    IT_SORT =
    I_TEXT = ' '
    TABLES
    t_outtab = g_tab_create
    EXCEPTIONS
    PROGRAM_ERROR = 1
    MAXIMUM_OF_APPENDS_REACHED = 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.
    ENDIF.
    IF g_tab_error[] IS INITIAL.
    MESSAGE s102(zsmep).
    ELSE.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    is_layout = l_layout
    it_fieldcat = l_tab_fieldcatlog1
    i_tabname = 'G_TAB_ERROR'
    it_events = l_events1
    IT_SORT =
    I_TEXT = ' '
    TABLES
    t_outtab = g_tab_error
    EXCEPTIONS
    PROGRAM_ERROR = 1
    MAXIMUM_OF_APPENDS_REACHED = 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.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    IS_PRINT =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    EXCEPTIONS
    PROGRAM_ERROR = 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.
    ENDFORM. " CALL_BLOCK_ALV
    *& Form top_of_page
    text
    --> p1 text
    <-- p2 text
    FORM top_of_page .
    WRITE: 'Created Records'.
    ENDFORM. " top_of_page
    *& Form ETOP_OF_PAGE
    text
    --> p1 text
    <-- p2 text
    FORM etop_of_page .
    WRITE: 'Error Records'.
    ENDFORM. " ETOP_OF_PAGE
    *& Form gui_downlaod
    text
    --> p1 text
    <-- p2 text
    FORM gui_downlaod .
    MOVE file1 TO path1.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE =
    filename = path1
    filetype = 'ASC'
    APPEND = ' '
    write_field_separator = '|'
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
    IMPORTING
    FILELENGTH =
    TABLES
    data_tab = l_tab
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    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. " gui_downlaod 
    this is one of the bdc method to upload data from notepad to sap.
    regards,
    seshu.

  • Migrating 3 company codes data to 1 company code.

    Hi all,
    We are one legal entity, imparting educational training and operating its activities at three locations namely Gurgaon, Dehradun and
    Rajamundary. In addition it has two administrative offices at Delhi and Mumbai besides a few other rented premises.
    The implementation team has created one company as XYZ and created three separate company codes for each of the operational unit at Gurgaon, Dehradun and Rajamundary. All the existing company codes have been assigned to one Chart of Account. The operating units are neither independent legal entities nor are required to generate location-wise Final Accounts.
    However the existing system is not meeting our requirement and we wish to operate thru one company code only.
    Accordingly we plan to generate one more company code and migrate all the data from existing three company codes to this new one on a pre fix
    cut off date. After that we will record all the transactions in this new
    company code only and the existing codes would not be used further.
    In this regard please advise us the steps required to be followed to migrate the  combined data of three company codes to one company code.
    Kind Regards,
    Sudhanshu
    Edited by: Sudhanshu Sharma on Feb 11, 2008 11:38 AM

    please find some info on SAP SLO
    Sell-off of parts of the company
    A company group sells the portfolio of one of its divisions to another company. As a result, the data that relates to the sold company division must be removed from the group’s SAP system, and transferred to the new owner.
    With the "client separation” service, SLO offers two possible approaches to the solution. Either the data that the sold part of the company needs is migrated to a new client using one of the data transfer methods (Legacy System Migration Workbench or Migration Workbench), or a client copy is created for the sold part of the company, and the data that the parent company no longer requires is removed from the client copy using the SLO service "delete company code.”
    Company merger
    A company buys or takes over another company. The acquired company uses a different material numbering system than the buying company, for example. However, from the point of acquisition on, the same material numbers must be used, and it is therefore necessary to change the material numbers of the bought company.
    With the SLO conversion service "material number conversion,” the material numbers of the bought company are changed so that they correspond to the naming conventions used in the parent company. This is done using the Conversion Workbench.
    Reorganization/restructuring in the company
    A company was previously organized according to regions, and based its SAP system on this structure. However, an analysis of business processes reveals that a central, function-based organization would considerably increase efficiency in controlling. As a result, the controlling areas used to map the structure of the company in the SAP system must be adjusted accordingly.
    With the help of the SLO service "controlling area merge” and the Conversion Workbench, the old controlling areas, which were set up on a regional basis, can be merged into central units.
    Optimization of business processes
    In a government department, different standard charts of accounts are used for external and internal financial reporting. The duplicate work that this entails is becoming increasingly time-consuming and error-prone. The managers responsible decide that the external chart of accounts could also be used internally. As a result, the chart of account in the government department’s SAP system must be adjusted to reflect this change.
    The SLO conversion service "chart of account conversion” makes it possible to rename or merge accounts and cost elements in the chart of account so that they meet the new requirements. The assignment table in which the changes are defined is retained in the SAP system after conversion for documentation purposes – for an external audit, for example.
    http://www.sap.info/public/INT/int/index/Category-12613c61affe7a5bc-int/-1/articleContainer-70353ed226f24a312

  • Open hub Services - How to extract the master data related to a object ?

    Hi Gurus,
    I am implementing OpenHub services for our project, it's on BW 3.5, I have the list of required fields with which I am creating an InfoSpoke. Now I am stuck in some the info objects which are having master data associated with it.
    Example : Business partner(BP) data, when I map the 0BP infobjects in infospoke it's extracting the BP ID (ex: CT065316,CT068638 etc) in flat file but I want the BP name, address & telephone number as well, which are coming from master data table. But I am able to map only 0BP infobjects as a part of ODS/Cube.
    Can any one tell me how to get the master data extracted in the flat file with associated info object???
    Answers will be highly appreciated.
    Regards,
    Kironmoy Banerjee
    Edited by: Kironmoy Banerjee on Oct 1, 2009 3:34 PM

    Hi Kironmay
    Please follow the below mentioned procedure to create a transformation. This is applicable for BW 3.5 as well.
    - Enter your infospoke in the edit mode.
    - On the Transformation tab set the indicator for the Infospoke with Transformation with BADI so that the infospoke is activated.
    - This will take you to the Addin implementation/BADI builder.
    - Enter the short text/description for the implementation. The implementation name is always the same as the technical name of the infospoke
    - The implementation of the BADI is always filter dependant.
    - In the properties tab of the infospoke enter your infospoke under the Filter specifications.
    If you do not specify an InfoSpoke under Filter Specifications, then this implementation is valid for all InfoSpokes. This means that this is called up for all InfoSpokes during the extraction.
    - Activate your class
    - From your interface tab page, double click on the Transofrm Method and you will arrive in the class builder page
    - Here you can enter the code
    - To do a look up of the master data you have to write a code similar to the one I've given below. This is just an example for looking up material master.
    IF FLT_VAL = 'Your infospoke'.
        T_DATA_IN[] = I_T_DATA_IN[].
    Select zstd_cost from /bi0/pmaterial into table T_return
    For all entries in T_DATA_IN
    WHERE material = T_DATA_IN-material.
    ...Continue with your code.
    Append output from T_return to your output E_T_DATA_OUT
    - Activate your method. Return to the BAdI builder. Return to your InfoSpoke.
    I hope this helps.
    Thanks.

  • How we can see the data related to finance ??

    Hi Gurus,
    I have attend for one interview and faced one question is that how can we see the finance related data in r/3?
    they asked the same question.
    can you please let me know how we can see the data for perticular module like HR,FInance...
    Points 'll be assigned..
    Regards,
    Syam

    For Finance the standard datasources are
    0FI_GL_4
    0FI_AR_4
    0FI_AP_4
    Go to R/3 lbwe
    select these datasources
    click on manage
    you will get a window with fields. here in the right hand corner there is a drop down which giives table names
    OR
    Goto RSA3 and give the datasource name

  • How to Upload an attendees data and assessment details

    Hi all.
    Upload an attndess data and assessment detials against a specific business event date...programatically......how this can be done......?
    Since i am new to HR module.....
    I will give you overview what should be done....
    1.  A business evet occurs (Call Handling Training) on 2007.11.05 and object type is (E) object type id : 00027727
    2.  A list of employees ( P or H ) is provided to be booked against. Once booked, the business event date is firmly booked.
    3.  A follow up action is then conducted on Business Event date. A competency rating is then captured for those who attended.
         Once this information is saved. It passes a qualification for those who attended to 0024 infotype(qualification detials)
    4. Then in the followup screen(PV15) go into an individual record in the qulification overitime and capture assessment detials in the notes section of the selected qualification....
    Please let me know how this can be done...
    Points will be rewarded......

    hi,
    this can be useful as well (but I am not sure if it is not same thing Roberto sent you)
    http://service.sap.com/bi -> SAPBW Infoindex -> DB Connect
    Regards,
    Andrzej

  • How to upload the heirarchy data in BW system

    Hi All,
    I want to download & upload the hierachy data in BW. How can we do this, Please let me know.
    Thanks in advance.
    Regards,
    Vishal

    Hi Vishal,
    Pls use BW07 & BW10 Tcodes for generating the Hierarchy Data Source in R/3.
    If its a set of hierarchy you can use tcode BW07 to generate datasoucre, and for standard hierachies you must be having datasources already created.
    Now just replicate datasoucre in BW side, and in infopckage selection you can get newly created hierarchy. Select and schedule it, it will be loaded into BW.
    For External Hierarchy in BW , download to Flatfild and then upload.
    The useful link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb
    material hierarchy data source
    and:
    How to create a hierarchy datasource in R/3
    **PLS assign points,if info is useful***
    Regards
    CSM Reddy

  • How to upload Purchase Order Data thru LSMW

    Hi All,
    I need to upload Purchase order data thru LSMW. LSMW Provides standard object method which does not suit for split valuation. But in the client place split valuation is maintained. Is there any other of option of uploading the data.
    Regards,
    Srivatsan

    Dear Srivatsan
    For Upload Purchase order Data through LSMW
    Business object BUS2012 - Purchase Order
    Basic type PORDCR04
    Message type PORDCR
    Method CREATEFROMDATA
    With regards
    B.Ravindranath

  • [CS3] How to get the geometry data relative to the page?

    Hello!
    I have the inner geometry data (IGeometry) of a page item.
    There is a routine ::TransformInnerPointToPasteboard() which calculates the points relative to the origin of the pasteboard.
    But I want the geometry data relative to the page's origin, which is to top-left of the page
    Can anybody help me?
    Thanks,
    Alois Blaimer

    Hi Alois,<br /><br />I would make it like that..<br /><br />//just get page from an item (Splineitem, IGraphicframe...)<br />InterfacePtr<IGeometry> itemGeo ( mItemRef, UseDefaultIID() );<br />InterfacePtr<IHierarchy> itemHier ( mItemRef, UseDefaultIID() );<br />mPageRef = UIDRef( mDB, ::GetOwnerPageUID(itemHier) );<br /><br />//get position of item and page in pasteboard coordinates..     <br />PMRect fItemRect = inGetStrokeBounds ( mItemRef  );<br />PMRect fPageRect = inGetStrokeBounds ( mPageRef  );<br />          <br />//just calculate what you want<br />PMRect fRelItemRect;<br />fRelItemRect.Top()   = fItemRect.Top()  - fPageRect.Top();<br />fRelItemRect.Left()  = fItemRect.Left() - fPageRect.Left();<br /><br />PMRect inGetStrokeBound ( UIDRef& ref ) {<br />PMRect itemRect = Utils<Facade::IGeometryFacade>()->GetItemBounds( ref,Transform::PasteboardCoordinates(), Geometry::PathBounds());<br />return itemRect;<br />}<br /><br />Greetings<br /><br />Michael Bauder

  • How to upload large binary data to dB so it can be read by any app?

    Hi everyone,
    Short version: how do you upload binary data into a MySQL blob field in such a way that it can be read by any application?
    Long version:
    I've been struggling with the problem of putting files into database BLOB fields. (MySQL and Database Connectivity Toolkit).
    I was initially building a query string and executing the query but was finding that certain binary characters were causing failures (end of string terminators, etc...) So, a working solution was to encode the binary string, and that worked fine, although bloated the dB a fair bit. I could decode in LabVIEW and then save the file as needed.
    Now, the customer wants to be able to save the files using other apps, including the MySQL Query Browser, so an encoded file is no good.
    I found using a parametrized query allows me to put the unencoded string into the dB, but it appends a 4-byte length at the front of the BLOB before it inserts it into the dB. Some apps ignore these 4-bytes (such as .pdf) but most do not.
    A related thread on NI discussion forums: http://forums.ni.com/ni/board/message?boar...ssage.id=354361 has no solution, and my support ticket at NI has been ongoing without answer for a while.
    Thanks,
    Ben

    The problem is the DCT. Using ADO it is fairly easy to insert binary data into a BLOB field. I have not tried it in MySQL, but it works fine in SQL Server, Oracle, Firebird and other free/open source databases I have tried. To get you started, see this thread.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to upload past results data in SAP

    Hello All SAP GURUS......
    Actually earlier there was using a separate system for result recording of inspection lot. Now as upgraded to SAP Client want all old result entries should enter in SAP.
    The hierarchy of result recording is:-
    Ist Level:-     There are too many operation in an inspection lot.
    IInd Level:-   There are too many sampling point in an operation.
    IIIrd Level:-   There are too many MIC in a sampling point.
    IVth Level:-  There are too many dates in a MIC.
    Vth Level:-   There are too many times in a date.
    Now we have all these things as past data e.g. Inspection lot, Operation no, Sampling point, Date, Time, MIC and result.
    Actually we are also using a program but is is taking huge time for uploading the entries as 10000 entries in 20 hrs
    Please guide how can we make it fast.

    Dear Fire Fighter,
    Please find the coding which I using and program logic:-
    REPORT  ZBAPI_QE51N_DATA_INSERT NO STANDARD PAGE HEADING.
    INITIALIZATION.
      TYPE-POOLS SLIS.
      DATA: BEGIN OF ichar_results OCCURS 0.
              INCLUDE STRUCTURE BAPI2045D2.
      DATA: END OF ichar_results.
      DATA: BEGIN OF isingle_results OCCURS 0.
              INCLUDE STRUCTURE BAPI2045D4.
      DATA: END OF isingle_results.
      DATA: BEGIN OF bapireturn2 OCCURS 0.
              INCLUDE STRUCTURE bapiret2.
      DATA: END OF bapireturn2.
        DATA: BEGIN OF RET OCCURS 0.
              INCLUDE STRUCTURE bapiret2.
      DATA: END OF RET.
      DATA: BEGIN OF INSPPOINTDATA OCCURS 0.
              INCLUDE STRUCTURE BAPI2045L4.
      DATA: END OF INSPPOINTDATA.
      DATA: BEGIN OF ireturntable OCCURS 0.
              INCLUDE STRUCTURE bapiret2.
      DATA: END OF ireturntable.
      DATA : IT_EXCEL TYPE STANDARD TABLE OF ALSMEX_TABLINE,
             WA_EXCEL TYPE ALSMEX_TABLINE.
      SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE TEXT-001.
      SELECTION-SCREEN BEGIN OF BLOCK BLOCK2 WITH FRAME.
      PARAMETERS : P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
       SELECTION-SCREEN END OF BLOCK BLOCK2.
      SELECTION-SCREEN END OF BLOCK BLOCK1.
      SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 1(83) text-002 MODIF ID COM.
      SELECTION-SCREEN END OF LINE.
        SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 1(80) text-005 MODIF ID COM.
       SELECTION-SCREEN END OF LINE.
      TYPES :
      begin of it_type,
             p_oprnum type BAPI2045D2-inspoper,
             lot_num type BAPI2045L2-INSPLOT,
             samp type BAPI2045D4-EXT_NO,
             date type char10,
             time type char10,
             c_code1 type QIBPMERKNR,
             char1 type BAPI2045D4-RES_VALUE,
       end of it_type.
      DATA : IT_ITAB TYPE STANDARD TABLE OF IT_TYPE,
             WA_ITAB TYPE IT_TYPE,
             IT_ITABM TYPE STANDARD TABLE OF IT_TYPE,
             WA_ITABM TYPE IT_TYPE,
             charv like WA_ITAB-char1,
             sign.
      DATA : IT_ITABv TYPE STANDARD TABLE OF IT_TYPE,
             WA_ITABv TYPE IT_TYPE.
      TYPES : BEGIN OF FTYPE.
      INCLUDE TYPE IT_TYPE.
      TYPES : MES_TYPE(1),
             MESSAGE TYPE STRING.
      TYPES: END OF FTYPE.
      DATA : IT_FTAB TYPE STANDARD TABLE OF FTYPE,
             WA_FTAB TYPE FTYPE,
             STR TYPE STRING,
             rc type sy-tabix..
      data : p_oprnum type BAPI2045D2-inspoper,
             lot_num type BAPI2045L2-INSPLOT,
             c_code type QIBPMERKNR,
             char type BAPI2045D4-RES_VALUE,
             samp type BAPI2045D4-EXT_NO.
      DATA ITCAT TYPE SLIS_T_FIELDCAT_ALV.
      DATA FCAT_WA TYPE SLIS_FIELDCAT_ALV.
    AT SELECTION-SCREEN output.
      LOOP AT SCREEN.
      IF SCREEN-group1 = 'COM'.
          SCREEN-INTENSIFIED = 1.
          MODIFY SCREEN.
          ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE .
      PERFORM VALUE_HELP .
    start-of-selection.
          PERFORM GET_DATA1.
      perform update_records_in_qe01.
      PERFORM ERROR_LIST_ALV.
    FORM UPDATE_RECORDS_IN_QE01 .
      SORT IT_ITAB BY LOT_NUM P_OPRNUM SAMP date time c_code1.
      DELETE ADJACENT DUPLICATES FROM IT_ITAB
      COMPARING  LOT_NUM P_OPRNUM SAMP date time c_code1.
      IT_ITABM[] = IT_ITAB[].
      SORT IT_ITABM BY LOT_NUM P_OPRNUM date time.
      DELETE ADJACENT DUPLICATES FROM IT_ITABM
      COMPARING  LOT_NUM P_OPRNUM .
      DATA : NUM(2) TYPE C.
      FIELD-SYMBOLS : <FS1> TYPE ANY,
                      <FS2> TYPE ANY.
      LOOP AT IT_ITAB INTO WA_ITAB.
        refresh: isingle_results,
        INSPPOINTDATA.
          isingle_results-insplot = WA_ITAB-lot_num.
          isingle_results-inspoper = WA_ITAB-p_oprnum.
          isingle_results-inspchar = WA_ITAB-C_CODE1.
          isingle_results-res_no = '0001'.
          isingle_results-RES_VALUAT = 'A'.
          clear :sign, charv.
          charv = WA_ITAB-CHAR1 .
          CONDENSE charv NO-GAPS.
          IF CHARV(1) = '<' OR
             CHARV(1) = '>'.
            SIGN = CHARV(1).
            CLEAR CHARV(1).
          CONDENSE charv NO-GAPS.
          ENDIF.
          isingle_results-RES_ATTR = sign.
          isingle_results-res_value = charv.
          APPEND isingle_results.
        INSPPOINTDATA-INSPLOT  = WA_ITAB-lot_num.
        INSPPOINTDATA-INSPOPER  = WA_ITAB-p_oprnum.
        INSPPOINTDATA-USERC1  = WA_ITAB-samp.
        CONCATENATE WA_ITAB-date6(4)  WA_ITAB-date3(2)
        WA_ITAB-date(2) INto  INSPPOINTDATA-USERD1 .
        CONCATENATE WA_ITAB-time(2) WA_ITAB-time3(2) WA_ITAB-time6(2) INTO
        INSPPOINTDATA-USERT1 .
    append INSPPOINTDATA.
        MOVE-CORRESPONDING WA_ITAB TO WA_FTAB.
    lot_num = WA_ITAB-lot_num.
    p_oprnum = WA_ITAB-p_oprnum.
        CALL FUNCTION 'BAPI_INSPOPER_RECORDRESULTS' "DESTINATION DEST
           EXPORTING
        INSPLOT = lot_num
        INSPOPER = p_oprnum
        INSPPOINTDATA = INSPPOINTDATA
        IMPORTING
        RETURN = bapireturn2
        TABLES
        SINGLE_RESULTS = isingle_results
        returntable    = ireturntable.
        LOOP AT bapireturn2.
          WRITE :/ bapireturn2-TYPE,
                   bapireturn2-MESSAGE.
        ENDLOOP.
        READ TABLE ireturntable WITH KEY
        TYPE = 'E'.
        IF SY-SUBRC = 0.
          WA_FTAB-MES_TYPE = ireturntable-TYPE.
          WA_FTAB-MESSAGE = ireturntable-MESSAGE.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK' "DESTINATION DEST
           IMPORTING
             RETURN        = RET.
        ELSE.
          rc = rc + 1.
          str = rc.
          CONCATENATE '::' str '=>'  'Records updated' into str.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'  "DESTINATION DEST
            EXPORTING
              WAIT   = 'X'
            IMPORTING
              RETURN = bapireturn2.
          WA_FTAB-MES_TYPE = 'S'.
          WA_FTAB-MESSAGE = 'Record successfully created'.
       CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
           PERCENTAGE       = rc
           TEXT             = str.
        ENDIF.
    append wa_ftab to it_ftab.
      ENDLOOP.
    ENDFORM.                    " UPDATE_RECORDS_IN_QE01
    FORM VALUE_HELP .
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = 'P_FILE'
        IMPORTING
          FILE_NAME     = P_FILE.
    ENDFORM.                    " VALUE_HELP
               " GET_DATA
    FORM ERROR_LIST_ALV .
    DATA : TITLE TYPE LVC_TITLE .
    CLEAR : STR.
    STR = RC.
    CONCATENATE 'Total : ' STR ' records updated' into str.
    TITLE = STR.
      PERFORM FCAT_FILL.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME                        = 'C:\lims_error_log.xls'
       WRITE_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                        = IT_FTAB
    IF SY-SUBRC <> 0.
    ENDIF.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         I_CALLBACK_PROGRAM                = SY-CPROG
       I_GRID_TITLE                      = TITLE
         IT_FIELDCAT                       = ITCAT
        TABLES
          T_OUTTAB                          = IT_FTAB
      IF SY-SUBRC <> 0.
      ENDIF.
    ENDFORM.                    " ERROR_LIST_ALV
    FORM FCAT_FILL .
    perform append_fcat using 'P_OPRNUM' 'Operation Number'.
    perform append_fcat using 'LOT_NUM' 'Lot Number'.
    perform append_fcat using 'SAMP' 'Sampling point'.
    perform append_fcat using 'DATE' 'Sampling Date'.
    perform append_fcat using 'TIME' 'Sampling Time'.
    perform append_fcat using 'C_CODE1' 'CODE 1'.
    perform append_fcat using 'CHAR1'  'Value 1'.
    perform append_fcat using 'MES_TYPE' 'Message Type'.
    perform append_fcat using 'MESSAGE' 'Messages'.
    ENDFORM.                    " FCAT_FILL
    FORM GET_DATA1 .
    data file type string.
    file = p_file.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
           PERCENTAGE       = 0
           TEXT             = TEXT-111.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = file
       HAS_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                      = it_itab
    IF SY-SUBRC <> 0.
    ENDIF.
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
           PERCENTAGE       = 0
           TEXT             = TEXT-112.
    ENDFORM.                    " GET_DATA1
    FORM APPEND_FCAT  USING    P_VAL1
                               P_VAL2.
    FCAT_WA-FIELDNAME = P_VAL1.
      FCAT_WA-SELTEXT_M = P_VAL2.
      APPEND FCAT_WA TO ITCAT.
      CLEAR FCAT_WA.
    ENDFORM.                    " APPEND_FCAT
    Please suggest.
    Edited by: vivekrastogi on Mar 16, 2011 5:30 AM

  • How to upload tab-control data through LSMW.....

    Hi,
    I have to upload the data using the LSMW ....in their i have tab-control...how i have to upload the data of tab-control through LSMW....
    Reply me early..if u have any idea...
    Phani

    Hi Phani,
    LSMW will have a Indicator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
    check that single charecter field, it that is X that means the header record is processed, and do the items.
    and, this is another way, try this out also
    YOu can do this in "Define Source Structures" step,
    the HEADER is defined first,
    then the DETAIL below the HEADER.
    add the fields to the structures.
    Both should have some common key field
    Please take care that the name of the common field is the same.
    Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
    let me know if any issues.
    Thanks
    Naveen Khan

  • How to upload Palm Desktop data to Google?

    I am trying to transfer my Palm Desktop PIM version 6.2.2 (Contacts, Calendar, Tasks and Memos) data to related Google services.  What is the best way to accomplish this transfer?  I realize there will likely be multiple steps in the process.
    Relative to the Palm Desktop PIM--
    Maybe the best way to transfer the Contact and Calendar data to Google is via Palm's Data Transfer Assistant?  It's not clear if this will work as I have an older Palm Treo 700.  If yes, will this also handle the transfer of Tasks and Memos?
    - The Palm Desktop software will do an export of Contact and Memo data to CSV files, but it will only do "archive" exports (i.e., only usable by the Palm Desktop Software) for Calendar and Task data.  Is the best option to follow Google instructions on importing CSV file data for the Contact and Memo data?  If yes then how would I import the Calendar and Memo data to Google?
    - Is there a particularly good 3rd party software that can handle the transfer of some or all of the Palm Desktop data to Google?
    - What is the best Google service to which I should transfer the four kinds of Palm Desktop data?  For the Palm Calendar data it is clear that I should transfer to Google Calendar.  For the Palm Address/Contact data it looks like I should transfer to Gmail Contacts?  For the Palm Tasks data it looks like there is a related Google service within Google Calendar?  So far I have not found a likely Google service for my Palm Memos data.
    Thanks for your help!
    Post relates to: Treo 700p (Verizon)
    Post relates to: Treo 700p (Verizon)

    I'd like to correct poeta slightly in saying that CompanionLink synchronizes Palm MemoPad items to Google, and has done Memos since June 2009, around the time the Palm Pre came out.  For Google, because there is no Memo app, CompanionLink moves Memos into the contact list into a distinct area.  The Memo title becomes the contact name, with the Memo itself held in the Contact note.  The name is made distinct by adding |M| to show it is a memo, and to sort to the bottom of the Contact list.
    All CompanionLink products synchronize Contacts, Calendar, Tasks and Memos, from any version of Palm Desktop.
    CompanionLink is free to use for one-time data transfer.  You can make any use of the trial full-version for 14 days.  Later, if you wish to continue using Palm Desktop, you can purchase the product for $39.95 one-time fee.  This includes free telephone technical support, which you can use to answer any questions that come up when you move your data.
    I hope this information helps.
    Wayland Bruns, CTO
    CompanionLink Software, Inc.
    http://www.companionlink.com
    Message Edited by clcto on 01-18-2010 06:41 AM

Maybe you are looking for

  • Outlook Calendar and I-Pod, Who has gotten this to work?

    I am at a complete loss. I have a 5th generation I-pod video. When I first got it (last spring) I could get it to sync with my contacts and calendar from Outlook. At times it would cause the program to hang, or not always bring over information, but

  • Infinality-bundle-fonts: a free multilingual font collection for Arch

    infinality-bundle-fonts: a free multilingual font collection for Arch Linux infinality-bundle-fonts is meant to be a complete, 'install-and-forget' solution for most (Arch) Linux users looking for easy access to common type-faces diversity needed to

  • How do you load Compiz before Gnome Session?

    I'd like for Compiz to load entirely before the Gnome 3 Desktop panels slide in. Is there a way to control in what order things load in Xorg or something?

  • I want to know how an implementation project would be?

    what are the different projects exists in sap bw and would like to know what are the roles related to it how many types of projects.....and roles related to it

  • Macros with WORD.BASIC (MS WORD 2003)

    Hi:    I have created a program linked with Microsoft Word with WORD.BASIC object. The program run correctly with MS Word 2002 executing all the methods CREATE OBJECT h_word 'WORD.BASIC' LANGUAGE 'e' CALL METHOD OF h_word 'APPSHOW' EXPORTING #1 = 'Mi