Lsmw-price upload
Hi,
i have issue in price upload. t-code ckmprp.
in lsmw it showing all the fields are reading and reacording.
but when i go to MM03 i am not seeing price in future price.
please friends tell me step by step
i will be thank full
What is the result in your LSMW in the case for Dispaly read data and display convert data. Is this correct?
You can have a look to in your BDC and see there the date for the transaction.
Perhaps you have some problems with the default value for the organisation levels from an old transaction. When you do a recording fill in all field you need, even when it is filled with a default value like plant.
Paul
Similar Messages
-
What is better options to upload contract price upload
LSMW or SCAT ?Hi
You have many options But if you know how to create LSMW then go ahead with LSMW.
Or you can get a help from ABAPer to create a BDC program to upload the price , the advantage is you do some coding to control the upload according to your requirment. For example you have more line items in Contract say 100+ then I would recommend BDC.
Karthik -
'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. -
Determining Source Structure u0096 for LSMW to upload Purchasing Info records?
I am trying to use program RM06IBI0 through LSMW to upload Purchasing Info records. While configuring LSMW, how do I determine the source structure? Can anybody please help me with an example?
Thanks,
Ketanhi dear
first of all record all the fields which you require through shdb including your vendor code and esokz.
now
generate a structure for mapping the fields through table maintainence generator option.you can add any number of fields there.
actully this must include all the fields which are being fetched from the your flat file.
please revert back if u find problem.
reward points if it find useful
regards
amit singla -
LSMW to upload documents in DMS
Hello guys
Can we use LSMW to upload large number of documents at once?
If yes, please list the detailed steps. I have never used LSMW before.
So keeping that in mind, please respond in detail.
Looking forward to your replies
Thanks a lot
Best Regards
AmareshHi Amaresh
There is a good tutorial on lsmw in sap technicaldotcom. It would be useful to you definitely.
Prasad K -
Hi All,
can any one tell me how to write LSMW for uploading PO text, as I am having only material no and po text I want to modify all material and update po text only
thanksHi
look at this..
<b>http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm</b>
Reward if useful
Anji -
LSMW to upload Material Characteritics and BOM info
Hi,
I am using LSMW to upload Material Characteristic and BOM info for the first time. It would be of great help if someone can provide me with an example with screenshots. Thanx in advance for your help.
SachinHi Sachin,
1) BOM and Classification Datacan not be uploaded together.
We have Standard Programs available to these uplaods.
BOM upload
Object - 0030
method -0001
Program - RCSBI010(AUTOMATIC)
Classification uplaod
Object -0130
Method- 0002
Program-RCCLBI03
http://www.megaupload.com/?d=578KUG4X
please follow the link and download the file.
It has all the critical steps, screen shots, sample load file.
let me know if it helps.
Have fun,
Satheesh. -
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 -
SAP LSMW to upload values against characteristics in CL20N
Morning,
I need to upload values against characteristics in transaction code CL20N using LSMW.
I have tried batch input recording method, but I receive the error below.
The setup of characteristics is as follows:
Plants – Upload all plants
Purchasing Groups – Upload all purchasing groups
Cost Centre – Upload cost centres specific to a strategy
Value of PR – Upload PR value specific to a strategy
Account Assignment - – Upload account assignments specific to a strategy
Document Type – Upload document types specific to a strategy
We have over 800 strategies and I need LSMW to upload the characteristics across all 800 strategies.
I started creating a LSMW program by recording the transaction CL20N, but I get the following error:
Error received "Runtime error DYNPRO_NOT_FOUND has occurred"
Please advise or send me user guide on what I need to do to successfully create the LSMW.
See attached screen shots.
Many thanks,
GeorgeHi George,
For Idoc CLFMAS / CLFMAS02: when updating nodes, add table for nodes OBTAB = 'PNODID'.
For CL24N recording it is the same as other LSMW recodings, use selects if all data isn't available to fill needed recoding fields.
Anete -
LSMW for Moving average price upload
Dear Guru,
Can anyone please advice if there is a way to mass upload/upload the moving average price for material master by using LSMW?
Regards
CWHi there
You can use the Recording of MR21,, may be it is going to be only three to four fields,,
BUDAT, BERKS, WERKS, MATNR_01 and NEWVALPR_01
Have it all the records in the excel file and convert into .txt,
1.Go to the LSMW,, Click on the create icon,, maintain the details of below,,
Project
Subproject
Object
2.Maintain Object Attributes (double click)- Select the Batch input recording-Recording overview-Create icon-Enter Recording, Description-enter- Enter the T code MR21- Date, Comp Code, Plant And enter- Material Number and enter - Feed the new price and save,, now go back and click on default all and save,,,
3.Maintain Source Structures(double click)- Change mode- Save
4.Maintain Source Fields-(double click)-Change mode-(Ctrl+F9)Table maintenence- Enter the fields which you populated in MR21- Save-save and back.
5.Maintain Structure Relations-(double click)-Change mode- Save
6.Maintain Field Mapping and Conversion Rules-(double click)-Click on the fields which you are going to populate and selct the source field and map it,,
7.Maintain Fixed Values, Translations, User-Defined Routines-(double click)-maintain the fided values if any like BUDAT
6.Specify Files-(Double click)-Change mode- Select the legacy data-and upload the file-as per the reqd format and save
7. Assign Files- (Double click)- and check the assignment and save
8.Read data- (Double click)- Execute it and check the data and save
9.Disply Read data- (Double click)- Enter and check the values as per the file you uploaded
10.Convert data-(Double click)-Execute it - and check the line items which is equla to your upload file or not,,
11.Create batch input session-(Double click)-Execute it- you will get the pop up "1 batch input folder with XXXX transactions created"
12.Run Batch Input Session-(Double click)-Select the first line- (Chk the date and time)- Click on process- Display errors only and enter,,
LSMW will run and change the MAP for all the materials,, Imp point is your file has to be as per the reqd format,,
hope it helps,,
Thanks
Senthil -
LSMW FOR UPLOADING INFO RECORD-ME11 USING RECODING METHOD
Hi Guys,
I am uploading inforecords using LSMW recording method.
While recording I entered net price and other things properly.
When I am running the lsmw, net price filed becoming gray(Non editable) filed and system shows error as "it is not an input filed". But if i try to execute the t-code sepeartely this filed is in editable mode.
Please let me know what is the priblem.
Thanks
DhanuHi Dhanu,
there is the easiest method to do that you can follow the Direct input method the object for info record id 0060 and program is RM06IBI0,
With this method you will not get any problems. it is SAP recommended method.
Bhima -
Dear all,
I want to use the LSMW using IDOC CRMXIF_COND_REC_SLIM_SAVE_M01 to upload price conditions.
My problem is now, that this IDOC has a segment E101API_CT_FIELD_NAME_VALUE where the fieldnames and values have to set dynamically.
Does anybody have any experiance in that and can provide an example how to do it?
Kind Regards,
Marcyou can set breakpoint in the /SAPCND/MNT_XXXX related function, like /SAPCND/MNT_SELECT_OW
and when you do some condition select to condition maintain operation, SAP will call these funtion. you can check how the system call them, the FIELD_NAME, SEGMENTNO, FIELD_VALUE filled in these functions -
LSMW - RMDATIND Upload material master
Hi All,
I'm using LSMW direct input method (RMDATIND) to upload material master. However, I'm having issues on uploading material prices (eg: moving average price) where the format uploaded was incorrect.
LSWM Data Source I've declared for VERPR (Moving Average Price) is character with 14 Length size. Values populated in upload file is eg: 132.93.
The value been created in material master is-> 13 293,00.
Can anyone advise on this issues? Is there any wrong to input value or data source declaration? Thanks.Hi Blue Sky,
execute the whole process of LSMW in direct input and go to SM35 to check and process the session manually,,
-Regards
Sid -
Hi Experts,
I am uploading the Activity Type planning through LSMW and I recorder the the same in LSMW and when I am doing this it is saying that field BDC08 for Variable price cannot maintained.And when in source fields step I cannot fins any field for this.
So how to ulpoad the Activity prices ? Is there is any method for doing this in SAP Conrolling ? If it is available give me the steps by steps for this.Hi Edukondalu,
Normally it is not suggested to use LSMW for Planning Data Upload for Cost Element and Activity Planning in Cost Center Accounting.
There is "Excel Upload" menthod available which standard SAP feature. You will need to create Planner Profile, Planning Layouts etc.
Pls find the detailed procedure below for Excel Upload for cost element planning...
CREATE LAYOUT : (Example of cost element planning layout) KP65
1. Create cost center element planning layout:
2. To insert new lead column:
i) Press New Lead column and select the required column. As shown in screen shot below.
ii) Click Lead column and select name and characteristic (to view both the field name and description).
iii) Click confirm to save.
3. For general data selection : click on general data selection button (Filter Symbol).
The following screen ( Fig C ) appears. Select the fields required and press confirm.
Then follow previous step to add new lead column.
4. Save the layout.
USER DEFINED PLANNER PROFILE: KP34
1. New Entry: Give profile name and description. Then save the profile.
2. Select the newly created profile and press General Controlling. Fig E appears. Select the planning area for which layout has been created. (In this case Cost element/activity planning). Select QUDK from selection list (i.e. the basis for distribution of the total cost over each period). Save the planning area.
3. Select the newly created planning area and press Layout for controlling. Fig F appears. Select the layout to be attached to the planning area and check the integrated box. Save the layout.
4. Select the newly created layout and press default parameters.
5. Give the Version, period from and to, year, cost center, activity (if activity dependent), element. Check the form base button and press overview screen.
6. Save Generic Name of file. (eg. Planning*.txt).
7. Save file description.
8. Save excel layout.
9. Copy the file to another excel sheet and save as planner1.xls. In this file give the plan amounts and save in txt form with same name.
10. Go to KP06 T/Code.
11. From Menus select extras - excel planning u2013 Upload.
12. Give path or file name. Choose the file description and execute. The file will be uploaded in system.
Hope this will help you...Pls revert back for further assistance...
Srikanth Munnaluri -
Intial stock uploading not taking place. after initial price uploading
Dear Pandits,
I am process of uploading initital stock uploading.
1. Initital prices have been maintained thro MR21 as on 31.3.2009.( 12/2008)
2. MM period has been opened for April 2009 ( 1/2009)
3. When uploading the stock system giving error msg. "Price for Material 0000000004 in Plant 1000
for Not found"
Please advise what could have gone wrong.
thanks
v balajeeConsumable materials are not having accounting view in normal practice, but if you are uploading through LSMw, tick of accounting view remove it, and if you are using the accounting view then add the value field in your LSMW and add the value columun and then upload because its moving average price its not the standard price.
regards,
qsm sap
Maybe you are looking for
-
Hi, When we select one task and click on View Detail in UWL it will open another window with task details and some buttons Launch Webdynpro,Forward,Assign to Me,Open Form and links like Display details in SAP GUI. We want to hide some of the buttons
-
Button that initializes values then releases control of further booleans
I am attempting to create a button that turns on a series of other buttons but then releases control to allow individual switching. The problem is that for my project I must run the labview file continuously so when I change a control switch to true
-
When we give wildcard for date field
can we give wild card for date field in range table. my code is this RAnges r_erdat for mara-erdat r_erdat-sign = 'I'. r_erda-option = 'CP'. r_erdat-low = '2009'.* append r_erdat. select erdat from mara INTO CORRESPONDING FIELDS OF TABLE itab wh
-
I recently upgraded from Elements 11 to 13. The new Organizer works fine, and the catalogue converted fine. But when I try to use the Editor, it won't open. It asks me to sign in with an Adobe ID and to register the product. (It is registered). After
-
Why can't I play games in Facebook?
It keeps saying I need adobe flash to play but that's not supported by apple. Is there a work around?