LSMW Recording Update problem.....
Hi,
I am trying to do customer master update using LSMW recording for transactoion XD02. Now every field gets updated
using this, but the field "PO BOX other city" does not get updated at any cost.
Please help me.
Regards,
Tushar.
Step 1 - Maintain Object Attributes
Recording is done for the transaction
Step 2 - Maintain Source Structures
Maintain your source structures
Step 3 - Maintain Source Fields
Maintain source fields under the source structure
Step 4 - Maintain Field Mapping and Conversion Rules
Map the source structure fields to target structure fields
Step 5 - Specify file
Here you specify the file path to the source structure
Similar Messages
-
Send email when first record updated problem
Hi guys i have problem
this code send email based on timer every 5 minutes
it working ok but my problem i need to determine first rcord updated not inserted
and send email this is starting work
this is my code
---timer1_Tick---
Sales.SalesClass SalesClass1 = new Sales.SalesClass();
DataTable dt = SalesClass1.ShowSalesData("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
dataGridView1.DataSource = dt;
dataGridView1.Refresh();
namespace Sales
class SalesClass
public DataTable ShowSalesData(string ConnectionString)
SqlConnection con = new SqlConnection(ConnectionString);
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "showsales1";
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
DataSet ds = new DataSet();
da.Fill(ds);
DataTable dt = ds.Tables[0];
return dt;
SELECT ROW_NUMBER() OVER (ORDER BY dbo.[Jeddah-Live$Sales Header].No_) AS [م], dbo.[Jeddah-Live$Sales Line].[Document No_] AS 'رقم الطلب',
dbo.[Jeddah-Live$Sales Header].[Bill-to Name] AS 'العميل', dbo.[Jeddah-Live$Sales Line].Area AS 'نوع الصبه', dbo.[Jeddah-Live$Sales Line].Description AS 'البيان',
dbo.[Jeddah-Live$Sales Header].[Pump No_] AS 'المضخه', CAST(ROUND(dbo.[Jeddah-Live$Sales Line].Quantity, 0, 1) AS int) AS 'المطلوب',
CAST(ROUND(dbo.[Jeddah-Live$Sales Line].[Quantity Shipped], 0, 1) AS int) AS 'المصبوب', CAST(ROUND(dbo.[Jeddah-Live$Sales Line].[Outstanding Quantity], 0,
1) AS int) AS 'المتبقى '
FROM dbo.[Jeddah-Live$Sales Header] INNER JOIN
dbo.[Jeddah-Live$Sales Line] ON dbo.[Jeddah-Live$Sales Header].No_ = dbo.[Jeddah-Live$Sales Line].[Document No_] AND
dbo.[Jeddah-Live$Sales Header].[Sell-to Customer No_] = dbo.[Jeddah-Live$Sales Line].[Sell-to Customer No_]
The code above not have any problem and working
When first record updated send email
Example to show
orderno quantity shipped quantity
12 20 0
13 30 0
14 25 0
15 22 0
suppose order no 14 shipped quantity updated be 10 (meaning 0 be 10
then send email with starting work
after this any updated to any record not send
no problem i dont need any send email code but how to get record updated firstHi guys i have problem
this code send email based on timer every 5 minutes
it working ok but my problem i need to determine first rcord updated not inserted
and send email this is starting work
this is my code
---timer1_Tick---
Sales.SalesClass SalesClass1 = new Sales.SalesClass();
DataTable dt = SalesClass1.ShowSalesData("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
dataGridView1.DataSource = dt;
dataGridView1.Refresh();
namespace Sales
class SalesClass
public DataTable ShowSalesData(string ConnectionString)
SqlConnection con = new SqlConnection(ConnectionString);
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "showsales1";
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
DataSet ds = new DataSet();
da.Fill(ds);
DataTable dt = ds.Tables[0];
return dt;
SELECT ROW_NUMBER() OVER (ORDER BY dbo.[Jeddah-Live$Sales Header].No_) AS [?], dbo.[Jeddah-Live$Sales Line].[Document No_] AS '??? ?????',
dbo.[Jeddah-Live$Sales Header].[Bill-to Name] AS '??????', dbo.[Jeddah-Live$Sales Line].Area AS '??? ?????', dbo.[Jeddah-Live$Sales Line].Description AS '??????',
dbo.[Jeddah-Live$Sales Header].[Pump No_] AS '??????', CAST(ROUND(dbo.[Jeddah-Live$Sales Line].Quantity, 0, 1) AS int) AS '???????',
CAST(ROUND(dbo.[Jeddah-Live$Sales Line].[Quantity Shipped], 0, 1) AS int) AS '???????', CAST(ROUND(dbo.[Jeddah-Live$Sales Line].[Outstanding Quantity], 0,
1) AS int) AS '??????? '
FROM dbo.[Jeddah-Live$Sales Header] INNER JOIN
dbo.[Jeddah-Live$Sales Line] ON dbo.[Jeddah-Live$Sales Header].No_ = dbo.[Jeddah-Live$Sales Line].[Document No_] AND
dbo.[Jeddah-Live$Sales Header].[Sell-to Customer No_] = dbo.[Jeddah-Live$Sales Line].[Sell-to Customer No_]
The code above not have any problem and working
When first record updated send email
Example to show
orderno quantity shipped quantity
12 20 0
13 30 0
14 25 0
15 22 0
suppose order no 14 shipped quantity updated be 10 (meaning 0 be 10
then send email with starting work
after this any updated to any record not send
no problem i dont need any send email code but how to get record updated first -
Condition Record Updation Problem
Hi
Kindly note that after i maintain a condition in VK11 ,in the sales order item level , when i click on the Update button it does not get effected ,ie the condition is not updated in the line item in the order
Please advice
Regards
AkHi,
As I understood from your question, first time when you create the line item, price was picked correctly. And then when you click on the Update button, if went off. Am I right?
If that's the case, do like this. You'll be able to identify the issue.
First add another line item there with the same material. Then go to LI/ Condition tab. If the price is there, click on the Analysis button. Under that check your condition type. You'll be able to see how the condition record was determined.
Then do the Update button option.
Then again try with the Analysis button option.
You should be able to compare this with your previous findings and identify the cause.
Best regards,
Anupa -
Error Useing with LSMW recording Maintenace Plan Schesule period update
Hi Experts,
I have one quary i am using Lsmw recording methode to update schedule period of around 4000 ,aintenamce plans, i created Lsmw but it is reading when i want batch input session Overview time i get following message. please help me
"LEAVE TO TRANSACTION" 1 is not allowed in batch input
Message no. 00352
Diagnosis
The specified system functionality cannot be used in batch input mode.
Procedure
Change your application so that it can be used in batch input mode.
Thanks and Regards,
RajHi,
It seems thereis a problem with the recording.
Please try to create a fresh trecording and the excel file which you are using check it also.
regards
Amit Parkhi -
Calling of 'BAPI_BUS2001_SET_STATUS' in LSMW to update WBS status
Hi All,
We have written a LSMW to update the status of the WBS element to 'REL' status. For doing this, we are calling the BAPI 'BAPI_BUS2001_SET_STATUS' in the below steps:
1. CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
2. CALL FUNCTION 'BAPI_BUS2001_SET_STATUS'
3. CALL FUNCTION 'BAPI_PS_PRECOMMIT'
4. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
The problem is, during the first record run, the update is successful, but when it processes the second record of the file, the CALL FUNCTION 'BAPI_BUS2001_SET_STATUS' gives a DUMP with the below msg:
Exception condition "NOT_FOUND" raised.
Termination occurred in the ABAP program "SAPLCJDW" - in "CJDW_PRPS_GET".
The main program was "RBDAPP01 ".
Kindly help me resolve this problem.
thanks and regardsHi Kishor,
Can you share us how did you get this resolved?
Thanks,
Jeff -
Re: Dynamic Action is not triggering in LSMW Recording
Hello All,
In SAP HRMS personnel actions if i do using LSMW Recording it is not triggering the dynamic actions.
Is there any mechanism to Trigger dynamic action in LSMW Recording ?
How to find the differences in process with and with out recording ?
Small help is also highly appreciated.
With Regards,
Sunil,
+91-9903695384.Yes. Do one thing. First study the dynamic action. Try to understand what the dynamic action is doing. Is it creating data in other infotype or is it updating some other table. Once it is clear what the dynamic action is doing then you can try to implement the same logic in LSMW. In LSMW there is a provision to add more than one recording and this recording can be called based on some logic..
Thanks & Regards,
Sandip -
Conditionally disabling record updation after query
Dear members
I've a single record block and I wanna conditionaly disable records updation after query has fetched data. Problem is that if I disable the record updation in Post-Query trigger then it checks the condition for the very first fetched record and it the condition is true, then Updation is disabled for all the fetched records, even if the next records dont meet the condition. I'm using forms-10g. Can u give a better solution??? thanx.you have to use SET_ITEM_INSTANCE_PROPERTY to modify only one record:
BEGIN
IF ... <your_condition> THEN
SET_ITEM_INSTANCE_PROPERTY('YOUR_BLOCK.YOUR_ITEM1', UPDATE_ALLOWED, PROPERTY_FALSE);
ELSE
SET_ITEM_INSTANCE_PROPERTY('YOUR_BLOCK.YOUR_ITEM1', UPDATE_ALLOWED, PROPERTY_TRUE);
END IF;
END; -
Info record update check box in Po
Hi,
We are working in ECC 6.0 envirnmoment and our project is trying to explore the functionality of PIR. The problem is I am not able to see info record update check box in the material data tab of the PO. I did not get any configuration in SPRO to make that field visible/ invisible. Please help me to for making this field visible at the time of PO creation in transcaction code me21n.HI Muttu,
SPRO>>MM>>Purchasing >> Purchase order>>Define Screen Layout at Document Level>> NBF>> Administrative data,
in that u can make display or optional or required entry
Check once again in ur Purchase order it may be display mode in ur PO
Regards
Pramod -
ITunes 10.7 update PROBLEMS OS 10.6.8
I use(d) my iPhone 4 as a USB Tethered Modem on a Macbook laptop.
ALL software is up to date
Problems:
The exact second iTunes 10.7 update completed it's install, my iPhone4 STOPPED being a USB Tethered Hotspot!
iPhoto STOPPED SEEING new pictures on the iPhone4.
iTunes still sees the iPhone but Network does not see the iPhone when it is Tethered via USB & the iPhone option is GONE
I can turn on Bluetooth and use it as a modem but it does not work USB Tethered. This is NOT a viable Option!
Trouble shooting:
I have an Powerbook G4 OS 10.5.8 that has NOT been updated in a year and the iPhone works as a USB Tethered Modem & iPhoto sees the pics on the iPhone, so it is NOT a cable or an iPhone problem.
Apple Support REFUSED to help me saying they have no record of problems (but I found with Google, a lot of problems reported on Windows devices).
THEY ALSO SAID THEY DO NOT OFFER EXCEPTIONS AFTER THE 3RD ONE, EVEN IF IT IS THEIR FAULT DUE TO A SOFTWARE UPDATE!?!?
I took both laptops and the iPhone4 to an Apple store Genius Bar and all they could come up with was to reinstall the OS, which they did without deleting my applications because I do not have the serial numbers to several very expensive apps that I got with the system when I bought it used.
2+ HOURS LATER...
Network had no iPhone option at all.
iPhoto still did not see pics on the iPhone4
iTunes still saw the iPhone4
Bluetooth is my Only Option to get to the WWW but it's SO SLOW I'm now using the Powerbook!
It sure seems that since Steve is gone, Apple has been infected with IBM-itis
FIX THIS UPDATE A.S.A.P. PLEASE!I did all that and still No Joy! I don't even have an iPhone option on my network pregerences...
See the log below
Version:1.0 StartHTML:0000000149 EndHTML:0000007018 StartFragment:0000000199 EndFragment:0000006984 StartSelection:0000000199 EndSelection:0000006984
-- Kext Utility --
Mac OS X 10.5-10.8
v2.5.1 © cVad 2008-2012
Fast repair all Kexts permissions
SLE Kexts Installer
Mkext Packer/UnPacker
cvad-mac.narod2.ru
www.applelife.ru
ProductName : Mac OS X ProductVersion: 10.6.8 BuildVersion: 10K549
Kernel : Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011
Model ID : MacBook1,1 KernelMode: i386
CPU TYPE : Genuine Intel(R) CPU 1500 @ 2.00GHz
Core : 2000MHz Bus: 166MHz FSB: 664MHz
CPU ID : Ox6E8 (1768) Cache L2: 2Mb
RAM : 2048Mb HibernateMode: 0
SwapUsage : total = 128.00M used = 2.34M free = 125.66M (encrypted)
User : admin on MacBook.local
Start working: 2012-10-10 13:17:03 -0500
Detected ... MAC OS X "Snow Leopard".
Task: Full service for "/System/Library/Extensions"
and "/Extra/Extensions" folders.
Repair Permissions for "/System/Library/Extensions" ................... Done.
-- Total processed: 6545 files (347 kexts) for 73 sec.
Preventive removal sleepimage file ... Done.
Updating system caches MAC OS X "Snow Leopard".................. Done
-- Build time = 37sec.
Search "/Extra/Extensions/" folder ... Not Found.
Syncing disk cache ... Done.
All done.
Have a nice ... day(night)
Enjoy ...
-- Kext Utility --
Mac OS X 10.5-10.8
v2.5.1 © cVad 2008-2012
Fast repair all Kexts permissions
SLE Kexts Installer
Mkext Packer/UnPacker
cvad-mac.narod2.ru
www.applelife.ru
ProductName : Mac OS X ProductVersion: 10.6.8 BuildVersion: 10K549
Kernel : Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011
Model ID : MacBook1,1 KernelMode: i386
CPU TYPE : Genuine Intel(R) CPU 1500 @ 2.00GHz
Core : 2000MHz Bus: 166MHz FSB: 664MHz
CPU ID : Ox6E8 (1768) Cache L2: 2Mb
RAM : 2048Mb HibernateMode: 0
SwapUsage : total = 128.00M used = 2.34M free = 125.66M (encrypted)
User : admin on MacBook.local
Start working: 2012-10-10 13:21:24 -0500
Detected ... MAC OS X "Snow Leopard".
Task: Install "AppleUSBEthernetHost.kext (arches) i386,x86_64"
to "/System/Library/Extensions"
Found existing "/System/Library/Extensions/AppleUSBEthernetHost.kext"
BackUp : "AppleUSBEthernetHost.kext" to "AppleUSBEthernetHost.kext.bak" ... Done.
Install: "AppleUSBEthernetHost.kext" ... OK.
Repair Permissions for "/System/Library/Extensions/AppleUSBEthernetHost.kext" ... Done.
-- Total processed: 15 files (1 kexts) for 0 sec.
Updating system caches MAC OS X "Snow Leopard"......... Done
-- Build time = 18sec.
Syncing disk cache ... Done.
All done.
Have a nice ... day(night)
Enjoy ... -
How to handle the pop-up Screen in LSMW - Recording
Hi,
I am doing the LSMW-Recording for Pricing Conditions.there are so many condition types are there.
my problem is while uploading the data from flat file,if record alredy exists in SAP system, it will display one Pop up screen, says "the record already exists do you want to overlap it".so that time it has to hit enter and has to overlap the existing records.
can any one please help me..this is very urget to me.
Points will be awarded for correct response.
Thanks,
ShobhaHi,
Go to Maintain Field Mapping and Conversion Rules
Insert coding at __BEGIN_OF_PROCESSING.
Like:
Select .....
if sy-subrc = 0. "Record found
skip_record.
endif. -
LSMW recording for different numbers of materials
Dear all,
In the LSMW recording-trcode at VBO1- I enter material codes. But the number of material codes are changeble. For instance for a customer I can enter 5 material codes; for another customer I can enter 12 material codes. For this reason,
I created recording template for 15 materials.
When I run the LSMW it gives errror. because I entered 3 material for a spesific customer. It wants other 12 material codes.
As result;
How can I create a template for various numbers of materials?
For example
customer1 I want to run LSMW for 3 materials
customer2 I want to run LSMW for 5 materials.
ThanksHi
I am not exactly sure of the problem, but you have 15 material columns refering to the line items possible in ALL sales orders/contracts. Ensure that you have a ZERO in the colomns not being posted to. The zero in Excel has to set to text I think, but check the SDN for further on that matter. When you save as a text file, or CSV file, open it with wordpad. You should see the 0 there, if not search SDN.
Something else you can do is the have the field names that become you source field in the LSMW. See Maintain source fields in the LSMW. Use the field names that you have given there as the excel file's header line. i.e. line 'A'. When you select your file to be loaded under 'specify fields', tick the box : - Field names at start of file.
It will then only take the amounts that are there and not put the amount in the next place. I am not sure with recording in SD, but record the item numbers from a static 10,20,30,40,50 .....ETC TO 150. Then have source fields for all 15 line items.
You could have another material created as a non-valuated material and so it won't post anywhere. Add this material where necessary.
Hope this is of help
Kind regards
Dawn -
Hi,
I want to use LSMW to update lots of vendor E-mail, but when i reocrd the screen, i find the field:E-mail is not found, and some other field like communication method is also not found duing recording of LSMW.
Then i change to use CATT, it is recorded.
Does anybody know why, can i use LSMW to change E-mail address of vendor, how to do that?If u want updated e-mail address in vendor master so u can use mass maintaince in t code MASS & select ur vendor object type.
Thanks & regards
Amar -
How to upload data for me01 using lsmw recording method
*dear expert please tell me the complete procedure for how to upload data in me01 transaction using lsmw recording method.
Moderator Message: Duplicate post locked.
Edited by: Vinod Kumar on May 8, 2011 7:56 PMHi,
To be honest I don't understand your question. When You execute LSMW and create project, then all steps are shown in a very clear way with good description. With which one you have problems?
Best regards
Marcin Cholewczuk -
BBP_GET_EXRATE - No records updated
Hi,
Our environment is SRM Server 5.5 with two R/3 backends.
We have executed the report BBP_GET_EXRATE for the first backend and it completed successfully copying the exchange rates. However when we executed the same report for the second backend the log says "No records updated".
Did anyone have experience this problem before? Can you please help?
ThanksHi,
FM LOAD_TCURR within BBP_GET_EXRATE is used to fill TCURR in SRM. It seems that all entries are deleted from TCURR and then the entries are filled again from the backend. So it seems to be not possible to get the exrates from different backends.
Take a look at the strange coding from FM LOAD_TCURR :
Load Exchange Rates table TCURR
TABLES: TCURR.
DATA: BEGIN OF ITAB_TCURR OCCURS 0.
INCLUDE STRUCTURE TCURR.
DATA: END OF ITAB_TCURR.
delete all entries in table
SELECT * FROM TCURR INTO ITAB_TCURR. <--- get existing entries
APPEND ITAB_TCURR.
ENDSELECT.
LOOP AT ITAB_TCURR.
DELETE FROM TCURR <--- delete them
WHERE KURST = ITAB_TCURR-KURST
AND FCURR = ITAB_TCURR-FCURR
AND TCURR = ITAB_TCURR-TCURR
AND GDATU = ITAB_TCURR-GDATU.
ENDLOOP.
LOOP AT E_T_TCURR.
MOVE-CORRESPONDING E_T_TCURR TO TCURR. <--- fill TCURR again
INSERT TCURR.
ENDLOOP. -
Display Records Updated While Updating Database
In my web application, an admin is allowed to login and do a mass update to a table where it could update several thousand records. These records are for when new fields are created and default values are created so that applications for older users are still able to process. Basically all I'm trying to do is display what the current status is of a database update in the form "xxx of yyyyy records updated."
The way it works is that the admin comes to the page, specifies the field to be inserted, and hits the update button. The application goes off to this action class which processes all the updates through JDBC. Once the updates are completed, the JSP is rendered saying how many records were updated. The problem is that this processing can take 15 minutes or more sometimes and we would like to be able to see the progress as it goes. It would be ideal to have it update after every 50 or 100 records are processed.
How can I do this while the action class is still executing?Carpediem104 wrote:
I had read that thread and unfortunately, it wasn't entirely helpful. We don't use Struts and our action classes work a little bit differently. ... in that it takes only 2 parameters: HttpServletRequest and HttpServletResponse; there are no From objects passed in or action mappingsThen adapt. No one knows your system but you. There are examples in that page, and several links to other pages with several more examples.
Carpediem104 wrote:
. We also avoid using session variables, iframes, and beans. It will be hard to do without session variables.. And why no beans? Are you just talking EJBs or JavaBeans in general?
Carpediem104 wrote:
Perhaps it is still usable and I'm missing something, but I'm leaning more towards using AJAX to execute the action and then using request.setAttribute() every time the transaction is committed. Then I can use javascript to update the HTML.
But a request attribute can store information from one request to the next, which you will need to do to get the working progress.
One idea, provide a hook to the running process in ServletContext with unique keys to identify which process belongs to which update view. Then store the unique key in a cookie or as a URL parameter. Each submit (AJAX or not) use the ID to get the process out of the ServletContext and read the progress from there.
How is this better than a session? It isn't just more work.
The other option would be to use Pushlets. Pushlets use a servlet that never closes the connection to the client to continuously feed data to it. This way, your application would start a process and for doing the work and a Pushlet for displaying the progress. You pass a reference of the Pushlet to the worker and the worker regularly informs the Pushlet of its progress. The Pushlet then sends a javascript line to the client updating the display with new information.
If you Google Pushlets you will learn how to use them.
Edited by: Carpediem104 on Jul 29, 2008 9:19 AM
Maybe you are looking for
-
How to Add the Dynamic List Wizard Form to a Spry Accordion Panel?
Is it possible to add ADDT Dynamic Forms to the Spry Widgets? - I have been trying to add the Dynamic List Wizard to my existing Accordion but everytime I do, the Accordion turns into plain text? -Also, If it is possible then how do I target the Pane
-
Hi, I am currently new to ASP.NET & VB.NET. I am attrempting to use the following <%# DateTime.Parse(StatusCurrent.FieldValue("failed", Container)).ToString("D") %> to add a date field to a page. If I add the dynamic text with no formatting a NULL fi
-
Some of the the type layers in this document were rasterized
We have Adobe Photoshop CS4 Extended. Recently one of the documents we created came up with this error: Some of the the type layers in this document were rasterized because an error prevented them from being read. We aren't using any fancy font in t
-
I downloaded iTunes 7 today and connected my nano. It said I should update the OS so I downloaded and installed the Operating System update. After doing so the nano restarted itself and when it reconnected itself I received the following message. "it
-
Hi everyone Ive set up a partition for boot camp but after I restart my computer I get "1. 2. Select CD-Rom Boot Type:_" My keyboard wont work though, so I cant get past this part. Anyone got any ideas for a fix or anyone know why this is happening