Lsmw for routing
I am trying to upload routing using LSMW.
which is the best way to use batch input or direct input. I dont have a choice fof using badis or BDC
can we upload routing without writing any code in LSMW.
so i created three files
header
operation
component allocation.
what should be the link between these three files.I did lsmw for BOM. there i ve used material number as link. bou i didnt find material number in routing lsmw. so what should be the reference.
can we take group counter number as reference.
can some one provide me the source file structures for this LSMW for routing.
thanks.
Hi,
You can use the standard LSMW for routing. As you mentioned first you upload the header and take the group no. as reference and upload the operation. and the components will be automatically assigned to the routing with the first operation.
Thanks and Regards,
Satish
Similar Messages
-
LSMW for routing with standard batch input
Hello All,
I am trying to prepare one LSMW for routing upload for PP module. Routing data contains header data, operation data and master inspection characteristics data.
I have created three source structures viz. material- task list header, task header data, operation and inspection.
Header has been assigned to target structure BIMPL- Batch Input Structure for Allocation of Mat. to Task Lists,
Task header data source structure has been assigned to BIPKO- Batch Input Structure for Task List Header,
Operation source structure has been assigned to target structure BIPPO- Batch input structure for task list operation,
and inspection source structure has been assigned to BIPMK- Inspection characteristics for batch input of task lists.
Every source structure has been identified with an identifier value of which have been set as H, I,J,K for all source structures resp.
The excel file has been prepared as follows,
H MATNR WERKS PLNNR PLNAL
H 100045 1000 50000043 1
H 100045 1000 50000043 2
I MATNR WERKS PLNNR PLNAL VALID_FROM USAGE STATUS
I 100045 1000 50000043 1 01012000 1 1
I 100045 1000 50000043 2 01012000 1 1
I have mentioned here the combination of first two structures only. But it contains data of other two source structures as well (for identifier J & K).
The data from the excel is copied to the flat file and same is specified in LSMW in the step 'Specify file'.
In 'Assign file' step the flat file is assigned to all the four source structure.
Now at the time of reading data system is throwing me an error as 'Ensure field sequence is correct for data for mutiple source structures' Message no. /SAPDMC/LSMW_OBJ_060026
How to overcome this?
<removed by moderator> answers will be greatly appreciated........
Mimiri
Edited by: Thomas Zloch on Jul 11, 2011 10:16 AMHello ,
have you maintained this check box for the key fields"
LSMW>Maintain Source fields>double click on fieds : MATNR WERKS PLNNR PLNAL
Selection Parameter for "Import/Convert Data"-->Tick this check box
regards -
Hi
I have managed to create a LSMW model, that wil create (CA01) a routing.
My problem is that components (from the BOM) is not assigned to operations.
When I display converted data, just before I create a batch input session, I can can see selected components is assigned to an operation.
When I use transaction CA03 afterwards, behind the TAB " CompAlloc" there is no materials that has been assigned to operations.
Has anyone any experience on this issue?Dear,
As said by Bala,get the help from ABAP programmer and go for a BDC for
creation of routing.
I have not worked or used LSMW for routing,so could not give a reply for your
question.
Regards
Mangal -
LSMW for Routing and Reference Operations
Hello Experts,
I am working on data transfer for Routing and Reference Operations (TCode CA01 and CA11).
I found one LSMW for Routing provided by SAP but didnt found for Reference Operations. Does anyone has more stuff related to Data transfer for Routing and Reference Operation.
Please share with me. My email id is [email protected]
Thanks in Advance..
HarkamalHi Harkamal,
Check the programs:
RCPTRA01
RCPTRA02
Go to SE38 .
GIve the name of the program.
Choose the Documentation radio-button.
Click Display.
It is pretty well documented.
Regards,
Ravi Kanth Talagana -
Problem in LSMW for Routing. Urgent
Hello all,
I am doing LSMW for Routing. The object attributes are
Object 0170 Routing
Method 0001 Batch inpu
Program name RCPTRA01
Program type B Batch input
The material number MATNR and the plant WERKS is not getting filled up in the initial screen (CA01 tcode). The fields are RC27M-MATNR and RC27M-WERKS. But all other fields are getting filled up.
I have given the structure relation to BI001, BIMPL, BIPKO, BIPFL, BIPPO.
When I checked the program RCPTRA01, I could able to find out the below code which actually passes space to the above fields.
Material
BDC_TAB-FNAM = 'RC27M-MATNR'.
BDC_TAB-FVAL = SPACE.
APPEND BDC_TAB.
CLEAR BDC_TAB.
Werk
BDC_TAB-FNAM = 'RC27M-WERKS'.
BDC_TAB-FVAL = SPACE.
APPEND BDC_TAB.
CLEAR BDC_TAB.
How to go about this.
Awaiting your reply,
Thanks in advance,
BalajiHi,
Im trying to load long text for Operations using the program RCPTRA01 however the screen sequence dosn't even enter the long text area, is there is anything specific that i would have to do to make sure the long text gets in -
Error in LSMW for routing,.
i am getting ths error whiled assigning materials to operations, for Routing PP.
You cannot edit the task list object with activity type.
i am using direct input to upload routing material assignment to operation and this is my structure.
my source structure
GRP
GRPCT
OPERAT
ALTNATIVEBOM
HEAMEA
PLANT
MATERHi,
Check in log details why it is not updated and also you can run session foreground errors only.
Regards
Md.MahaboobKhan -
Hi Experts,
I am doing LSMW for Routing using the standard BI program RCPTRA01.
The routing and the operations are created perfectly. I want to select some components and need to create the backflush. Through this standard program, i was not able to do it.
For the component allocation i am populating the structure BIPMZ, with out any success. Your valuable suggestions will be great to me.
Thanks.
SudhaHi,
Check the OSS note 872680.
and
check the following links:
https://forums.sdn.sap.com/click.jspa?searchID=3963688&messageID=3678713
http://www.sapgenie.com/saptech/lsmw.htm
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Regards -
HI,
I am USing LSMW to upload the longtext for Recipe for transaction C202.
I am using the
Object 0001 Long texts
Method 0001
to upload the long text and it shows that the data is transfered but when i see the transaction C202 i dont see the long text being updated.
i have checked that i have passed all the values like TDNAME, TObjectas Routing, TDID as PLKO corrctly.
Kindly please help why the long text is ot updated or for routing some prior steps are required.
ThanksHi SAP gurus,
I have also tried ity with the save_text FM but it doesnt work.
see the sample code below.
DATA: e_header TYPE thead,
i_header TYPE TABLE OF thead,
w_tline TYPE tline,
i_tline TYPE TABLE OF tline,
wa_tline TYPE tline.
e_header-tdobject = 'ROUTING'.
e_header-tdid = 'PLKO'.
e_header-tdspras = sy-langu.
* e_header-tdlinesize = 72.
e_header-tdname = '1002DE0015070300000003'.
wa_tline-tdformat = '*' .
APPEND wa_tline TO i_tline.
wa_tline-tdline = ' longtext test after the read statemaent'.
APPEND wa_tline TO i_tline.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = e_header
savemode_direct = 'X'
* INSERT = 'X'
TABLES
lines = i_tline
EXCEPTIONS
id = 1
language = 2
name = 3
object = 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.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
object = e_header-tdobject
name = e_header-tdname
id = e_header-tdid
language = e_header-tdspras
savemode_direct = 'X'.
COMMIT WORK AND WAIT.
* UPDATE PLKO SET TXTSP = sy-langu
* where
*PLNNR = 'DE001507' AND PLNAL = '02'.
ENDIF.
With LSMW it doesnt wrk also with ABAP code its not working . -
Hi. I am new to this lsmw stuff. i have to upload my boms and routings.i am thinking of doing lsmw for that.can u please guide me . how to do that, which is the best way to do that. can i use recording for uploading the bill of materials and routing.
can some one send me a template for uploading boms and routings.Dear,
Please refer this link,
[LSMW|lsmw for bom component]
Regards,
R.Brahmankar -
Dear ALL
Recorded an LSMW for PA40 hiring actions which includes infogroup - [ IT 0000, 0001, 0002, 0105-ZVEN (Sub type)]
This is for external vendor employees hiring actions.
While recording or manually running the process, it is working fine.
When in foregroud or background process, the alternate pernr is getting generated. Say for 1st record , pernr generated is 80023, then for next it is 80025, 80027so on.
Kindly suggest me in this issue.
Thanks
MJHi,
1-you keep no range as external and assign PERNR sequentially so that it remains same as you want it
2-kindly go through the LSMW abain to see what have you assigned in field mapping & conversion rules
3- check one record created thru LSMW and see if next (alternate number gets assigned to Ref PERNR in IT0000)
Check the alternate number to see if anything gets assigned to it.
salil -
How to create LSMW for a transaction having scroll bar
Hi all,
I am trying to create an LSMW for MP)! transaction for Uploading AMPL (Approved Manufacturer Parts list data) data.
For this LSMW is not working fine when i need to upload more number of records. Suggest me some way to solve it out,Also provide me some code samples and process if it can be handled with BDC.
Thanks,
Pavan.you can solve it with bdc:
e.g. a table control contains only 10 entries , you've to program the dynpro-change ( in german "Bildwechsel")
with sth like this:
ERG = BUZEI MOD 10 .
IF ERG = 1.
Dynpro darf nur alle 10 Zeilen prozessiert werden -
PERFORM BDC_DYNPRO USING 'SAPMF10B' '0150'. "ins
ENDIF.
add 1 to buzei.
A. -
Error in the LSMW for vendor master using standard batch/direct input
I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
Batch Input Interface for Vendors
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VNDR_CREATE_ was opened
FB104 Trans. 2 XK01 : Acct already exists; general area not being processed
FB125 ... Data in table BLFA1 cannot be processed
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE XK01
FB014 ... BLF00-LIFNR 300951
FB014 ... BLF00-BUKRS 402
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK VEND
FB017 ... Last data record ...
FB014 ... BLFA1-STYPE 2
FB014 ... BLFA1-TBNAM BLFA1
FB014 ... BLFA1-ANRED /
FB014 ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
This is because when we use XK01 to create the vendor by using thePlease check this answered link:
Re: LSMW for Vendor Master
LSMW Upload vendor master data
Edited by: Afshad Irani on May 5, 2010 12:42 PM -
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 -
Classification view creation via LSMW for Material master
Hi,
We are planning to have an LSMW for creation of material master along with classification view for configurable materials.
Though we see a flag to indicate classification view - XEIC1 Indicator: take Classification view into account
We do not see a structure where in we can pass all the characteristics and the corresponding values.
Is this something possible only with BAPIs such as -> BAPI_OBJCL_CREATE after creation of other view for that material.
Regards,
HRHi,
Thanks for the response. This is helpful.
However, we were intending to use a single LSMW for creation of all views of material master including classification view. Right now we are using Program RMDATIND as direct input method in LSMW.
Please let me know if there is a way to use single LSMW for creation of all views of material master.
Thanks
HR
Edited by: Hema Rao on Jan 8, 2009 7:58 AM -
Issue in LSMW for material master using standard input program RMDATIND!!
Hello guys,
I have a issue in LSMW for material master.
I have a custom field in MARA table. which I want to add in my LSMW.
I added the field in BMMH1 structure. I'm passing the value to this field, But it is not populated in the table when I run it.
Is there anything else I need to do apart from addition of field in the structure BMMH1.
Thanks in advance for your help.
Regards,
Sumeet....see oss note 44410, it gives you a step by step overview.
https://service.sap.com/sap/support/notes/44410
Maybe you are looking for
-
Custom Workflow Email Template
Hi All, We have created a custom email template using components. At the applicable steps in the WF process we use wfNotify("user","user","CUSTOM_TEMPLATE") to use the cuystom template for email. The problem we have is that the users then receive 2 e
-
Collections - Delete Entry Throws Error
I'm using four collections on a form. When the user updates the form by selecting the "blank" at the top of the select list one entry in one of the collections, the user gets an integrity constraint error - parent key not found. The collection uses a
-
Web Module created form NWDI does not appear in J2EE-Explorer View
Hi, I have created a DC of Type Web Module. I had it checked in and activated it. Afterwards I went to "Inactive DCs" view and created a local project out of the DC. When I look at "J2EE Explorer" view, I do not see my newly created object. However i
-
Acrobat 4.0 & Windows XP
When Running 4.0 on Windows XP to create a PDF doc from Word file, the transforming, PDF maker/distilling, and printing routines seem to run successfully (as indicated by application itself)and finally a "process succeeded" notation appears - BUT the
-
Newbie: Roadmap needed please!
Hi, I just started taking a look at Java in genreal and Java+Linux in specific. What I want to achieve is to be able to write robust Enterprise Solutions/Applications/Software using Java-based technologies under different OSs (especially Linux & Win)