LSMW FS00
HI GURU,
I have created a lsmw for tc FS00, but when I convert data the header of BI session there isn't generated.
I have the session but not the header session.
can u help me?
thx
Valerio
Hi,
Try repeat recording of your transaction or better use batch input program RFBISA00 method.
Regards,
Eli
Similar Messages
-
Upload GL Master - Transaction Code FS00 using LSMW
Hi All,
I have created LSMW for GL master- Tcode FS00.
I have used below batch Input:
Object 0010 GL A/C Master Record
Method 0002 Flat structure
Program Name RFBISA00
Program Type B Batch Input
I have done all the steps successfully. But while creating Batch Input Session in the step: Create Batch Input Session. I am getting below error:
Session 1 : Session record does not contain a client
... Session record ...
... BGR00-STYPE 0
... BGR00-GROUP BSKX
... BGR00-MANDT
... BGR00-USNAM
... BGR00-START FS00
... BGR00-XKEEP
... BGR00-NODATA
....Editing was terminated
Please help me to resolve this issue.
Thanks and Regards,
Shravan G.Hi,
I have tried to give record type (STYPE) = 5, but it gives error as Record Type should be '0' for Batch Input session,
Could you please let me know how file should be?
Thanks and Regards,
Shravan G. -
LSMW for transaction FS00 is very slow
Hello all, I wrote a batch input program to process GL entries for Chart of Accounts using LSMW, transaction FS00. We are using ECC 6.0. I could not use the direct input program becuase my client has FS01 and FS02 turned off. It is very slow. I have to process 107,000 transactions and it is exitmated to take about 30 hours. I know I can break it up into smaller peices but I was hoping someone has ran into this before.
Any ideas would be appreciated, ThanksWould tend to agree, it's unlikely to be the portal. That transaction has lots of different screen elements, so rendering them as HTML via the internal ITS takes time, if you have a large org structure that would make things worse.
Not sure if it will make a noticeable difference, but you could try using the display version of the transaction instead (PPOSE).
Cheers,
John -
LSMW-Uploading G/l master Data
Hello,
we are migrating Data from R/3 4.6 to ECC 6.0.We need all the G/l from 4.6 exactly same way in ECC 6.0 without new G/l features.
Please let me which table I should use to extract g/l master data (SKA1or SKB1) from 4.6.I am going to do recording with Tcode FS00 at the time of uploading.
If any one is having document on G/l uploading please share with me.share the useful points relating to this.
Many Many Thanks
Moderator: Please, search SDNHi,
You will neet to extract data from both SKA1 and SKB1 and need to compile (via lookup etc.) to make a single file for uploding in LSMW.
Regards,
Gaurav -
Error While Uploading GL Master Data in LSMW
Hello Experts,
I am running into error while uploading GL master data in LSMW, I created recording through FS00, then I mapped the fields, it all went good till 13th step, but last step got stuck(Run Batch Input Session), when I am running batch input session, system is showing this message "Function Code cannot be selected"
Your help would be highly appreciated.
Regards
Muhammad Yousuf Ali
SAP FI ConsultantHi,
first can you pls check your Hierarchy mode setting in FS00 - before executing Batch input session -
Open FS00 - go to settings - and Do not display navigation tree select radio button and save it
then Now Run fresh LSMW - your issue will resolve
Mahesh -
Upload Master Data GL quicker way instead of using FS00?
Hi Guys
I would like some advice regarding uploading Master data into SAP
As part of my training course we are having to upload live data onto SAP and our trainer has suggested using SM35 and to click new recording then typing FS00 in transaction code and then we put our details for one transaction and then the recording should suffice.
I do not want to manually type them all in using FS00 even though it is only 40 GLs as I want to practice LSMW
Also I have been told of a another way by typing in SA38 then RFBISA00. I have tried this however getting error message Message no. BL001
I know this may sound stupid but the Excel file is saved in a text format do I keep the headers and the rows where it says required or not. Or do I just copy the raw data?
Thanks guys
MDHello,
To get best answers, you will have to post the question in ABAP Data Transfer Forum.
For LSMW, you may be refer the link [LSMW|http://www.****************/Tutorials/LSMW/LSMWMainPage.htm]
This will provide details step by step document on how to use LSMW.
Regards,
Abhishek -
'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. -
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 ahmedHi 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 -
GL Balance upload using LSMW (BAPI bus6035)
Hello everyone,
We are uploading GL balances from legacy to SAP using the LSMW Bapi
object - bus6035
method - post
message type - ACC_DOCUMENT
Basic type - ACC_DOCUMENT03
When we run the lsmw, idoc is created, however with an error 51 saying
"Function module not allowed - APPL_IDOC_INPUT1'
The partner no. is the logical system (the system on which the lsmw is executed)
In the partner profile, we have defined this as LS. In the inbound parameters, we have defined message type = ACC_DOCUMENT, the process code is APL1 and the corresponding function module is - APPL_IDOC_INPUT1
Please let me know if we are missing something or doing anything wrong ?
Since the data in the LSMW will be read frmo a file on the presentation server, do we need to have a port configuration for the same ?
Thanks,
Sushil JoshiHi 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 -
Hi Experts,
I do migration for FS00(G/L Account). I dont know which one is correct (LSMW or BDC)
Thanks advance,
Amudha.Hi,
Thanks for your previous answer. Can you tell me which one is best for migrating below master data (Ex: LSMW or BDC)
1.Commitment Item
2.Price Master
3.Fund Center
4.cost element
Thanks and advance
Amudha -
Dear all,
I have done direct input method for GL upload LSMW.
I am able to see converted data as well in right fields. but when trying to run batch input , it is giving me following error .
File FIN_GL_ABB_FIN_GL_1_GLCOA.lsmw.conv is being checked
Session 1 : Special character for 'empty field' is /
Trans. 1 : Transaction FS00 is not supported
... Last header record ...
... BSK00-STYPE 5
... BSK00-TCODE FS00
... BSK00-SAKNR 139204
... BSK00-BUKRS 0010
... BSK00-REF_SAKNR /
... BSK00-REF_BUKRS /
....Editing was terminated
Can any body help me , wht is the exact error ?
Thanks in advance.Componet Data type Lenght
type
STYPE_BI CHAR 1 0 Batch Input
TCODE CHAR 20 0 Transaction Code
SAKNR CHAR 10 0 G/L Account BUKRS CHAR 4 0 Company Code
SAKNR CHAR 10 0 G/L Account
BUKRS CHAR 4 0 Company Code
pls maintain these above mentioned ( 1,20,10,4,10,4)l enghts for each discriptions in the legacy file.. -
FS00 BDC problem in marking checkbox
Hello All,
I have written bdc for tcode FS00 for gl master record upload but im getting error while uploading.
In flat file i have putted value 'x' for posting without tax allowed, manage in local currency,open item and line item but when im running a bdc the checkboxes are getting checked but im getting the error "enter a valid value"
If i create every account manually and tick the checkbox thn its not giving error but in bdc program if i m putting tick in checkbox im getting error
Pls let me knw is there any other value of checkbox other thn 'x'?
Thnks
Sunnynot what you want to hear, but why write your own BDC for FS00 when there is program RFBISA00 that does it all for you?
You can nicely map source to target data using LSMW direct input object 0010.
Cheers
Thomas -
Lsmw for G/L master data (RFBISA00)
Hello,
I have goen through all the steps of the lsmw "wizzard".
When I lauch the batch input however, I get the error message
Session 1 : Special character for 'empty field' is /
Trans. 1 : Transaction FS01 is not supported
... Last header record ...
... BSK00-STYPE 1
... BSK00-TCODE FS00
... BSK00-SAKNR 10000000
... BSK00-BUKRS LONA
... BSK00-REF_SAKNR /
... BSK00-REF_BUKRS /
....Editing was terminated
It is, as if it places a / in empty fields where it should be blank.
Thanks for any help,
AlainHello Prince,
thank you for the answer.
I am afraid the issue is not about compulsory field but rather that it takes value / for blank fields.
Maybe I have to specify value blank in field BGR00-NODATA, but i do not know how to do it.
Indeed, in RFBISA00 program documentation, you can read:
"<i>For each field which is transferred in batch input structure, you must decide whether the value of the field is initial (for example, the field should be reset to the initial value) or whether no batch input at all is necessary for this field.
That means, a special character must be specified which has the function: "No batch input for this field".
This special character is the character "/" by default.
If the special character "/" is not to be used, you can specify another special character in the session prefix in field BGR00-NODATA which will carry out this function.
You "initialize" a batch input structure (with the exception of the session prefix BGR00) by filling out the record type and (if applicable) table name fields with the correct values, and the other fields in the structure with the special character NODATA."</i>
Any support is welcome,
Thanks,
Alain -
Need help on recording in lsmw
hi fnds dis is kamesh ,, i need small help if anybody know abt multiple recordings in LSMW let me know
thanks in advanceHi Kamesh,
First mention your both records in the first step of Batch Input recording in the LSMW object by clicking on Right Arrow button. After that in the Field Mapping and Conversion rules step, you can use Events i.e., Beginof_Record_,_End_of_Record_ to handle two different records. For example, in FS00 transaction we can have two types of G/L Accounts, one is P&L Statement account and another is Balance sheet account. So, I have two records for creation of the these different accounts.
Based upon the field value in the file, I need to trigger any one recording. So, we need to write the code in this fashion:
At the Beginof_Record_ of first recording, open the IF condition like
IF <acct_type> = 'P'
and in the Endof_Record_ event of first recording, after "transfer_record" statement, write "ENDIF".
Similarly, write IF condition for another recording. In this way you can handle both recordings in one LSMW object.
Note: If you are not able to see anything in blue colour with the events I am mentioning, press CTRL+F7, set the Global Data Definitions and Processing times indicator and save it. You will see the events.
Regards,
Adithya K
[email protected]
P.S: Reward points if its useful. -
Account Group problem at the time of LSMW
Hi I have created following GL accounts group:
101 Fixed Assets
102 Accumulated depreciation
103 Investments
104 Inventories
and others
When i go to FS00, i select from drop down. But in drop down i can see full name (like fixed assets, Accumlated Depreciation, etc) instead of 101, 102.
So i select it and create GL account.
In LSMW also i can see full name and i create the recording.
When all steps are done, i upload my file. In dilsplay step, i can see that only four characters are recognised i.e. FIXE or ACCU.
So while uploading it gives error FIXE does not exists. If i put 101 in GL master file, it gives same error. Please tell me how to solve this problem.
Edited by: Deepak Agrawal on Apr 20, 2010 7:45 PMHi,
1) Press ALT-F12 > Select options > Tab Expert > Tick "Show Keys in all Dropdown lists"
After relogging you will see the "101"
2) When you see the key the error should be solved. It is probable that your key is actually 0101 which is not the same as 101.
Kind regards
Maybe you are looking for
-
I cannot find one specific email
I have tried multiple times with different email searches, but generally, I am on the street using wifi trying to locate the one email that I know I saw somewhere on the computer earlier. It's either archived in a folder aka "label" if gmail or filed
-
Trying to log in using sqlplus /nolog and getting SP2-0640
Hello, I searched for this problem but not having much luck. I have Oracle 9iR2 running on Solaris 9 workstation. I can log on giving sys/passwd as sysdba and log on using any other user accounts. What I can't do is get into sqlplus using /nolog. I a
-
Hi friends.. I had created a BSP which runs fine in DEV and Test System. But when it was transported to Production System It doesnot run and gives me following error. There was some Abap code written in Initialization Event. Note Following error text
-
Hi, Someone know how i make a SELECT statement using aggregate functions(MIN, MAX, COUNT, AVG, SUM) GROUP BY date interval(DAY, WEEK, MONTH, YEAR)? thanks...
-
ALV Grid with size of the whole screen
I need to create ALV Grid, that fits any screen. How can i do this? I tried cl_gui_docing_container, but in the constructor it's possible to make it to occupy only 95% of the screen.