LSMW Standard/Batch Input Method
Hi,
I am trying to learn LSMW. Can anybody pls tell me what is the meaning of Object & Method in Standard Input method in LSMW? I am having one example of LSMW for updating vendor master. The Object & Method used in this document are 0040 & 0002 respectively. How do I get these nos. like 0040 for vendor master. can you pls explain the meaning of this.
Thanks & Regards
Swati Ghadge.
Moderator Message: These are not training forums. Take a classroom course if you need help.
Edited by: kishan P on Oct 12, 2010 2:52 PM
It is quite simple. Header structure reproduces the contents of fields in table STXH.
Find out which is the object and the text id.
How? Create the text manually in the online transaction and check on table STXH what is the object and text id created by using date and user name.
Then you can go on by following the steps on this blog
http://scn.sap.com/community/erp/logistics-mm/blog/2012/12/28/lsmw-long-text-load-by-direct-input-method
Similar Messages
-
PO creation using LSMW through batch input method
Hi, I am new to working with LSMW and i have completed a project for creating purchase orders using the direct data input method. I need to do the same using batch input method, however in the maintain structure relationship step, it is only allowing me to assign one structure to the recording that i have done, however in po creation we need separate (nested) structure for header and line item, could anybody help me past this please?
Hi Rudra!
OK, now you just know, why you have only one line, not multiple PO item lines. To get a dynamic number of items, you need a complex program - just like standard direct input.
If you need a field, which is not part of this program, don't try to write your own program for batch input - it's just to much work before you have a good result.
You can use Bapi method instead with BAPI_PO_CREATE1. This can handle a lot of fields and there is some documentation available how to fill the Bapi.
If this looks to complicated in the first moment, think about creation of POs via direct input and a small batch recording to change your additional field(s) afterwards. (You can select EKPO table to generate list of 'wrong' migrated orders for input in LSMW.) Use field 'Item' in the bottom of ME22 to position your desired line in first screen line, just change one PO-line after one other (every time a 'save' -> no problem with different number of lines / PO).
Regards,
Christian -
LSMW Standard Batch Input Program
Hi,
I have one requirement on creating BOM.
I have to upload data from legacy system to SAP for T-Code ' CS01'
I have to use the Standard Batch input Program 'RCSBI010'.
I have source structure and Target Structure.
In Source structure i have Header and item data.
In Header i have 11 fields and in Item i have 23 fields.
In Target Structure i have upto 130 fields.
In the Standard program who have 4 structures and each structure have fields.
So How many fields i have to map with Standard structure. and in my source structure i dont have the fields like T-code, session name, user name,and xkeep.
So how to pass these fields (T-code, session name, user name,and xkeep) to the standard structure. and is it necessary to pass these fields to the standard batch input program.
Advance thanks,
Kumar AHi,
Hi,
Record type 0: one session record (structure BGR00) per session..
The session header contains general administrative data on the batch input session to be created. All records that follow the header in the sequential file are assigned to the current session, until the next header occurs in the file.
Record type 1: one session record (structure BICSK) for each BOM
The BOM header record contains the transaction code (for example, CS01 Create material BOM) and the header data
Record type 2: one item record (structure BICSP) per item
All BOM item records are assigned to the preceding BOM header, until the next BOM header or session header occurs in the sequential file
Record type 3: one sub-item record (structure BICSU) per sub-item
All BOM sub-item records are assigned to the preceding BOM item, until the next item header, BOM header, or session header occurs in the sequential file
and x-line which will be used as index while retreiveing
and the file to be imported should contain values in this format
BGR00 data will be in first line (0-stype)
BICSK in second line (1 stype)
BICSP in 3rd line
BICSU in 4th line
e.g:
0 sessname 800
1 CS01 123
2 values req
3 values req
Hope this gives u some idea...
<b>Reward points</b>
Regards -
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 -
Customer Master using LSMW standard batch
Hi All,
I am uploading the customer master data using LSMW standard batch input method. When i process the session created using this i am getting an error that input data that "No batch input data for screen SAPMF02D 0310". This is happening when it reachs the sales area screen. All the remaining screens are processed correctly.
Please help me in this regards,
Thanks & Regards,
SudheeraHi,
Refer
https://forums.sdn.sap.com/click.jspa?searchID=9408057&messageID=4828875
Regards
Kiran Sure -
LSMW Routing- Standard Batch Input BDC_INSERT, screen .&. is invalid
Hello All,
I am preparing LSMW for routing upload along with inspection characteristics with standard batch input method.
At the time of 'Create batch input session' I am facing an error 'BDC_INSERT, screen .&. is invalid'.
I have checked the forums for the same issue but it wasn't fruitful. However I cam across one thread which mentions to ensures the data in falt file, which I did checke and confirmed.
What could be the reason?
Awaiting your replies...
MimiriHello all.
I was facing the same problem.
To solve,I filled BI001-TCODE with 'QP01' (constant) in Maintain Field Mapping and Conversion Rules.
I know, this is a old question, but when I was searching I didn't find anything with this.
Regards.
Cássio Oliveira -
LSMW Routing Standard Batch Input Create Batch Input Session
Hello All,
I am using LSMW for routing upload, using standard batch input method. Program RCPTRA01.
I am facing this quite peculiar problem.
I have tried first with separate text file for every source structure. Everything works fine till convert data step.
But when I go for 'Create Batch Input Session' it creates session for tables MAPL, PLKO, PLPO, PLMZ, PLMK. Other tables remain balnk (EAPL, PLFL, PLAB, PLFH, PLPH, PLFT, PLFV, PLWP). Because of this while running the session only the header and material assignment to task list get uploaded. Rest data, operation, MIC, component allocation do not get uploaded.
I have also tried for one text file for multiple structure. In that I face porblem for BDC creation. While debugging I faced th same thing in this also.
Could anyone please explain me the soution for this? Do I need to amend any progrm fior this?
Expecting lightning fast replies from Gurus....
MimiriHello All,
I am awaiting your reply on this.......
Mimiri -
Difference between batch input method and direct input method in LSMW.
Hi all,
what is difference between batch input method and direct input method in LSMW. are they same?if differences are there tell me with details?Hi,
Here are few differences bw Batch Input and Direct Inputs methods.
Batch Input: Uses classical BDC approach, but doesn't required an ABAP program to be written to format the BDC DATA. The user has to format the data using predefined structures and store it in a flat file. Yet it is a slower updation method.
Direct Input: Works similar to Batch Input programs. The difference is, instead of processing screens they validate fields and directly load the data into tables using standard function modules. Much faster and suits for large volume of data.
Thanks.
DhanaLakshmi M S -
Criteria to use batch input method in lsmw
in lsmw we hav batch input method,direct input,idocs,bapis,what is the criteria to use them?
Decide whether it makes sense to use this tool with respect to the data volume to be transferred. It may be easier to transfer very small data volumes into the SAP system manually. In the case of a very large data volume, batch input or IDoc techniques may cause extremely long runtimes. A rough landmark for estimating the required time: 10 000 records per hour where this value may vary considerably depending on the hardware available.
Identify the transaction(s) in the SAP system via which you want to import the data into your SAP system. It may be relevant whether you need the data for statistical analysis or for further processing in the system.
Run the relevant transaction in the SAP system manually with test data from the legacy system and see which fields must be filled. There may be required fields that do not correspond to data fields in the legacy system. In such a case, you should better assign a fixed value or establish an optional field for data transfer.
santhosh -
Difference between batch input method and batch input recording in LSMW?
hi,
plz tell me the difference between batch input method and batch input recording in LSMW?
thanks & regards
RubanHi Ruban,
The main difference between the two is in lsmw we can view the code status at any time just by coming to prvious steps, but whereas in batch input method unless the recording is finished we cant view the code.
second diff is tht we need to do lot of coding in batch inptu whereas here in lsmw we need not do much coding and mapping to data.
third diff is that batch input is both inbound and outbound where as lsmw is only inbound.
hope u got the differences.....
Regards,
sana M... -
Standard Batch Input Programs for Profit Center Creation
Dear all;
I am in 4.0B version that doesnt have BAPI_PROFITCENTER_CREATE. Writing a BDC for this would be complicated as my data is compiled in a different way.
Are there any Standard Batch Input Programs for Profit Center Creation ?Hi Srivathsan,
You can make use of Standard BAPI by LSMW.
Business Object BUS1116 Profit Center Group
Method CREATE Create
Message Type PROFITCENTERGROUP_CREATE
Basic Type PROFITCENTERGROUP_CREATE
Regards,
Sivaram. -
Hi Sap Gurus,
I just want to know, can we upload mass data to product catalog using standard batch input sessions ie using tcode-sm35.if yes then how?
Please help me.
I will definitely reward points..
Thanks in advance.
Regards,
ShwetaHi Srivathsan,
You can make use of Standard BAPI by LSMW.
Business Object BUS1116 Profit Center Group
Method CREATE Create
Message Type PROFITCENTERGROUP_CREATE
Basic Type PROFITCENTERGROUP_CREATE
Regards,
Sivaram. -
Hi wizards,
please help me for the following problem:
I have created a parent recording for MATERIAL MASTER in LSMW batch input method by selecting all of the fields that may be required for different material types. Now I want to edit the recording and create new recordings from the parent one for specific material types. For this, i have made a copy of the same recording with a different name in the same project. In the copied recording, i have kept only the screen fields which i require for a particular material type and deleted the rest. I have created new structure relationships and field mapping rules for the new recording. Now when i upload the data, system is behaving normally upto the DISPLAY READ DATA stage, but gives a short dump on CONVERT DATA. On inspection i have found that during FIELD MAPPING, the _source field mapping is still showing mapping with the source structure of the parent recording for fields which have mapping rule as "Transfer" but it is picking up the new source structure for those source fields for which mapping rule is "Constant"_.
Kindly help me solve this problem as i do not want to create a separate recording for each material type. Can creating a new subproject help in this regard?
Thanks and regards
AbhikHi Harris,
could you please let me know how to use the two methods you have mentioned? If you have any docs regarding the same then could you please mail it to me at [email protected]? Or else if you have any link for the same then please do send it to me.
However, I would like to know that if separate recording is required for every material type, then why the "COPY RECORDING" and "DELETE SCREENFIELD" utilities have been provided.
Thanks and regards
Abhik -
Standard batch input program for Routing
Hi,
Please inform me if there is any standard batch input program for uploading routing data.
Regards
RamakanthHi
Pls check RCPTRA00 -
Physical inventory With the help of Batch input method
Dear all;
Can anyone tell me the procedure of Physical inventory procedure with batch input method ?
kindly Give me the step .
Thanking you;
Regarsds;
Joydeep mukherjeeHi,
Go through this following code,
selection-screen begin of block B2 with frame title TEXT-005.
selection-screen begin of line.
parameters: P_BIRPT type C radiobutton group RAD1 default 'X' user-command UCOMM.
selection-screen comment 3(20) TEXT-002 for field P_BIRPT.
selection-screen end of line.
selection-screen begin of line.
parameters: P_COLRPT type C radiobutton group RAD1.
selection-screen comment 3(20) TEXT-003 for field P_COLRPT.
selection-screen end of line.
selection-screen begin of line.
parameters: P_PAYRPT type C radiobutton group RAD1.
selection-screen comment 3(20) TEXT-004 for field P_PAYRPT.
selection-screen end of line.
selection-screen end of block B2.
selection-screen begin of block B1 with frame title TEXT-001.
select-options: SO_KTOKD for KNA1-KTOKD modif id M4,
SO_BLART for BSIS-BLART modif id M2.
parameters: P_PAID type ZCLEAR modif id M3 as listbox visible length 20.
selection-screen end of block B1.
at selection-screen output.
loop at screen.
if P_BIRPT eq 'X'.
if SCREEN-GROUP1 = 'M2' or SCREEN-GROUP1 = 'M3' .
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '0'.
modify screen.
endif.
elseif P_COLRPT eq 'X'.
if SCREEN-GROUP1 = 'M3'.
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '0'.
modify screen.
endif.
elseif P_PAYRPT eq 'X'.
if SCREEN-GROUP1 = 'M2'.
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '0'.
modify screen.
endif.
if SCREEN-GROUP1 = 'M4'.
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '0'.
modify screen.
endif.
endif.
endloop.
Thanks
Anil D
Maybe you are looking for
-
DataSource FI_AR_4
Hi, Based on SAP Note 551044, we always need to first initialize the delta for FI_GL_4. My question is, if I need to extract data based on FI_AR_4 ONLY, do I still need to init FI_GL_4 first? or I can initialize FI_AR_4 directly without considering G
-
Using iPhoto '09/8.1.2 on a MacBookPro, with 40,000+ photo library, having the (apparently common) problem of CD burn errors (with Toast and with Disk Utility) when 2 photos end up having the same underlying filename assigned by the camera. To try t
-
New Power BI features available for preview
Today we are previewing new features for Power BI, our self-service business intelligence solution designed for everyone. Power BI reduces the barriers to deploying a business intelligence environment to share and collaborate on data and analytics fr
-
Error -: AIP-51000: General Packaging Error (10g)
Hi All, We are getting a general packaging error. Any idea what can be wrong? Thanks in advance. Suresh Description: General Packaging Error StackTrace: Error -: AIP-51000: General Packaging Error at oracle.tip.adapter.b2b.packaging.MimePackagin
-
Hi, when am trying to edit form it gives following error. ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at "SYS.OWA" Thank you null