Regarding LSMW validation & Debuging
Hi,
Is it possible to perform validations in LSMW?
If yes, kindly send me detailed description.
Waht is the procedure to debug LSMW?
Thanks & Regards,
sathish dasari.
Yes, it is possible to perform the validations in LSMW.
In the 5th step(Maintain field mapping), we have various processing blocks like Global data, begin of processing, begin of transaction, begin of record. You will get an abap screen when double click on the required block. write the what ever the code required for validations(like norma se38 program).
suppose if you find that the record is an erroneous, skip that record for processing (there is global function available in lsmw skip_transaction), then populate all such error records into one internal table, and you can download the same in end of processing block.
For every lsmw a conversion program will be generated, you can see the same by selecting the display conversion program in user menu.
put the break-point where ever required, it will be triggered duting the convert data step.
Thanks,
Rajinikanth
Similar Messages
-
Need help regarding form validation
Hi all,
I have particular doubt regarding form validation. I have a form based on a table. ( One data block ) . I have a function in program unit which return boolean value based on some conditions. I will be calling this function in block validate trigger.
What i need is , if function return false i need to stop any insertion,updation action that's going to be done by forms.( point to control insertion and updation)
I don't want to use form triggure failure builtin. What should i do ? plz guide
regardswhat are you going to do stop insert/update upon commit?
-- use on-insert trigger
if allowed_to_insert then
insert_record;
end if;
-- use on-update trigger
if allowed_to_update then
update_record;
end if;
if when entering data, you might want to check set_block_property -
Cannot create a valid Debug Token
Hi,
So I just received a Blackberry Z10 and wanted to run my Android app on it.
I can sign Apps, but I cannot create a valid Debug Token, I also can't figure out why.
Time and Date is correct on my Computer and the Device.Hey jenode,
Welcome to the BlackBerry Support Community Forums.
Thanks for the question.
I would suggest reaching out to our BlackBerry World vendor support as they can assist better: http://developer.blackberry.com/blackberryworld/
Let me know if you have any more questions.
Cheers.
-ViciousFerret
Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
Be sure to click Like! for those who have helped you.
Click Accept as Solution for posts that have solved your issue(s)! -
hi ,
i am new to SAP. actually i am trying to update vendor master data for the following fields using LSMW.
LIFNR BUKRS EKORG KTOKK TITLE_MEDI NAME1 NAME2 SORT1
REMARK KUNNR STCD1 STCD2 BANKS BANKL BANKN BKONT LNRZA
AKONT ZUAWA QSSKZ QLAND QSREC ALTKN PERNR ZTERM TOGRU
REPRF ZWELS ZAHLS LNRZB HBKID INCO1 INCO2 KALSK WEBRE
WAERS BSTAE PARVW GPARN
in Maintain Object attributes i have declared it as standard batch/direct input using object (0040),method standard,program name(rfbikr00),program type (b)
while trying to upload it i am getting an error saying that transaction Xk01 is not supported. please help me regarding this and the method to upload the vendor master data into sap sys from a legacy sys in LSMW method.HI deephi
follow the below steps
4.4.2.2.3 Importing Vendor Master Data
Use
The purpose of this activity is to import vendor master data via LSMW using Batch Input.
Prerequisites
You have imported the LSMW project BP_AIO into your system.
Specifying LSMW Project Details
1. Access the activity using the following transaction code:
Transaction Code LSMW
2. Confirm the information message Welcome to the Legacy System Migration Workbench.
3. On the Legacy System Migration Workbench screen, enter the following values:
Field name Description User action and values Notes
PROJECT Name of data transfer project BP_AIO More than one subproject can be assigned to a project.
SUBPROJ Specifies the name of the subproject MM A subproject can have an unlimited number of objects
OBJECT Object name. An object corresponds to a business object. VENDORS_FINAL An object is assigned to a subproject
4. Choose Continue. The LSM Workbench: BP_AIO MM, VENDORS_FINAL screen is displayed.
You can change the default view from display mode to change mode. To do this, choose Double Click=Display.
Specifying an External File
If an external file has already been specified, only change the file name of the existing file. Do not add or create any additional files.
1. In the LSM Workbench: BP_AIO, MM, VENDORS_FINAL screen, start the process step Specify Files and go into change mode, if you are in display mode.
2. In the LSM Workbench; Specify Files (Change) view, go to the structure item Legacy Data - On the PC (Frontend). Double-click on the object file entry that is located directly under Legacy Data - On the PC (Frontend). The File on Front End: Maintain Properties entry screen is displayed. Enter the following values:
Field name Description User action and values Notes
File LSMW data file name Specify the path and name of the external data file or browse for the external data file
Name Object type Specify the name of the object type
File Contents Select the radio button
Data for One Source Structure
Separators Tabulator Check file for separators, if necessary
File Structure Choose Field Names at start of File
File Type Select the radio button
Record End Marker (Text File)
Code Page Select ASCII
3. Choose Continue, save your file settings and choose Back.
Assigning a File
Omit this activity if an external file has already been specified and assigned.
1. To assign an external file, double-click on the process step Assign File.
2. In the LSM Workbench: Assign File view, select the first line highlighted in yellow and choose Assignment. The file you have specified in the previous step is assigned. Repeat this for each entry highlighted in yellow until you have assigned the file assigned to each structure.
Importing Data from Files
1. To import the data from the assigned files, double-click on the process step Import Data.
2. Choose Execute without entering any values. Go back to the Process Step list
Converting Imported Data
1. To convert the imported data, double-click on the process step Convert Data.
2. Choose Execute without entering any data. Go back to the Process Step list.
Creating Batch Input Session
1. Double-click the step Create Batch Input Session.
2. In the Batch Input interface for Vendors screen, choose Execute, confirm the messages which are displayed. If a batch input session was created successfully the message Session 1 session name VENDORS_FINA was created is displayed.
Running Batch Input Session
1. Double-click the step Run Batch Input Session.
2. On the Batch Input: Session Overview screen, select the session you have created in the step before. If the batch input session was created correctly, New is displayed in the column Status.
3. Choose Process.
4. In the dialog box Process Session vendors_Fina, choose a processing mode.
5. Choose Process.
6. In case of foreground processing, select Enter till the data is imported.
7. In case of background processing, the system message 1 session transferred to background processing is displayed.
8. In case of errors, solve them and run through the process again.
Possible problems might be:
Configuration does not fulfill the master data requirements (CATT and manual processing of the transaction would also fail)
External master data file is not stored as tab separated file
Other data inconsistencies
Result
You have created vendor master data.
regards
kishore -
Regarding the validations in File Upload.
Hi
I am Using the X:InputFileUpload> for uploading of the my file and i am using validator class for checking the validation like if the file name is null. But i need one more validation to check the file format like if i have enter any special characters and invalid file format(SSS) i want give a message to the user.
Please suggest me how can i approach using Myfaces.
Thanks in advance.
Regards
SatishI have never used myfaces implementation but I am sure you can just define your own custom validator and attach it to this component or assign a method binding to its validator attribute to perform extra validation.
-
Regarding LSMW upload for General Tasks
I am trying to upload a task header & item data i.e.PLKO & PLPO.
For that I am using the standard LSMW object 0170 which is called <b>Routing</b>. But at the time of creating Batch Input session i am getting error
No profile with entry tool for task list A 1 in session MPLAN_LOAD.
So can anybody explain what is this all about.
Or is there any convinient way apart from BDC to create General task along with multiple operations.You can try to load data using the IDOC method
Message type : ROUTING_CREATE
IDOC method works well for many complicated loads.
Regards
Vivek
reward points if this helps -
Regarding Certification validity
Hi Friends,
I have completed CCNP Data R&S in OCT 2012. IS there any timeframe for tshoot to be completed within so and so or as each certification has 3years of validity whether i can complete the same before SEP 2015. will it be valid.
OR
If i do some other certification in security and wireless in feb 2014.... my certification validity will extend to jan 2017 right. before Jan 2017 can i complete Tshoot ot within 3 years of R&S certifications i have to get it certified CCNP.
Please clarify... i asked many and no one could able to clarify this.
Thanks & Regards,
NaveenSandeep:
Either you misunderstood, or is not quite right for you said:
According to the link you include in your own post:
CISCO: "...
Placing expiration dates on exams ensures that candidates starting a multi-exam certification such as CCENT, CCNA Routing and Switching, or CCDP, for example, complete the program within a specified time frame. By passing all of the required exams within the specified time period as noted above, candidates demonstrate that they are tested on current content. In situations where the period exceeds three years, candidates will need to retake those exams that expire."
So I understand that in the case of the CCNP, you have to pass 3 exams that comprise, within the single period of 3 years that you passed the last exam Cisco (CCNA, ...) -
Regarding lsmw file port creation
Hi Experts,
By using lsmw (bapi technic),while executing ,
the step of start idoc generation its showing that 'no partner exists with the name type'.and how to create lsmw file port.
Please resolve this issue ASAP.
Regards,
Reddy.Hi venugopal ketu ,
please go thru the below useful links....
http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
http://www.****************/Tutorials/LSMW/LSMWMainPage.htm
http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
http://www.****************/Tutorials/LSMW/LSMWMainPage.htm
All the very best....
Regards,
Sreenivasa sarma K.
Edited by: sharmashree kashi on Mar 28, 2008 5:04 PM -
Regarding LSMW help files.
Hi,
Could anyone please guide me to extensive LSMW help files where the exact use of each step of LSMW is explained clearly and elaborately.
Thanks in Advance for your esteemed replies.
Regards,
Goutham.check out this link
http://www.sap-img.com/sap-data-migration.htm
and this online help from help.sap.com
http://help.sap.com/saphelp_nw04/helpdata/en/ad/2d54a41d7011d2b42e006094b944c8/frameset.htm
Regards
Raja -
Hi Friends,
How LSMW is transported to other environments,whether it will be transported using transport request, then how to create a transport request for LSMW,kindly inform the process ASAP
ThanksHey,
Use IMPORT & EXPORT Option, that's easy to transport to the another system. We no need to follow the TP Sequence.
Steps: Goto Extras -> Export Project - Save in Local.
Goto the Production or Quality System to import.
Goto Extras -> Import Projects -> Select the file from local.
Regards,
Saravanan M -
Regarding this Validation Error JBO-29000
Hi, I am using JDeveloper 10.1.2.1.0. when i run the page i am getting this error. can any one help me in this.plzzz
Validation Error
You must correct the following error(s) before proceeding:
JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=oracle.jbo.common.ws.WSViewObjectImpl
oracle.jbo.common.ws.WSViewObjectImpl
regards
Nag
Message was edited by:
user477479JBO-29000: JboException
Cause: If an unexpected exception occurs during a framework operation, this exception is thrown, with the unexpected exception included in the details of this exception.
Action: Fix the cause for the exception in the details for this JboException.
You probably need to narrow this down a bit more...is this happening on all pages? has it just started happening? Does it happpen in a simple test case. If you can narrow that down you will have a better chance of getting a solution.
Regards
Grant Ronald
Oracle Product Management -
Issue regarding LSMW, not showing all records after Read Data
Dear Experts,
Plz help.. I need to configure a LSMW for ROH material.. so I made recording, n then create a structure.. accordingly.
the problem is.. at the time of reading data from .txt file.at the step of Display Read Data it showing only 50 records, rest are not displaying.. but not showing any error.. so my question to our expert that is their any limitations for reading data... if their.. then how could it be elasticated...
plz suggest..
regards,
sandythe read step has a selection screen where you can define from which to which record you want read.
make sure this selection is empty for a test.
Further check if your source file has more than 50 records.
then make sure that you really read this source file and not any other version (check path and file name in step 7 of LSMW) -
Regarding : LSMW return code 7 file could not be uploaded
Hi all i have a problem doing lsmw when i go for the 3 rd option after creating a structure in lsmw the moment i press copy fields from the menu i enter no. of fileds and length it asks for the txt file i attach it and when after attaching i press enter it says file could not be uploaded return code 7.
What is this error and as to why it is happening ?? and when i asked my friend to do it in his system who is somewhere else he says it is running on my system i am working currently on ECC 6 version of sap.
Please tell me as why is this happening on my system..
<removed_by_moderator>
regards
singh
Edited by: Julius Bussche on Jul 27, 2008 6:08 PMwhere is the file located? please check if the file is being accessed by anyone else or if the file is open while your trying to attach it.
hope this helps.
tyken -
Hi Friends,
I have a query in LSMW.
I am creating Materials using the recording of MM01.
I need to check a material already exists in SAP , before the session is called .
If material exists then that particular record from Excel should not be processed. I dont want to see the log for non processed items.It should be skipped at the LSMW level.
Please advice
Thanks and Regards,
AnoopLSMW==> Maintain field mapping and conversion rules => For the session there is an event <b>__BEGIN_OF_TRANSACTION__</b>.
You could write your <b>select * from mara where matnr = source-matnr.</b> and validate the material exist or not.
If exists you can skip that loop using <b>continue</b>.
Hope this helps you.
Best wishes,
TM -
Regarding LSMW Purchase Order header and item data
Hi Friends,
I have one requirement i.e purchase order data need to be upload through LSMW via Direct input method.
=============
pls find the belwo flat file structure
old_PO material price qty
P123 M111 10 1
P123 M222 10 1
P123 M333 20 1
===============
Normally if I upload same data into SAP, it will create three purchase orders with different SAP numbers.
I want if old_PO number is matches with the previous record all the materials should be in single transaction and single Purchase order should be created.
Can any body help how to resolve this issue. This is very urgent.
pls explain in detail. I am using LSMW. I don't have no other option.
=====
please don't post any junk amswers.
=====
Thanks in advanceHi Raghunath,
Don't think that this reply is junk one.I cannot explain you in detail but try like this.
In the fifth step of LSMW,You can find Global data definitions & Processing times.
In any of these you can just fetch the values from database with reference to flat file data like..
select PO from ...where PO = source-PO.
if sy-subrc EQ 0.
skip_transaction. Using this function you can skip this record
endif.
Award points if useful.
Thanks,
Ravee..
Maybe you are looking for
-
Unable to load Site Control File
Hello, The background : I am in the process of learning how to create a Management Pack for a distributed application in SCOM 2012 R2.</p><p>For this, I picked our SCCM Site server to use as an example. So, in short, am writing a management pack for
-
Bring a page from one Application to another
Hi, how can I bring a page from one Application to another ? Many thanks.
-
N80 MP3 Player Controls Gone Crazy??
Hi there, Just recently received my N80 v3.0618.0.2 23-05-2006 RM-92 NOKIA N80 (45.02) The problem I am having is with the mp3 player. Some mp3 tracks are over an hour long (long radio shows or dj mixes). When I try and fast forward through to say 01
-
My ellipsis 7 has an issue after i got the latest upgrade...
my tablet turns itself off and reboots by itself, i did a factory reset of the tablet and it quit resetting itself for about a month, now it started back resetting itself has anyone had this issue it happened only after the upgrade. on a side note wh
-
Can anyone tell me what info pack to use first in the load of data to the inventory cube? When using the Datasource 2LIS_03_BF? There are 5 info packs available when you install the BI content. I have gone through some blogs and documents but they al