XI as alternative to LSMW?
Has anyone used XI as a data conversion tool (instead of using LSMW)? Is this feasible and would that make sense to do? Of course, I realize that the standard load programs/tools that come with the Data Transfer Workbench would still need to be used, but I like the idea of using XI to convert the legacy data to the SAP required format instead of using LSMW (we are already going to be using XI for interfaces, so why not stick with one tool?)
Looking for opinions here....
Thanks.
Regards,
Lee
Hi,
It depends on several things:
1. How well your developers know XI/LSMW (or maybe do they have to learn XI anyway)
2. What type of input data have you got - flat files or XML files (or maybe something else)
3. also denpends how difficult your mappings are (2 different file type to one RFC, or one IDOC or just one to one)
4. the cost? I guess it's a little bit easier to find someone who can use LSMW then someone with XI experience
Hope that answering those questions can help you a bit:)
Regards,
michal
Similar Messages
-
Mass update of mixing ratios for new fiscal
Hello All,
Is there any way to update mixing ratios for a new fiscal in a mass manner? What would be the best way to do a mass update? Thanks.
Regards,
SBHi
There is a catch in it... The screen delivered by SAP for CK94 has a problem... If you have more than 6 Proc Alternatives, even LSMW wont help...
LSMW can help only if you have upto 6 proc alt.. if more than that, you have to do it manually....
I debugged the Std program with my ABAPer for whole long day.. What we discovered was that SAP hos not given the PAGE DOWN option, usually given in all the screens.... So, no BAPI/BADI/LSMW can help of Proc Alt > 6
br, Ajay M -
Good day gurus,
I am trying to upload routing data through LSMW Direct Input method and I encountered the message "No header alternative for specified object exists".
What would cause this? How can I remedy it?
Thanks in advanceHi Villa,
chk this BAL_OBJECT_SUBOBJECT it wil Checks whether object and subobject exist and the combination is allowed
APPL_LOG_WRITE_SINGLE_MESSAGE With this function module you write a single message, without parameters, in local memory. If no header entry has yet been written for the object or sub-object, it is created. If you do not specify an object or sub-object with the call, the most recently used is assumed
see this link
http://www.123eng.com/forum/viewtopic.php?p=18812
thanks
karthik -
LSMW - Alternative Unit of Measurement
Hi,
I'm dealing with something very very strange.
I'm trying to load the Alternative Unit of Measure for materials via a LSMW.
I'm using the Standard Batch / Direct input Method
Object 0020 Material master
Method 0000
Program Name RMDATIND
Program Type D Direct Input
We need to have the conversion L & GAL and KG & LB.
GAL & LB are loaded as first. (This goes in very smoothly). These values are calculated with density.
Afterwards I load L & KG. So I'm using the function DIMENSIONCHECK_CONVERTABLE to calculate the converted versions.
So 90% loads like this, without any problem. But 10% of it goes wrong... When I check try to load this manually with exactly the same number I calculated, I can save the material without any issue. When I'm using the Job I get following issue: The alternative units of measure are inconsistent.
How is this possible? And how can I solve this issue without doing it manually?
Thanks!Hi Prasad
In the Material Master - Sales org.1 view you have a field called Sales Unit.
there you give the desired UOM and press Enter then you will get a pop up for Conv.factors:Unit of measure, here you have to give the Conversion of the Material UOM to Sales UOM.
Ex. Material Measure is PC and Sales Measure is BOX
You need to specify How many peacies will BOX consist of
like 10 PC = 1 BOX like that you have to give in the Popup
Regards
Sree -
Component Allocation LSMW not working for materials having alternative BOMs
Hi Experts,
I have a requirement in Component allocation LSMW.
Component Allocation LSMW was created using a material which do not have an alternative BOM and the LSMW NOT working for materials having alternative BOMs. Currently iam using Batch Input Recording method in LSMW.Can any one suggest me is it possible by recording method in Lsmw. Because in transaction CA02 when we click the CompAlloc button in application tool bar we get a pop up screen with alternative BOM's, we have to choose any of them. If we choose any of the alternatie BOM in the pop up screen then it will be fixed always, but depending upon my flat file value of alternate BOM i need to pick the value. It is not static.
Can any one suggest me is there any BAPI for this requirement.
Your hel will be greatly appreciated.
Thanks & Regards,
Venkat.Use BDC instead of LSMW, that will solve your problem.
-
How to set dynamic file path in LSMW
I am working on LSMW object to upload say excel file from my desktop.. if someone runs my lsmw application on their system obviously it fails.. is there way where I can dynamically set the path..I mean whomsoever runs the application it picks the file from their location and execute the program.
hi,,,
change your code accordingly
here i am inserting data into ztable from excel .
*& Report ZBI_UPLOAD_DATA_MAST *
REPORT zbi_upload_data_mast .
DATA : it_tab TYPE filetable,
gd_subrc TYPE i.
TYPES : BEGIN OF wa_wrkctr,
fictr TYPE zbi_fictr_mast-fictr,
prctr TYPE zbi_fictr_mast-prctr,
type TYPE zbi_fictr_mast-type,
END OF wa_wrkctr.
DATA : wa_save TYPE zbi_fictr_mast.
DATA : gd_scol TYPE i VALUE '1',
gd_srow TYPE i VALUE '1',
gd_ecol TYPE i VALUE '256',
gd_erow TYPE i VALUE '65536'.
DATA : it_datatab TYPE STANDARD TABLE OF wa_wrkctr WITH HEADER LINE INITIAL SIZE 0.
it_phy_data TYPE STANDARD TABLE OF wa_energy WITH HEADER LINE INITIAL SIZE 0.
*data : w_current_inv_no(5) TYPE n,
w_pop_up_text LIKE wfcsr_ui_popup_text.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_file LIKE rlgrap-filename OBLIGATORY
DEFAULT 'C:\Physical Stock.xls' .
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select File Name'
default_extension = '*.xls'
default_filename = '*.xls'
file_filter = '*.xls'
initial_directory = 'c:\'
MULTISELECTION =
WITH_ENCODING =
CHANGING
file_table = it_tab
rc = gd_subrc.
USER_ACTION =
FILE_ENCODING =
EXCEPTIONS
FILE_OPEN_DIALOG_FAILED = 1
CNTL_ERROR = 2
ERROR_NO_GUI = 3
NOT_SUPPORTED_BY_GUI = 4
others = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
READ TABLE it_tab INTO p_file INDEX 1.
ENDIF.
START-OF-SELECTION.
START-OF-SELECTION.
PERFORM upload_excel_file TABLES it_datatab
USING p_file
gd_scol
gd_srow
gd_ecol
gd_erow.
PERFORM eventtab_build CHANGING lt_eventtab.
PERFORM display_data.
*& Form UPLOAD_EXCEL_FILE
text
-->P_IT_DATATAB text
-->P_P_FILE text
-->P_GD_SCOL text
-->P_GD_SROW text
-->P_GD_ECOL text
-->P_GD_EROW text
FORM upload_excel_file TABLES p_it_datatab
USING p_file
p_scol
p_srow
p_ecol
p_erow.
DATA : lt_intern TYPE kcde_cells OCCURS 0 WITH HEADER LINE.
Has the following format:
Row number | Colum Number | Value
i.e. 1 1 Name1
2 1 Joe
DATA : ld_index TYPE i.
FIELD-SYMBOLS : <fs>.
Note: Alternative function module - 'ALSM_EXCEL_TO_INTERNAL_TABLE'
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = p_file
i_begin_col = p_scol
i_begin_row = p_srow
i_end_col = p_ecol
i_end_row = p_erow
TABLES
intern = lt_intern
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc <> 0.
FORMAT COLOR COL_BACKGROUND INTENSIFIED.
WRITE:/ 'Error Uploading file'.
EXIT.
ENDIF.
IF lt_intern[] IS INITIAL.
FORMAT COLOR COL_BACKGROUND INTENSIFIED.
WRITE:/ 'No Data Uploaded'.
EXIT.
ELSE.
SORT lt_intern BY row col.
LOOP AT lt_intern.
MOVE lt_intern-col TO ld_index.
ASSIGN COMPONENT ld_index OF STRUCTURE it_datatab TO <fs>.
MOVE lt_intern-value TO <fs>.
AT END OF row.
APPEND it_datatab.
CLEAR it_datatab.
ENDAT.
ENDLOOP.
ENDIF.
IF it_datatab[] IS NOT INITIAL.
DELETE FROM zbi_fictr_mast.
COMMIT WORK.
LOOP AT it_datatab.
wa_save-fictr = it_datatab-fictr.
wa_save-prctr = it_datatab-prctr.
wa_save-type = it_datatab-type.
INSERT INTO zbi_fictr_mast VALUES wa_save.
IF sy-subrc = 0.
COMMIT WORK.
MESSAGE 'Data upload complete' TYPE 'S'.
ENDIF.
CLEAR wa_save.
CLEAR it_datatab.
ENDLOOP.
ENDIF.
ENDFORM. " UPLOAD_EXCEL_FILE
i hope this will help .
Regards
Deepak -
Sale order Upload thorugh LSMW
Dear All,
I am trying to Upload Sale order with 100 Line items through LSMW.
system is creating 100 S.O against each line item.
In Lsmw there is a Procedure of Using BAPI ? What is the procedure of Uploading the same.
I don't want to use BDC's .
Can any one guide me how to Upload 100 Line items through LSMW?
Thanks for the Help.
Satishhi
In lsmw select the BAPI(Business object method)
In Business Object enter BUS2032 and
method as CREATEFROMDAT2
If it is thriugh IDOC
OR alternatively you can use Standard batch/ Direct input method
object as 0090
And try
regards -
How do I use LSMW with a bespoke dataload program?
Hello data migration gurus, I need your help.
I need to migrate data from a legacy system into a suite of bespoke functionality we've written within SAP CRM. We are planning to write a program to perform the load. However we would like such a program to be reusable, so it makes sense to keep the data load separate from the data formatting, which may vary between customers.
The obvious answer is to use LSMW for the data formatting, calling our load program as the last step. However in LSMW you can only choose from a list of standard dataload programs. Does anyone know how to use LSMW with a bespoke program? It looks like transaction SXDA might be involved, but it isn't too clear. If anyone has done this kind of thing elsewhere, advice would be much appreciated!
Obviously as an alternative we could just write a separate program to format the data - it would just be a lot better if we could use LSMW.No longer required.
-
Error in LSMW for MM41 - "No batch input data for screen SAPLMGMW 0100"
I'm trying to create an LSMW for MM41 to create new Retail articles en Mass. This will be used to only create the Basic view as other LSMW's already exist to maintain the other views. I've created the Recording and setup the LSMW already. My data is read correctly from the source file. When I execute the batch session it fails with the following error - "No batch input data for screen SAPLMGMW 0100".
I assume the fields in MM41 screen are not setup for batch processing. Could someone with more knowledge or experience in SAP Retail please confirm my assumption and explain where this is setup or provide an alternative to creating new articles en Mass via MM41? The direct input method is more suited for MM01 and not MM41.
Regards
FawaazHi Guys,
Thanks so much for all the prompt responses. My issue is now resolved.
The issue, I'm sure, was my default settings in the MM41 screen which the recording probably took into account or the batch program didn't like. I deleted my recording and created a new one but before I started the recording, I went into the MM41 screen and removed all default values AND view selections. I made my Basic view selection constant in my recording and also in my field mapping. My LSMW for MM41 is now working perfectly.
Just to answer some of the questions above, my LSMW was Reading and Converting the data in my source file fine. When I display the Read and Converted data, it shows the data fields in the correct place.
Thanks again.
Regards
Fawaaz -
Business partner migration using lsmw direct load .
Hi,
We need to do business partner migration using the direct load method.
We are thinking of using direct input method of lsmw for the data transfer.
Could someone suggest a proper object/ subobject for the same.
Alternatively has anyone done the same using LSMWbapi or LSMWidocs.
Inputs will be highly appreciated <<text removed>>
Dirk.
Edited by: Matt on Dec 19, 2008 1:33 PM - Do not offer rewards. Please read the rules of engagement.Hi ,
Does this solution give any way to update the customer fields too ?
We have few customer fields added to BUT tables ... How can we update these fields using LSMW and IDOC ?
Could you please give your opinion on thesame. -
Hi,
My requirement is adding fields to an existing structure in LSMW batch input method and performing validations on those fields as follows
1. Alternative Priority should be numeric
2. Alternative Starategy should be numeric
and valid values are 1 2.
3. Alt. Usage Probability should be numeric with no decimals
and valid values are 0-100
Thanking u inadvance,if you go to field mapping section(in change mode)
double clik on the field(where you see the mapping of your source field and the target field) which you need to write the condition, it will open up the editor to write the code. play around there you will get some idea.
if still you have problems let me know -
hi
experts,
here the issue, i am uploading sales orers and delviery ordrrs through lsmw, in 9th step after specifying files and when i try to
press read data it shows an error stating that, "unable to write to file f/lsmw/sales orders va01rec.lsmw .read.
any help on this will be highly appreciated.
thankshi
after trying with other path, still its shows the same issue, could you give other alternative for this.
eagerly awaited for your response.
thanks -
LSMW - Direct Input for XD01 transaction
Hi Experts,
I am facing an error while doing the LSMW - using batch Input session. In the last step of LSMW.. while running batch input session, i faced an error "Function code cannot be selected" this error is coming because the Function code(OK Code) of that screen is "KNZA".
the problem is that how can i change the OK code (function code) in the standard program. or is there any other way for solving this problem...
please help me out....Hi
I feel the problem is with the Sturcture relations step. Are you mapping the below structure?
BKNZA Customer Master Record Altern.Payer (Batch Input Structure) -
Ensure that for all the structures you are mapping here.. you need to provide elements in field mappings. Otherwise it may lead to such errors.
Try to check all the steps once again and then generate the program again and check. -
I am working on PO Upload. Initially I thought of going for LSMW but I come across various hurdles like different number of line items, updating different header texts and updating item header texts.
Please advice is it possible to do that in LSMW using recording or am I supposed to use LSMW using FM.
If you have an alternative please furnish with details.
-Mohan
Useful answer deserves POINT!!!!!>
Mohankumar Rajendran wrote:
> Useful answer deserves POINT!!!!!
Don't violate forum rules with such statements
SEARCH in SCN for this bapi BAPI_PO_CREATE1, you will get lot of posts. -
Request for detailed acts to upload Work center, BOM, Routing data in LSMW
Hello PP ANgels,
Request for detailed actions to upload Work center/Resource, BOM, Routing/Recipe data in LSMW.
Thanks in advanceSanjay,
In the forum I found that you had used some "drops", that require a password to view.
In these forums, the only links I post are public (help.sap.com) and from SAP support (service.sap.com/support). SAP Support is mostly available only to customers and partners of SAP. If you meet these criteria, and need a login for the SAP support site, contact the license administrator for your company's SAP licence (this is usually a Basis person). If you cannot locate this person in your company, contact Service Marketplace directly (service.sap.com/mp). Alternatively you can contact your local SAP Sales office and speak to your account administrator.
Maybe it would be a better idea to group all standard solutions in one place.
I expect it will be so...in Nirvana. Here, life still entails suffering.
With respect to your detailed questions, I would have a hard time answering, I have never used recordings in LSMW to create work centers, I always use standard batch/direct input. I suspect that the VGEXX items are the units of measure from CRHD, I suspect LARXX items are activities from CSSL, and I couldn't comment on FORXX items without doing some research.
This is the SCM PP forum. You might get more answers posting this in the ERP PP forum SAP ERP Manufacturing - Production Planning (SAP PP) , since work centers/routings/recipes/BOMs are more or less irrelevant in SCM.
Sorry I couldn't be of more assistance.
Best Regards,
DB49
Maybe you are looking for
-
How can I convert a track with multiple comps to one new complet audio file
I have one track that is great - but it is composed of different sections (NOT regions) which are different comps from punching in on different regions -- (you can see the divisions between the comps, and each different comp has its comp number (or n
-
Send User Variables via Mail with Captivate 7
Hello, I am looking for a way to send some self difined user Variables via e-Mail? I only find solution for Quizes, but i´d like to have some of the Additional Viables als well. Is there a Way? Best Regards Bernhard
-
Battery Meter out of Sync - How can I resolve?
Hi, I have a 3.5 Year old MAC Book Pro. As soon as the battery gets to 20% (acccording to OSX) it just cuts all power and everything is lost. The battery is dead, not sure why OSX reports 20% before it turns off. I've read some tips on recalibrating
-
I can't get the arsenalplayer to work on my mac
I can't get the "arsenalplayer" to work on my macbook pro.
-
All, I want to create a custom color for my bubbles (UPK 11). I modified the ops file and that works fine for newly created topics. However when I try to change the bubbles in previously created versions I have to enter all the color parameters (RGB,