Changes in standard input/direct input-lsmw
hi,
lsmw uses standard program to copy customer data or vendor data, but there might be a case when the tables..i.e. vendor and customer data are not same,
some field might be added and some might be deleted..
how do v go about that...
do v need to make some changes to the standard program....
if so, then what are the changes that need to be made...
also is there anyother method to migrate data.
thanx in advance
generally when some fields are added to the standard tables, they are appended at the end. so basically it will not affect the standard program flow.
If you are facing any specific problem, please put it down.
Similar Messages
-
LSMW for equipment creation-Standard Batch/Direct Input
Hi,
We developed an LSMW with standard batch / direct input method for creating equipment masters.
We used Object =0400 ( equipment ) and method = 0001 ( batch input)
We maintained source structures and source fileds. In the source field , we maintained only those fields that we need from table IBIPEQUI but in the order given in this structure.
Also we maintained filed mapping and field convertion rules for the above source fields.
When we run LSMW step - Display converted data , we see that
Transactions Read: 1
Records Read: 1
Transactions Written: 0
Records Written: 0
Not sure what could have gone wrong?
Please provide some clues to the following questions.
1) Should the source structure be same as fields from stuc. IBIPEQUI and should it include all the fields in the source structure?
2) Is field mapping required or not ?
3) We are getting an error - transaction is not supported in direct input mode.
Thanks in advance
Rgds,
Rajesh1. Source fields are( same as IBIPEQUI structure ; the tab delimited file matches with these fields)
TCODE C(020) Transaction Code
RECORDNAME C(008) Record name
EQUNR C(018) Equipment
DATSL C(008) Valid On
EQTYP C(001) Equipment category
EQKTX C(040) EQKTX
BEGRU C(004) Authorization Group
EQART C(010) Technical obj. type
GROES C(018) Size/dimensions
INVNR C(025) Inventory number
BRGEW C(017) Gross Weight
GEWEI C(003) Weight unit
ELIEF C(010) Vendor
ANSDT C(008)
ANSWT C(017) Acquisition Value
WAERS C(005) Currency
HERST C(030) Manufacturer
HERLD C(003) Country of manufact.
BAUJJ C(004) Construction year
BAUMM C(002) Construction month
TYPBZ C(020) Model number
SERGE C(030) ManufSerialNumber
MAPAR C(030) ManufactPartNo.
GERNR C(018) Serial number
GWLEN C(008) Warranty end date
KUND1 C(010) Customer
KUND2 C(010) End customer
KUND3 C(010) Operator
SWERK C(004) Maintenance plant
STORT C(010) Location
MSGRP C(008) MSGRP
BEBER C(003) Plant section
ARBPL C(008) Work center
ABCKZ C(001) ABC indicator
EQFNR C(030) Sort field
BUKRS C(004) Company Code
ANLNR C(012) Asset Number
ANLUN C(004) ANLUN
GSBER C(004) Business Area
KOSTL C(010) Cost Center
PROID C(024) PROID
DAUFN C(012) Standing order
AUFNR C(012) Order
TIDNR C(025) Technical IdentNo.
SUBMT C(018) Construction type
HEQUI C(018) Superord. Equipment
HEQNR C(004) Position
EINZL C(001) Single installation
IWERK C(004) Planning plant
INGRP C(003) Planner group
GEWRK C(008) Main work center
WERGW C(004) Plant for WorkCenter
RBNR C(009) Catalog profile
TPLNR C(030) Functional Location
DISMANTLE C(001) DismIndic.
VKORG C(004) Sales Organization
VTWEG C(002) Distribution Channel
SPART C(002) Division
MATNR C(018) Material
SERNR C(018) BOM explosion number
WERK C(004) WERK
LAGER C(004) LAGER
CHARGE C(010) CHARGE
KUNDE C(010)
KZKBL C(001) Load records
PLANV C(003) PLANV
FGRU1 C(004) FGRU1
FGRU2 C(004) FGRU2
STEUF C(004) Control key
STEUF_REF C(001) STEUF_REF
KTSCH C(007) Standard text key
KTSCH_REF C(001) Std text referenced
EWFORM C(006) EWFORM
EWFORM_REF C(001) EWFORM_REF
BZOFFB C(002) Ref. date for start
BZOFFB_REF C(001) BZOFFB_REF
OFFSTB C(007) Offset to start
EHOFFB C(003) Unit
OFFSTB_REF C(001) OFFSTB_REF
BZOFFE C(002) Ref. date for finish
BZOFFE_REF C(001) BZOFFE_REF
OFFSTE C(007) Offset to finish
EHOFFE C(003) Unit
OFFSTE_REF C(001) OFFSTE_REF
WARPL C(012) Maintenance Plan
IMRC_POINT C(012) Measuring point
INDAT C(008) Inverse date
INTIM C(006) Processing time OC Workbe
INBDT C(008) Start-up date
GWLDT C(008) Guarantee
AULDT C(008) Delivery date
LIZNR C(020) License number
MGANR C(020) Master warranty
REFMA C(018) REFMA
VKBUR C(004) Sales Office
VKGRP C(003) Sales Group
WARR_INBD C(001) Inbound warranty
WAGET C(001) Warranty inheritance poss
GAERB C(001) Indicator: Pass on warran
ACT_CHANGE_AA C(001) ACT_CHANGE_AA
STRNO C(040) STRNO
DATLWB C(008) Date Last Goods Movmnt
UII C(072) UII
IUID_TYPE C(010) IUID Type
UII_PLANT C(004) Plant Responsible for UII
2, source structure is assigned to target structure IBIPEQUI
3. In the assign files step - all settings given above are correctly maintained.
4. Field mapping
TCODE Transaction Code
Rule : Default Settings
Code: IBIPEQUI-TCODE = 'IE01'.
RECORDNAME IBIP: Name of the Data Transfer Record
Rule : Default Settings
Code: IBIPEQUI-RECORDNAME = 'IBIPEQUI'.
EQUNR Equipment Number
Source: ZIE01_002_SOURCE-EQUNR (Equipment)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-EQUNR is initial.
IBIPEQUI-EQUNR = ZIE01_002_SOURCE-EQUNR.
endif.
DATSL Date valid from
Source: ZIE01_002_SOURCE-DATSL (Valid On)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-DATSL is initial.
IBIPEQUI-DATSL = ZIE01_002_SOURCE-DATSL.
endif.
EQTYP Equipment category
Source: ZIE01_002_SOURCE-EQTYP (Equipment category)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-EQTYP is initial.
IBIPEQUI-EQTYP = ZIE01_002_SOURCE-EQTYP.
endif
When I read data with 1 record uploaded ( in the assign fields step , I did not choose "fields names at start of file" and also saved the file with tab delimited text format without field names), it shows as
Transactions Read: 2
Records Read: 2
Transactions Written: 2
Records Written: 2
I uploaded only one record but it reads as 2 records and can not figure out why 2 records?
Also when I checked display converted data , it shows 2 records .
First record shows
TCODE Transaction Code IE01
RECORDNAME IBIP: Name of the Data Transfer Record IBIPEQUI
EQUNR Equipment Number
DATSL Date valid from 05072010
EQTYP Equipment category H
EQKTX Description of technical object PNEUMATIC PIPE BENDER
BEGRU Technical object authorization group
EQART Type of Technical Object MECH-PRESS
GROES Size/dimension 1000X500X1500MM
INVNR Inventory number
BRGEW Gross Weight : IBIP Character Structure 50
GEWEI Weight Unit KG
ELIEF Vendor number
ANSDT Acquisition date
ANSWT Acquisition Value: IBIP Character Structure
All the fields following this , are blank.
2nd record shows
TCODE Transaction Code IE01
RECORDNAME IBIP: Name of the Data Transfer Record IBIPEQUI
EQUNR Equipment Number 2009
DATSL Date valid from
EQTYP Equipment category S
EQKTX Description of technical object 1006324
BEGRU Technical object authorization group
EQART Type of Technical Object
GROES Size/dimension 20100406
uploaded values are jumbled in 1st and 2nd record.
Hope to receive your valuable ideas for finding out the reason and corrective action required.
Rgds,
Rajesh
I
Edited by: Rajesh63 on Jul 6, 2010 10:37 PM -
LSMW - Standard Batch/Direct Input Method.
Hi all,
I was trying to create the LSMW for MM01 using standard Batch/Direct Input Method. While I selected object as "0020- Material Master" I am not able to get the Method for Batch Input. Is there any we can create method for batch input or we have to use only direct input?You have to use direct input method RMDATIND object 0020 to create materials. You may find batch input very complicated to create materials.
-
LSMW: standard batch direct input for create document & document str
hello expert .
Is there any standard batch direct input for create document (tcode: cv01n ) & document structure (cv11) using lsmw.
regards
srinivasHi Srnivas,
I am not able to find direct input progarm for this, but there is one standard bapi available for this with name BAPI_DOCUMENT_CREATE you can use this.
Regards
Dhirendra -
Edit Equipment TL using LSMW Standard Batch/Direct Method
Hello all
I have created a set of Equipment TL for around 600+ Equipments uwing LSMW method of Standard Batch/ Direct Input method (0470). While creating I found that it creates only the header of the TL and not the individual operations and Components at item level. Now that the TL have been generated I am trying to chnage the TL and insert the Operations/Components gainst respective Group and counter no, but the Change mode(0002) for Direct Input method (0470) is not available.
How can I achieve this..Tried searching some of the posts in this forum but they dont seem to be an answer for my requirement.
I do not want to go thru LSMW recording method.
Please assit with any FM or BAPI to achieve the above requirements.
Thanks
MuradIf you want to load the task list, it obvious to have three files : Header, Operations and components. - You have to maintain three strcutures for each file and you need to map three of them with some common key incase if you have multiple operations.
Goodluck
Mahee -
How to change height of Input/output field in dialog program
How to change height of Input/output field in dialog program.
I want to big message text box like e-mail message box.
so could anybody help me on this please
Thanks
BasuHi,
This is not possible directly.Place the icon button in the table field.when u click on that button a popup window will appear in that window place the text editor there u can write text and u can save it ok..
Award points if helpful.
Kiran Kumar.G.A -
Java debugging - problems with standard input
Hi
I hope somebody can help me with this problem.
I'm developing a Java app that reads from the standard input. I use System.in.read() to do that. When I debug it, I use the Standard I/O window instead of the Run Log window to pass in values, but nothing happens (i.e. the line following the read() is never reached). I also tried to run the app and then attach the debugger to use the Run Log window as standard input, with the same result. If I add a breakpoint before the call to read(), the debugger pauses the execution, so I suppose the breakpoints are OK.
In the executable Info window, Debugging tab, I use the pseudo terminal with the Java debugger.
So my question is: how can I enter values from the standard input in debugging mode?I believe that you are seeing these problems because we have found the
current versions of RMI found in the JDK to be inherently unscalable -- we
do not listen for them. As you noticed, we recommend that you use our
packages for now, and then do the simple change that you found if you decide
that you do not like WLS. (If you do decide that you do not like us, please
definitely let us know why you chose the way you did!)
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
"Tim Dawson" <[email protected]> wrote in message
news:397b8cc2$[email protected]..
We're developing a J2EE application on NT using WLS 5.1, SP3, but we don't
want to be tied to any particular J2EE server, so we're making sure that
none of our code is weblogic specific.
In keeping with this philosophy, I created an RMI service that used the
standard java.rmi.* imports instead of weblogic.rmi.* and used thestandard
RMIC compiler rather than the weblogic.rmic compiler.
Unfortunately, I couldn't get the system to work. I kept getting
"java.rmi.MarshalException: Error marshaling transport header; nested
exception is: java.io.EOFException" whenever I'd call Naming.lookup().
Of course, when I did the search & replace with java.rmi.* with
weblogic.rmi.*, and switched from the standard rmic to weblogic.rmic,
everything started working just fine. This is the ONLY change I made!
Has anyone else run into similar problems?
Tim Dawson
Sr. Software Architect
is.com -
Redirect standard input from file to terminal
Is there any way to redirect standard input from file to terminal within the same program? That is, get data from a file then redirect standard input to make it interactive with the terminal?
BIJ001 wrote:
No, the stdin, stderr, stdout, and working directory are environmental variables that are set
when your process is launched, and they cannot be changed from within your java application.Can't they?
//java.lang.System
public static void setIn(InputStream in)
// Reassigns the "standard" input stream.
public static void setOut(PrintStream out)
// Reassigns the "standard" output stream.
public static void setErr(PrintStream err)
// Reassigns the "standard" error output stream.
Since:
JDK1.1
Duh, you're right. I researched this looking for a way to change the working directory and found that you could not change that after launch - for some reason I remembered it wrong as being the stderr, stdin, and stdout in addition. -
How to STOP OS X from automatically changing between language input methods
I want to know if there is a way in OS X Leopard to stop the system from automatically changing the language input method. I use English and Japanese on my computer, but this would apply to anyone using more than one input method.
For example, when I click on a Japanese-language file, the system automatically changes input to Kotoeri (the Japanese-language input method). When I then click on an English-language file it usually, but not always, changes back to English input. But I almost never want to TYPE in Japanese. I just need to be able to read Japanese and to cut and paste from Japanese language files. It is very annoying when I start typing in an English-language file and find the input method has been changed to kotoeri without me realizing it—everything comes out in meaningless Japanese. When I want to type in Japanese, I want to manually change to the Japanese input system. That is, I want English to always be the default input method even if I am manipulating Japanese-language files.
So, I’m wondering if there’s a way to set the computer so that it never AUTOMATICALLY switches between the input methods. I want to be able to switch only manually. In the old days of System 7, 8, and 9, there was a third-party control panel you could get that would do this (I think it was called Stay There!) and I don't remember this being a problem in Tiger or earlier versions of OS X. Is anyone aware of any way to do this in Leopard?
Thank you!
ColinWell, I do have it set that way, and I can look up there to see where I am, but in the work I do time is critical and I move back and forth between the two languages frequently. It is really a pain and a waste of time to have to look and make a change that should be unnecessary. The problem is not so much that I don't know where I am. It's that I don't want to ever have to think I MIGHT be in anything but English input unless I specifically want to be. In other words, I need to be able to forget about this problem even being a possibility.
Message was edited by: Colin Talcroft -
Choosing Unique Values Generically and add respective data in Standard Input
Hi,
I want to send the unique data by generic checking and adding respective other data in case of Standard (X12) Input 850 Message.
My Input :
ISA*00* 00 *ZZ*THEM *ZZ*US 991221*1226*U*00401*000000025*0*T
GS*PO*THEM*US*19991221*1226*1*X*004010
ST*850*0001
BEG*00*NE*3859199838**950727***IBM
PER*AA*Andrew Carlson*TE*(708) 555-2930
DTM*002*970523
PO1*1*93*BX*145.39**CB*KOW-20392-10
PID*F****Uninterruptible Power System
PER*AA*Camilla Anderson*TE*(708) 555-2011
PO1*2*25*EA*35.68**CB*ABX-2001
PID*F****High Volume Printer Stand
PER*AA*Miranda Cappelan*TE*(708) 555-1111
PO1*3*4*PC*2002.91**CB*ABX-2001
PID*F****Electronics Cabinet Package (56" High)
PO1*1*2*BX*145.39**CB*KOW-20392-10
PID*F****Uninterruptible Power System
PER*AA*Camilla Anderson*TE*(708) 555-2011
CTT*3
SE*14*0001
GE*1*1
IEA*1*000000025
My Expected Output :
<OrderFile>
<Order>
<Header>
<PODate>950727</PODate>
<PONumber>3859199838</PONumber>
</Header>
<LineItems>
<PONumber>KOW-20392-10</PONumber>
<Quantity>95</Quantity>
</LineItems>
<LineItems>
<PONumber>ABX-2001</PONumber>
<Quantity>29</Quantity>
</LineItems>
</Order>
</OrderFile>
Need mapping link / functoids / XSLT code for this standard input 850 message.
Need Urgently.
Thanks & Regards
Thanks & Best Regards, SiddharthHi John,
Actually I need to
put a unique check on PO1:07 element and need to add the respective PO1:02 element.
1st PO1:07 = KOW-20392-10
1st PO1:02 = 93
2nd PO1:07 = ABX-2001
2nd PO1:02 = 25
3rd PO1:07 = ABX-2001
3rd PO1:02 = 4
4th PO1:07 = KOW-20392-10
4th PO1:02 = 2
Then as PO1:07 for 1st and 4th are same, then in the output there should be one <LineItems> with <PONumber> as KOW-20392-10 and <Quantity> should be added as 93+2 = 95
Similarly as PO1:07 for 2nd and 3rd are same, then in the output there should be another <LineItems> with <PONumber> as ABX-2001 and <Quantity> should be added as 25+4 = 29
I want to use the XSLT code but as input is X12 850 standard structure I am not able use the XSLT properly.
It would be great if you can check the X12 4010 850 message standard structure and let us know how to implement this.
Thanks & Best Regards
Thanks & Best Regards, Siddharth -
Standard Input Help on a table column.
Hello,
Requirement is to provide a Standard Input Help on a Table Column in Web UI. The Context node is a Value node and that column should be in editable mode.
And how can I get standard search in Web UI that is available in GUI for searching the Transaction No. in T- Code CRMD_ORDER.
Pl. help.
Thanks & Regards
AnkitHi Ankit,
If you are asking about DDIC search help, then you need to use method GETV_XYZ of the context node attribute.
Have a look on below written code:
data:
ls_map type IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING,
lt_inmap type IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB,
lt_outmap type IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB.
ls_map-context_attr = 'struct.countryorigin'.
ls_map-f4_attr = 'LAND1'. ( Search help Parameter, in your case it will be Transcation no.)
append ls_map to: lt_inmap, lt_outmap.
create object rv_valuehelp_descriptor type
CL_BSP_WD_VALUEHELP_F4DESCR
exporting
iv_help_id = 'H_T005_LAND'
iv_help_id_kind = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_NAME
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
Regards,
Saurabh -
thanks
One suggestion is to write a batch (.bat) file that will call your executable. The batch file can contain all the standard inputs necessary to run the executable. Then, in LabVIEW, you can call the .bat file using the System Exec.vi.
As far as your second question, there is no slick way to do this LabVIEW. You would probably have to call Window API functions using the Call Library Function utility. There is a set of VI's that call some of the standard API functions but I don't think they have what you want.
http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&74DDE683A1AFF6988625683A000C0D73&cat=034E59A8530E09DF862568900018707A
Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect -
Unix standard input/output
My issue is: how can I read from Unix standard input in Java when it is piped from another Unix program. For instance:
`cat foo.txt | java MyProgram ?????' . Should I follow this way or should I do in another way?
Thanks
puccio.not quite what you are looking for, but im thinking this will help http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
link supplied by NtQuest (many thanks)
mebby we should get a handy links page, i know of several that i keep posting and never remember to keep, so i gotta keep looking it up -
System Preferences Changing Without User Input
I have one user who has had random system preferences change without her input.
She is a network user connecting to a Lion 10.7.5 Server via OD.
Her desktop is Lion - 10.7.4
Example: Today her setting for Security and Privacy to require a password on screen saver wake-up was changed/no longer checked.
Her setting to be able to use a right click on her mouse changed 3x last week without input.
Any ideas?If you are asking if the user is defined more than once, the answer is no. Just one entry.
-
My whishlist has changed without my input
in itunes i discovered that my whishlist has changed without my input. all my old whishlist items are gone and two new, unknown to me have been added. has anyone had this problem?
joanfromgreenbrae wrote:
My website is joanhauck.com.
Joan ~ Just a tip: Including the prefix will make your website clickable:
http://joanhauck.com
joanfromgreenbrae wrote:
Also, I would have replied to Old Toad, who commented on my original question, but I can't figure out how to do it, without starting an original discussion. Can you also explain this process? Thanks
Make sure you're logged in to the Support Communities and display the thread you want to reply to. Then locate the particular post to reply to and click the Reply link:
...And there are some tutorials HERE.
Maybe you are looking for
-
I'm looking for a new small, efficient media player.
Hi there. The background that will give you insight into my situation but doesn't need to be read I come from a very cushioned past media-wise. When I really started to get into listening to music I was still using Windows. It was Winamp first, which
-
Why is iphoto having trouble with rotating photos all of a sudden?
i've been using iphoto for a few years. suddenly it un-rotated all of my auto-rotated photos (which screwed up all of my face tags) and now when i upload new photos, if they auto-rotate during the upload they appear in the preview of a whole event, b
-
How to uninstall client software(oracle)
windows version 10.2.0.3 does OUI will removes completely or we need to remove from registry as well. if it is from registry as well please let me know step by step................. please provide me doc with screen shots if you have any thanks for h
-
Query for Customer Balances and Corressponding Incoming Payments
Hi all, How to get the account balance of a particular customer with corressponding incoming payments. Eg: Suppose one Invoice having 5000.00 for which i got 3 incoming payments of 1000.00 2000.00 and 500.00, now i need to give a report as CardCode |
-
Hello. I may have made a bonehead move. In an attempt to increase efficiency and speed in LR and PS, I purged the cache, which I know is wise to do occasionally. I thought it would make sense to locate the cache on the same drive as my photos. I use