Lsmw for uploading GL Accounts Master data
Hi SAP Gurus
I am Uploading GL Accts Master data using LSMW in the following procedure:
1) Upload GL Accounts only, COA Level - B/S : FSP0
2) Upload GL Accounts only, COA Level - P&L : FSP0
Successfull in above 2.
How should I;
Upload GL Accounts on Company Code Level: FSS0
- While recording, should I include the GL Account No. field.
I tried it but the cc segment is not updated for GL accounts already created in FSP0.
Please help.
Points Guaranteed.
Regards
Jamil
[Legacy System Migration Workbench]
LSMW Version Number : 4.0.0
LSMW Version Date : 31.08.2004
R/3 Installation Number : 0020263291
R/3 System Id : PRO
R/3 Release : 700
R/3 Client : 300
R/3 Operating System : HP-UX
R/3 Database System : ORACLE
R/3 Hostname : sapukpn1
User Id : ATKACHENKO
Date : 25.12.2008
Time : 16:45:09
Local Date : 25.12.2008
Local Time : 16:45:09
Local Timezone : EET
[Project Information]
[Project Name ] : Z_MOE
[Project Text ] : Z_MOE
/SAPDMC/LSGPRO Z_MOE ATKACHENKO 20070620
/SAPDMC/LSGPROT 8Z_MOE Z_MOE
[Recordings]
[Recording ] : ACCOUNTS
[Recording Text ] : Accouunt_CREAT
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0001 0000TFS00 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0002SAPLGL_ACCOUNT_MASTER_MAINTAIN 2001X 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0003 0000 BDC_OKCODE =ACC_CRE 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0004 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2011HEADER 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0005 0000 BDC_CURSOR GLACCOUNT_SCREEN_KEY-SAKNR 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0006 0000 GLACCOUNT_SCREEN_KEY-SAKNR / SAKNR account SAKNR SAKNR GLACCOUNT_SCREEN_KEY SAKNR 0000000000 000010000020000010CHARC
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0007 0000 GLACCOUNT_SCREEN_KEY-BUKRS 9999 BUKRS BUKRS GLACCOUNT_SCREEN_KEY BUKRS 0000000000 000004000008000004CHARC
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0008 0000 BDC_SUBSCR SAPLATAB 0100TABSTRIP 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0009 0000 BDC_SUBSCR SAPLATAB 0200SUBSC 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0010 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2102AREA1 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0011 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2101AREA2 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0012 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2103AREA3 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0013 0000 BDC_SUBSCR SAPLATAB 0300AREA4 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0014 0000 BDC_SUBSCR SAPLATAB 0300AREA5 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0015 0000 BDC_SUBSCR SAPLATAB 0300AREA6 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0016 0000 BDC_SUBSCR SAPLATAB 0300AREA7 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0017SAPLGL_ACCOUNT_MASTER_MAINTAIN 2001X 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0018 0000 BDC_OKCODE =TAB02 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0019 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2011HEADER 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0020 0000 BDC_SUBSCR SAPLATAB 0100TABSTRIP 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0021 0000 BDC_SUBSCR SAPLATAB 0200SUBSC 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0022 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2102AREA1 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0023 0000 GLACCOUNT_SCREEN_COA-KTOKS UFRO KTOKS KTOKS GLACCOUNT_SCREEN_COA KTOKS 0000000000T077S 000004000008000004CHARC
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0024 0000 GLACCOUNT_SCREEN_COA-XBILK X XFELD XBILK GLACCOUNT_SCREEN_COA XBILK 0000000000 000001000002000001CHARC
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0025 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2101AREA2 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0026 0000 BDC_CURSOR GLACCOUNT_SCREEN_COA-TXT50_ML 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0027 0000 GLACCOUNT_SCREEN_COA-TXT20_ML / TXT20_ML TXT20_ML TEXT20 TXT20_SKAT GLACCOUNT_SCREEN_COA TXT20_ML 0000000000 000020000040000020CHARCX
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0028 0000 GLACCOUNT_SCREEN_COA-TXT50_ML / TXT50_ML TXT50_ML TEXT50 TXT50_SKAT GLACCOUNT_SCREEN_COA TXT50_ML 0000000000 000050000100000050CHARCX
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0029 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2103AREA3 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0030 0000 BDC_SUBSCR SAPLATAB 0300AREA4 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0031 0000 BDC_SUBSCR SAPLATAB 0300AREA5 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0032 0000 BDC_SUBSCR SAPLATAB 0300AREA6 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0033 0000 BDC_SUBSCR SAPLATAB 0300AREA7 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0034SAPLGL_ACCOUNT_MASTER_MAINTAIN 2001X 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0035 0000 BDC_OKCODE =TAB03 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0036 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2011HEADER 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0037 0000 BDC_SUBSCR SAPLATAB 0100TABSTRIP 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0038 0000 BDC_SUBSCR SAPLATAB 0200SUBSC 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0039 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2201AREA1 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0040 0000 GLACCOUNT_SCREEN_CCODE-WAERS UAH WAERS WAERS_SKB1 GLACCOUNT_SCREEN_CCODE WAERS 0000000000TCURC 000005000010000005CUKYC
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0041 0000 GLACCOUNT_SCREEN_CCODE-XMWNO X XFELD XMWNO GLACCOUNT_SCREEN_CCODE XMWNO 0000000000 000001000002000001CHARC
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0042 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2202AREA2 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0043 0000 BDC_CURSOR GLACCOUNT_SCREEN_CCODE-BEGRU 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0044 0000 GLACCOUNT_SCREEN_CCODE-XKRES X XFELD XKRES GLACCOUNT_SCREEN_CCODE XKRES 0000000000 000001000002000001CHARC
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0045 0000 GLACCOUNT_SCREEN_CCODE-ZUAWA 000 ZUAWA DZUAWA GLACCOUNT_SCREEN_CCODE ZUAWA 0000000000TZUN 000003000006000003CHARC
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0046 0000 GLACCOUNT_SCREEN_CCODE-BEGRU / BEGRU BEGRU BRGRU BRGRU GLACCOUNT_SCREEN_CCODE BEGRU 0000000000 000004000008000004CHARC
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0047 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2206AREA3 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0048 0000 BDC_SUBSCR SAPLATAB 0300AREA4 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0049 0000 BDC_SUBSCR SAPLATAB 0300AREA5 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0050 0000 BDC_SUBSCR SAPLATAB 0300AREA6 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0051 0000 BDC_SUBSCR SAPLATAB 0300AREA7 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0052SAPLGL_ACCOUNT_MASTER_MAINTAIN 2001X 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0053 0000 BDC_OKCODE =SAVE 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0054 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2011HEADER 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0055 0000 BDC_SUBSCR SAPLATAB 0100TABSTRIP 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0056 0000 BDC_SUBSCR SAPLATAB 0200SUBSC 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0057 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2203AREA1 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0058 0000 BDC_CURSOR GLACCOUNT_SCREEN_CCODE-FSTAG 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0059 0000 GLACCOUNT_SCREEN_CCODE-FSTAG G001 FSTAG FSTAG GLACCOUNT_SCREEN_CCODE FSTAG 0000000000T004F 000004000008000004CHARC
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0060 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2204AREA2 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0061 0000 BDC_SUBSCR SAPLGL_ACCOUNT_MASTER_MAINTAIN 2205AREA3 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0062 0000 BDC_SUBSCR SAPLATAB 0300AREA4 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0063 0000 BDC_SUBSCR SAPLATAB 0300AREA5 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0064 0000 BDC_SUBSCR SAPLATAB 0300AREA6 0000000000 000000000000000000
/SAPDMC/LSGBDC Z_MOE ACCOUNTS 0065 0000 BDC_SUBSCR SAPLATAB 0300AREA7 0000000000 000000000000000000
/SAPDMC/LSGBDCA Z_MOE ACCOUNTS FS00 ATKACHENKO ATKACHENKO 20070806
/SAPDMC/LSGBDCS Z_MOE ACCOUNTS 01
/SAPDMC/LSGBDCT 8Z_MOE ACCOUNTS Accouunt_CREAT
[Subproject Information]
[Subproject ] : Z_ADM
[Subproject Text ] : ADMinistration
/SAPDMC/LSGSUB Z_MOE Z_ADM ATKACHENKO 20081029
/SAPDMC/LSGSUBT 8Z_MOE Z_ADM ADMinistration
[Subproject Information]
[Subproject ] : Z_FM
[Subproject Text ] : Z_FM
/SAPDMC/LSGSUB Z_MOE Z_FM ATKACHENKO 20071030
/SAPDMC/LSGSUBT 8Z_MOE Z_FM Z_FM
[Subproject Information]
[Subproject ] : Z_LOC
[Subproject Text ] : Location
/SAPDMC/LSGSUB Z_MOE Z_LOC ATKACHENKO 20081030
/SAPDMC/LSGSUBT 8Z_MOE Z_LOC Location
[Subproject Information]
[Subproject ] : Z_MOE
[Subproject Text ] : Z_MOE
/SAPDMC/LSGSUB Z_MOE Z_MOE ATKACHENKO 20070620
/SAPDMC/LSGSUBT 8Z_MOE Z_MOE Z_MOE
[Object Information]
[Object ] : ACCOUUNT_CREAT
[Object Text ] : Accouunt_CREAT
/SAPDMC/LSOTXT 8Z_MOE Z_MOE ACCOUUNT_CREAT Accouunt_CREAT
/SAPDMC/LSOATT Z_MOE Z_MOE ACCOUUNT_CREAT 02 00000010ATKACHENKO X ATKACHENKO 20070803
/SAPDMC/LSOSTR Z_MOE Z_MOE ACCOUUNT_CREAT CRAC creation 000101 00000000000000000000
/SAPDMC/LSOFLD Z_MOE Z_MOE ACCOUUNT_CREAT CRAC BEGRU 0004C 004begru
/SAPDMC/LSOFLD Z_MOE Z_MOE ACCOUUNT_CREAT CRAC SAKNR 0001C 010account
/SAPDMC/LSOFLD Z_MOE Z_MOE ACCOUUNT_CREAT CRAC TXT20_ML 0002C 020text
/SAPDMC/LSOFLD Z_MOE Z_MOE ACCOUUNT_CREAT CRAC TXT50_ML 0003C 040textlong
/SAPDMC/LSOREL Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS CRAC 00000000
/SAPDMC/LSOMAP Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS BEGRU 0001CRAC BEGRU ATKACHENKO 20070806
/SAPDMC/LSOMAP Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS SAKNR 0001CRAC SAKNR ATKACHENKO 20070806
/SAPDMC/LSOMAP Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS TXT20_ML 0001CRAC TXT20_ML ATKACHENKO 20070806
/SAPDMC/LSOMAP Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS TXT50_ML 0001CRAC TXT50_ML ATKACHENKO 20070806
/SAPDMC/LSORUL Z_MOE Z_MOE ACCOUUNT_CREAT 0000__END_OF_TRANSACTION__ DFATKACHENKO 20070806 00000000
/SAPDMC/LSORUL Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS BEGRU MVATKACHENKO 20070806 00000000
/SAPDMC/LSORUL Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS SAKNR MVATKACHENKO 20070806 00000000
/SAPDMC/LSORUL Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS TABNAME DFATKACHENKO 20070806 00000000
/SAPDMC/LSORUL Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS TCODE DFATKACHENKO 20070806 00000000
/SAPDMC/LSORUL Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS TXT20_ML MVATKACHENKO 20070806 00000000
/SAPDMC/LSORUL Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS TXT50_ML MVATKACHENKO 20070806 00000000
/SAPDMC/LSORUL Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS __BEGIN_OF_RECORD__ DFATKACHENKO 20070806 00000000
/SAPDMC/LSORUL Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS __END_OF_RECORD__ DFATKACHENKO 20070806 00000000
/SAPDMC/LSOCOD Z_MOE Z_MOE ACCOUUNT_CREAT 0000__END_OF_TRANSACTION__ 0001transfer_transaction. ATKACHENKO 20070806
/SAPDMC/LSOCOD Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS BEGRU 0001ACCOUNTS-BEGRU = CRAC-BEGRU. ATKACHENKO 20070806
/SAPDMC/LSOCOD Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS SAKNR 0001ACCOUNTS-SAKNR = CRAC-SAKNR. ATKACHENKO 20070806
/SAPDMC/LSOCOD Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS TABNAME 0001ACCOUNTS-TABNAME = 'ACCOUNTS'. ATKACHENKO 20070806
/SAPDMC/LSOCOD Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS TCODE 0001ACCOUNTS-TCODE = 'FS00'. ATKACHENKO 20070806
/SAPDMC/LSOCOD Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS TXT20_ML 0001ACCOUNTS-TXT20_ML = CRAC-TXT20_ML. ATKACHENKO 20070806
/SAPDMC/LSOCOD Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS TXT50_ML 0001ACCOUNTS-TXT50_ML = CRAC-TXT50_ML. ATKACHENKO 20070806
/SAPDMC/LSOCOD Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS __BEGIN_OF_RECORD__ 0001ACCOUNTS = INIT_ACCOUNTS. ATKACHENKO 20070806
/SAPDMC/LSOCOD Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS __END_OF_RECORD__ 0001transfer_record. ATKACHENKO 20070806
/SAPDMC/LSOFIL Z_MOE Z_MOE ACCOUUNT_CREAT Z_MOE_Z_MOE_ACCOUUNT_CREAT.lsmw.read Z_MOE_Z_MOE_ACCOUUNT_CREAT.lsmw.conv
/SAPDMC/LSOINP Z_MOE Z_MOE ACCOUUNT_CREAT 0001FEC:\Documents and Settings\alexey.tkachenko\Desktop\1.txt test 0000X 000000 X X X
/SAPDMC/LSOINS Z_MOE Z_MOE ACCOUUNT_CREAT CRAC 0001
/SAPDMC/LSOPAR Z_MOE Z_MOE ACCOUUNT_CREAT FROMLINE_CONV 0000000001
/SAPDMC/LSOPAR Z_MOE Z_MOE ACCOUUNT_CREAT FROMLINE_READ 0000000001
/SAPDMC/LSOPAR Z_MOE Z_MOE ACCOUUNT_CREAT TOLINE_CONV 0000000001
/SAPDMC/LSOPAR Z_MOE Z_MOE ACCOUUNT_CREAT TOLINE_READ 0000000002
/SAPDMC/LSOPAR Z_MOE Z_MOE ACCOUUNT_CREAT ATKACHENKO WILDCARDVALUE
/SAPDMC/LSOREC Z_MOE Z_MOE ACCOUUNT_CREAT 0001ACCOUNTS
[Documentation ]
Similar Messages
-
'Create' Push button is not working in BDC and LSMW while uploading G/L master data
Hello Experts:
I am facing the following problem:
While uploading G/L master data with the BDC program, 'create' push button is not working even after executing following lines.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ACC_CRE'.
Create G/L account screen is not coming in BDC. Please suggest me what to do.
Thanks !!Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
Hi Glen Anthony
Thank you for the reply Glen Anthony please take a look at the following code.
REPORT ZFI_BDC_FS00
NO STANDARD PAGE HEADING LINE-SIZE 255.
*INCLUDE BDCRECX1.
TYPES : BEGIN OF STR,
BUKRS TYPE GLACCOUNT_SCREEN_KEY-BUKRS, "Company Code
SAKNR TYPE GLACCOUNT_SCREEN_KEY-SAKNR, "G/L Account Number
KTOKS TYPE GLACCOUNT_SCREEN_COA-KTOKS, "G/L Account Group
XPLACCT TYPE GLACCOUNT_SCREEN_COA-XPLACCT, "P&L statement account
XBILK TYPE GLACCOUNT_SCREEN_COA-XBILK, "Indicator: Account is a balance sheet account?
TXT20_ML TYPE GLACCOUNT_SCREEN_COA-TXT20_ML, "G/L account short text
TXT50_ML TYPE GLACCOUNT_SCREEN_COA-TXT50_ML, "G/L account short text
WAERS TYPE GLACCOUNT_SCREEN_CCODE-WAERS, "Account currency
XSALH TYPE GLACCOUNT_SCREEN_CCODE-XSALH, "Indicator: Only Manage Balances in Local Currency
MWSKZ TYPE GLACCOUNT_SCREEN_CCODE-MWSKZ, "Tax Category in Account Master Record
XMWNO TYPE GLACCOUNT_SCREEN_CCODE-XMWNO, "Indicator: Tax code is not a required field
MITKZ TYPE GLACCOUNT_SCREEN_CCODE-MITKZ, "Account is reconciliation account
XOPVW TYPE GLACCOUNT_SCREEN_CCODE-XOPVW, "Indicator: Open item management?
XKRES TYPE GLACCOUNT_SCREEN_CCODE-XKRES, "Indicator: Can Line Items Be Displayed by Account?
ZUAWA TYPE GLACCOUNT_SCREEN_CCODE-ZUAWA, "Key for sorting according to assignment numbers
FSTAG TYPE GLACCOUNT_SCREEN_CCODE-FSTAG, "Field status group
XINTB TYPE GLACCOUNT_SCREEN_CCODE-XINTB, "Indicator: Is account only posted to automatically?
END OF STR.
DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
IT_BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE,
TXT(4096) TYPE C OCCURS 0,
MSG TYPE STRING,
COUNT(5) TYPE N.
SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : MY_FILE TYPE RLGRAP-FILENAME.
SELECTION-SCREEN : END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR MY_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
* FIELD_NAME = ' '
IMPORTING
FILE_NAME = MY_FILE
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
* I_FIELD_SEPERATOR =
* I_LINE_HEADER =
I_TAB_RAW_DATA = TXT
I_FILENAME = MY_FILE
TABLES
I_TAB_CONVERTED_DATA = ITAB[]
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* IMPLEMENT SUITABLE ERROR HANDLING HERE
ENDIF.
START-OF-SELECTION.
COUNT = 0.
LOOP AT ITAB.
*PERFORM OPEN_GROUP.
REFRESH IT_BDCDATA.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_KEY-BUKRS'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ACC_CRE'.
*PERFORM BDC_FIELD USING 'BDC_CURSOR'
* 'GLACCOUNT_SCREEN_KEY-BUKRS'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
ITAB-SAKNR. "'5'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
ITAB-BUKRS. "'TATA'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=2102_GROUP'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-KTOKS'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-KTOKS'
ITAB-KTOKS. "'GL'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
ITAB-XPLACCT. "'X'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=2102_BS_PL'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-XBILK'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-KTOKS'
ITAB-KTOKS. "'GL'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
ITAB-XPLACCT. "''.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XBILK'
ITAB-XBILK. "'X'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=TAB02'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-KTOKS'
ITAB-KTOKS. "'GL'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XBILK'
ITAB-XBILK. "'X'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-TXT50_ML'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
ITAB-TXT20_ML. "'G/L ACCOUNT'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
ITAB-TXT50_ML. "'G/L ACCOUNT'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=TAB03'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
ITAB-WAERS. "'INR'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XSALH'
ITAB-XSALH. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
ITAB-MWSKZ. "'*'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XMWNO'
ITAB-XMWNO. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
ITAB-MITKZ. "''.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
ITAB-XOPVW. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
ITAB-XKRES. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
ITAB-ZUAWA. "'1'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=SAVE'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-XINTB'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
ITAB-FSTAG. "'G019'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
ITAB-XINTB. "'X'.
*PERFORM BDC_TRANSACTION USING 'FS00'.
CALL TRANSACTION 'FS00' USING IT_BDCDATA MODE 'E' UPDATE 'S'.
COUNT = COUNT + 1.
*PERFORM CLOSE_GROUP.
ENDLOOP.
CONCATENATE COUNT ' RECORDS UPDATED SUCCESSFULLY' INTO MSG.
MESSAGE MSG TYPE 'I'.
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR IT_BDCDATA.
IT_BDCDATA-PROGRAM = PROGRAM.
IT_BDCDATA-DYNPRO = DYNPRO.
IT_BDCDATA-DYNBEGIN = 'X'.
APPEND IT_BDCDATA.
ENDFORM.
* INSERT FIELD *
FORM BDC_FIELD USING FNAM FVAL.
* IF FVAL <> NODATA.
CLEAR IT_BDCDATA.
IT_BDCDATA-FNAM = FNAM.
IT_BDCDATA-FVAL = FVAL.
APPEND IT_BDCDATA.
* ENDIF.
ENDFORM. -
Data needed for upload of PP master data
Hi,
Can any one tell me what all the important things required to upload the PP masterdata for BOM,Routings,Workcenter and Prod Versions.??
Tell me for each master data in detail.
Regard's,
Uday.Hi,
Normally the data or fields required for the BOM, Routing and PV will be decided based on the Business process mapping.
For ex if your business is having Nonstock, then the item category of the BOM will be N,
So you need to do the business scenario mapping then you can define the BOM and Routing templates and make some field mandatory to be filled in.
Standard SAP
for BOM: Item, Item qty, headrer lot size, Item category etc are required
for Routing: Item, Item base qty, lot sizes, Standard activity type values etc are required.
Thanks,
JK -
Upload GL accont master data from legasy to SAP R/3
Hello Gurus,
I have a requirement to write a BDC program for uploading GL account master data from legacy system to SAP R/3 database using FS00 transaction.Please can you help me with this?
Regards,
Kalpana.Hello,
Goto Transaction SHDB, then create one new recording then do the simple recording and save that recording in one program and use as per your requirement.
you can also use existing program suggested by Rob.
Regards,
Sujeet -
LSMW for GL account Master data
Hi all,
I have to create one lsmw tool in GL ACCOUNT master data.
Please suggest me which method i should adopt.
direct input, BAPI , Recording OR IDOC.
IF bapi or recording, please tell me BAPI or transaction for GL account master data.
Reagrds,
RuchikaHi Ruchika,
BAPI_ACC_GL_POSTING_POST caters to your requirement.
Regards,
Younus
<b>Reward Helpful Answers:-)</b> -
Is there a SAP standard way of dl/up G/L accounts master data?
I was asked to create a download program to get the G/L account master data from one server and create an upload program to automatically create the G/L accounts.
Download: Access SKAT, SKA1, SKB1 -> save to spreadsheet
Upload: Batch input or maybe read up on how to do it using LSMW.
Halfway in making my the program, it occured to me that maybe SAP has a standard way of doing this?
Tried to search for it. Found FS15/FS16.
Would these do it? How do they work?
*Both source and target systems are running SAP 4.7<b>NO!</b> fs15-16 is for two servers
1)fill field filename in fs15
example '<b>0001</b>'
2) transfer file per ftp
from /sapmnt/XXX/global/FBIS<b>0001</b>
to oth. server same directory and filename
with XXX = sy-sysid
3)and use the same file in fs16 <b>0001</b>
Message was edited by: Andreas Mann
Message was edited by: Andreas Mann -
Initial load of G/L account master data
Does anyone have any familiarity with any built-in tools SAP provides for bulk loading of master data? I have always been aware of LSMW but if there is any documentation out there around LSMW or other tools SAP may provide it would be much appreciated.
Moderator: Please, search before postingHi,
Many clients also use BDC Reports to upload master data. You can refer the below link for step-by-step process:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/309cb157-738d-2910-7691-b74c4ddba3c7?quicklink=index&overridelayout=true
Regards,
Kiron Kumar T. -
GL account master data download
Hi Experts,
I want to download the GL account master data from Quality(testing) system and i want to upload the same into Development system via LSMW as the number of GL account master data is more. Can anybody tell me how can i download the gl account master data? so that my uploading work will be easy.
Thanks in advanceHi,
Go to path : Accounting -->Financial Accounting -->General Ledger -->Master Records -->G/L Accounts -->Collective Processing -->OB_GLACC11 - Chart of Accounts Data / OB_GLACC12 - Company Code Data / OB_GLACC13 - Descriptions click on OB_GLACC11 or OB_GLACC12
And enter give company code and Execute (F8) click on Select all records click on Print button and click on List > Save / send>File an select Spreadsheet and enter and save the excel sheet and upload through LSMW
Thanks,
Raviteja -
*Journal Entries while uploading the vendor master data from legacy system*
hi SAP Folks,
can any one of you tell me the journal entries while uploading the vendor master data from legacy system to SAP system.
Eg: legacy system is having 10000 vendors list, 1 reconciliation account and $ 1000000. while uploading all these data from legacy system to SAP what are the journal entries we get.
thanks in advance.
Edited by: ravindranath manikonda on Nov 24, 2008 1:12 PMHi
you will be having only one entry logically
i.e. Opening Bal. clrng A/c Dr.
To Vendor A/c Cr.
regards -
Findind Cleared open items for G/L account master (company code)
Hi All,
I wanted to incorporate one logic to find the whether open items have been cleared or not for G/L account master (company code).
Currently, I am fetching the data from SKB1 based on company code.
Then i am passing the GL account to BSIS table to find the whether all the accounts have been cleared or not.
Is this the correct procudure or any other procedure to find the GL account is been cleared for open items.
Is there any Function modules to find this any way.Thnkx.
I am writting a report where i need to check the above scenario.
Earlier we planed to call FBL3N to check the same, but
But i need to call FBL3N in my report program. Which is not correct procedure
Hence we taught to take all GL accounts from SKB1 and pass it to BSIS table and check.
Is there any other way rather than the above one. -
I am unable to upload the customer master data using BAPI.?
Hi Guru's,
i am unable to upload the customer master data using BAPI.(BAPI_CUSTOMER_CREATEFROMDATA1)
Please guide me how upload the data...
Thanks in iadvance
Srinivas...Hello Srinivas
This BAPI does not allow to create a new customer from scratch but only to copy an existing customer to a new one and change its address data.
The reference customer has to be provided using IMPORTING parameter PI_COPYREFERENCE. See also the BAPI documentation for more details.
The BAPI does the same like transaction XD01 with Reference.
Regards
Uwe -
Error in doing LSMW for uploading in Sale order
Dear Sir,
While doing test run for LSMW for uploading 15 Sale order , first order saved with no error and from second order the following error is displayed.
Exchange rate of 1 in INR 2 for date 25.05.2009 3 could not be determined.
Kindly do the needfull.Sir,
If we manually enter, order getting saved for all the sale order.
Why it is not possible while doing LSMW.
Please clarify.
Regards
Sethuraman -
PR- PO Account Type- Account Master Data Mismatch
Dear all,
I came across a serious problem for us in SAP. Briefly, I opened a PR or PO which has account category type K- Cost center. In addition to this, I used an account which had been defined as internal order obligatory in account master data . As a result , system did not issue any messages for this mismatch. I want to have standart messages like goods movements which are issued by system. Is there any configuration to solve this problem?
Regards...OSS answer for my question:
"Dear Development Team,
I noticed in MIRO that the PO 4500424855 contains the GL acc. 760015007.If you check the customising for this account you will find that the
field CO/PP Order has been defined as a required field. Since an order
has not been entered in the PO, the MIRO is looking for it.
In older versions a validation check was made at the time of PO
creation to stop users creating PO's that could not be received/invoicedhowever this functionality has changed.
In Releases lower than 40A, during the creation of the Purchase Order
a check was carried out, comparing the field selection of the G/L
account with the field selection of the account assignment category.
Such a check is no longer carried out as of Release 40A.
When the two tables T162K and T004F are evaluated, the actual contents
of the fields are not evaluated.
If you want to get an internal order at the time of MIRO you may
consider to use FI substitution(Tr-code OBBH) to determine the
internal order for the G/L account (please see note 42615).
Or you can check the transaction OKB9.
To create an own check at the time of creation the PO or PR
you may consider the BADIs ME_PROCESS_PO_CUST or ME_PROCESS_REQ_CUST.
Using the BADIs you can make your onw checks and create error messages.
I apologise that I cannot provide a better answer to this problem but
it seems as though the system is behaving as designed." -
Error during create CR for MDGC "Enter a relevant role for creation of customer master data"
Hello Experts,
I am unable to create a Customer CR in 'MDG 6.1 Customer UI' , the UI throws an error saying "Enter a relevant role for creation of customer master data".It looks like it is expecting me to mention the BP role ( like FLCU01 Customer or FLCU00 FI Customer ) , but I don't see that BP role section in the Customer UI to mention .
While creating the vendor CR , I am able to enter the BP role ( like FLVN01 vendor or FLVN00 FI Vendor ) in the UI BP Role section.
Following are the UI's for Customer and Vendor
Customers BS_OVP_BP: BS_OVP_CU > OVP: BS_CU_OVP - I do not see BP role section here.
Vendors BS_OVP_BP: BS_OVP_SP > OVP: BS_SP_OVP - This is working fine , I see BP role section here.
Please advice what I am missing here , what should I do for the successful CR creation . Should I change the UI for Customers or do I need to do anything in CVI configuration.
Thanks,Hi Abdullah,
You were right in the first place the UIBB is missing , the UIBB 'Role' was present in the 'Search Customer' page but not available in the 'Create Customer CR' page , so I created the 'Role' UIBB again and was able to create the CR now . Not sure how it got deleted in the first place , is there any options where we reset the UI screen to the default initial configuration
But after approving the CR , only the Business Partner BP is getting created and the Customer is not getting created . Not sure what might be the issue now. Is there any config that tells to automatically create customer when BP is created. I was able to create Vendor using the create Vendor CR before.
Thanks -
SAP standards for retriving the Material Master Data
Can someone provide me list of all SAP standards for retriving the Material Master Data with respect to views.
Standard Reports
Function Modules
RFC's
BAPI's.
T.codes
Sample code's
useful answers will surely be awarded.
Regards
VinayakHi,
These are the standard BAPI's for Material master.
BAPI_MATERIAL_DELETE Flag Material for Deletion
BAPI_MATERIAL_DISPLAY Display Material
BAPI_MATERIAL_EDIT Change Material
BAPI_RETAILMATERIAL_CREATE Create Material
BAPI_RETAILMATERIAL_DELETE Discontinue Material
BAPI_STANDARDMATERIAL_CREATE Create/Extend Material
BAPI_MATERIAL_SAVEREPLICA BAPI for Mass Maintenance of Material Data
BAPI_MATERIAL_SAVEDATA Create and Change Material Master Data
BAPI_MATERIAL_EXISTENCECHECK Check Existence of Material
BAPI_MATERIAL_GETBATCHCERT Create Quality Certificate for Batch in Portable Document Format (PDF)
BAPI_MATERIAL_GETBATCHES Create Batch List for a Material
BAPI_MATERIAL_GETCHARMERCHHIER Supply Characteristics of Retail Material for Material Group Hierarchy
BAPI_MATERIAL_GETINTNUMBER Assign New Internal Numbers for a Material Type
BAPI_MATERIAL_GETINTNUMBERRET Assign New Internal Numbers for a Material Type for Retail Materials
BAPI_MATERIAL_GETLIST Supply List of Materials for Search Criteria Transferred
Thanks.,
Maybe you are looking for
-
IS IT POSSIBLE TO CREATE A PO WITHOUT PLANT
HELLO EXPERTS, I have following business scenario,, for a material X , price for plant A is 20 rupees and for other plant 25 rupees. I have created one info record for that . PLANT SPECIFIC INFO RECORD (plant A) 20 rupees INFO RECORD (WITHOUT ANY PLA
-
Down Payment Request - Printout
Hi All, Could you pls let me know the process/Configuration to print out the Down Payment Request (F-47). Do we needs to to create new form and assign to anywhere in the configuration? Can we print the standard SAP format? If yes pls let me know the
-
Hi All, I am trying to convert a book from .fm to .xml by using the inbuilt menu in FrameMaker.But getting the following errors , since I'am a complete newbie in this ,any help is much appreciated.
-
Error executing procedure in package
If someone can help me, i'd greatly appreciate it! I created a package (see code below) in the Portal Navigator and I'm getting the following error when i try to execute the procedure: ORA-06550: line 2, column 16: PLS-00201: identifier 'CURSOR' must
-
I have a report region with a couple of "Display as Text (based on LOV)" columns using a Named LOV with static entries (some cute images and stuff). I mentioned this in Using Static Named LOV to show images in report The report region displays 60 row