LSMW --direct input for sales order
Hi frenz,
We are facing a problem in mapping the fields, sold-to-party and ship-to-party in structure BVBPAKOM.
I have already tried using partnerfunction(PARVW) and custno(KUNNR). Even then i got an error 'Specify ship-to-party or sold-to-party'. Can anyone help me regarding this problem.
Helpful answers will be rewarded with points and wishes.
---praveen.
hi,
join this link dude
LSMW DIRECT INPUT FOR SALES ORDER
cheers,
sanjay.
Similar Messages
-
Direct Input for Purchase Order
Hi Gurus,
I want to create LSMW direct input for creating Purchase Order,
I have make to file for this, Header and Item,
for the Header, i only use this field : STYPE, BUKRS(Company Code), EKORG(Purch.Org), EKGRP(Purch Group), BSART(Order Type), LIFNR(Vendor), WAERS(Currency)
for the Item, : STYPE
EBELP
EMATN
MATKL
WERKS
EINDT
MENGE
MEINS
NETPR
WAERS
now, when i run this direct input program, it always error with this message " The Material xxxx does not exist or is not activated"
i have check the material, it already created and the purchasing tab also have created
what is the problem ? maybe i miss another field that i should entry in the source field LSMW ?
really need help for this issue
Regards,
MarufatTry to make 1 manual PO for that material check whether it is allowing to make,
Best option to use is BAPI_PO_CREATE1 for uploading PO.
LSMW does not provide the table control features in BDC or recording.
Check below link for more details,
[LSMW PO|http://forums.sdn.sap.com/thread.jspa?messageID=10155752#10155752] -
Please give some inputs for Sales order costing
please give some inputs for Sales order costing
Dear Chandu
If you use the valuated sales order stock, the actual cost of goods manufactured is updated to the sales order item (item in an inquiry, quotation, or sales order) under an inventory change cost element.
If you use the nonvaluated sales order stock, the actual cost of goods manufactured is updated to the sales document item under a settlement cost element or a source cost element.
Sales and administration costs are updated under a separate cost element.
Thanks
G. Lakshmipathi -
Hi All,
I m facing a problem in LSMW - direct input for XD01Transaction (Create Customer).
while testing the file from Application server using BATCH INPUT SESSION. At the end, my Session fails and it shows an error in the log "Function code cannot be selected" and under that line 1 more comment is there - "Transaction Error".
please help me in this issue.
Edited by: Rahul Gautam on Sep 17, 2008 1:53 PM
Edited by: Rahul Gautam on Sep 17, 2008 2:25 PMHi
I found the Solution
Thanks -
Issue in LSMW(Direct Input) for FB01 with (RFBIBL00)
Hi All,
I am developing a LSMW-Direct input method for TCode-FB01 using program RFBIBL00.
I am using one file as input file. I have below fields in the file.
STYPE
BLART
BUKRS
BLDAT
BUDAT
MONAT
WAERS
KURSF
XBLNR
BKTXT
XMWST
NEWBS
NEWKO
NEWUM
WRBTR
KOSTL
PROJK
AUFNR
PRCTR
SEGMEN
MWSKZ
WMWST
ZFBDT
ZUONR
SGTXT
My Data is as below: (Single record) 1 - Header data, 2-Item data
1 SA 1123 01062009 01062009 6 USD Test1 Testing
2 40 100005 10 Test Test
2 50 100005 10 Test Test
After 'Converted data' step it is displaying 7 rows instead of 3 rows for BGR00, BBKPF, BBSEG.
Is there any condition(logic) i need to write to make it to 3 rows.
All the data displayed above is for single record.
Because of this issue i am not able to create document through FB01.
How to solve this issue!
Thanks,
Deep.you need to pass 2 strctures like below
1 is header and 1 is item
here INDENT is link between 2 files
in your case 1 record: BGR00,
1 record : BBKPF
2 records: BBSEG
its only 4 records, i think you file contains space for 3 more record you check that.
and also in the last step you have option for creating the batch input method, create BI and run in foreground ....
YFIC_HEADER Header
INDENT C(010) Identifier
BLDAT C(008) Document Date
BLART C(002) Document Type
BUKRS C(004) Company Code
BUDAT C(008) Posting Date
MONAT C(002) Posting Period
WAERS C(005) Currency
KURSF C(009) Exchange rate
BELNR C(010) Document Number
WWERT C(008) Translation Date
XBLNR C(016) Reference
BVORG C(016) Cross-co. code no.
BKTXT C(025) Document Header Text
PARGB C(004) Trading part.BA
XMWST C(001) Calculate Tax
LDGRP C(004) Ledger Group
YFIC_ITEM Item Data
INDENT C(010) Identifier
NEWBS C(002) Posting Key
NEWKO C(017) Account
NEWUM C(001) Special G/L ind.
NEWBW C(003) Transact. type
WRBTR C(015) Amount
MWSKZ C(002) Tax Code
XSKRL C(001) W/o cash disc.
KOSTL C(010) Cost Center
AUFNR C(012) Order
GSBER C(004) Business Area
PRCTR C(010) Profit Center
RASSC C(006) Trading Partner
FKBER C(004) Functional Area -
Hi
I am uploading BOM throuh LSMW direct input ..... in this procedure i have got an error at step 7 specify files
i have specify file then i try to sve that step sysytem has given below error... pls could any guide me this procedure.
Error message:
"No logical path has been specified"
Message no. /SAPDMC/LSMW_OBJ_060046
Regards
H GVD
Edited by: hemanth.gvd on Feb 11, 2012 1:19 PMDuring file assignment when it asks for logical path and logical file for ".conv" file to be saved on the server(Double click on .conv file name). Just enter a path name and file name ( eg: ZPATH and ZFILE) and hit enter if the path doesn't exist it will create one, same with logical file name.
Look at this [screen shot.|https://lh6.googleusercontent.com/-AoGzW-nBdNs/Tzafs1eEmuI/AAAAAAAAAAk/7OY27NE3ijA/s720/image001.png] -
LSMW Direct Input for Roouting (CA01)
Hi,
I have a requirement for Routing .
I have to use Direct Input method for this Converstion.
How to do Routing ( CA01 ) in LSMW-Direct Input.
Thanks,
KumarHi
I found the Solution
Thanks -
LSMW direct input for creating a BOM
Hi all ,
I am trying to create a new BOM using LSMW (direct input method ) .
I have created a structure for the header, an other structure as its child for the item data .
Now , i got a doubt regarding specify files ......
Since i have only one text file , how i have to mention the sequence of the header and item data .....
since i dont have the sample data ....
or ( should i use two text files , though i use 2 text files i cant use these two in the specify files .since i can upload only one file )
pls let me know , i have lots of the other questions but i cant specify in this....
Pls guide me .....
Regards,
RajHi,
You need to define the two structure header and detail. Both files should have the key fields:
For example: Both file have Plant, Material Number, BOM Usage & Valid From.
Then BGR00 and BICSK should be mapped to BOM_HEADER and BICSP to BOM_DETAIL structure.
Then just do the mapping and should work.
Hope this helps.
Regards,
Bharati Singh -
LSMW Direct input for Material Master
Hi,
I need to upload the following views data into SAP using direct input (RMDATIND)
Basic Data 1
Basic Data 2
Classification
Sales: Sales Org. Data 1
Sales: Sales Org. Data 2
Sales: General/Plant Data
Foreign Trade: Export Data
Sales Text
Purchasing
Foreign Trade: Import Data
Purchase Order Text
Work Scheduling
General Plant Data / Storage 1
General Plant Data / Storage 2
Accounting 1
Accounting 2
Costing 1
Costing 2
Is it possible to upload these views through direct input or is there any limitation with the direct input method because i'm able to map the below fields only once
Country of Origin
Region of Origin
Excemption Certificate
Ex. Certificate number
Issue date of Cert. No.
Indicator: Military goods
the above fields are repeated twice for the views
Foreign Trade: Export Data
Foreign Trade: Import Data
If anybody has done material master in lsmw please let me know.
Thanks in advance.
PoornaHi,
I need to upload the following views data into SAP using direct input (RMDATIND)
Basic Data 1
Basic Data 2
Classification
Sales: Sales Org. Data 1
Sales: Sales Org. Data 2
Sales: General/Plant Data
Foreign Trade: Export Data
Sales Text
Purchasing
Foreign Trade: Import Data
Purchase Order Text
Work Scheduling
General Plant Data / Storage 1
General Plant Data / Storage 2
Accounting 1
Accounting 2
Costing 1
Costing 2
Is it possible to upload these views through direct input or is there any limitation with the direct input method because i'm able to map the below fields only once
Country of Origin
Region of Origin
Excemption Certificate
Ex. Certificate number
Issue date of Cert. No.
Indicator: Military goods
the above fields are repeated twice for the views
Foreign Trade: Export Data
Foreign Trade: Import Data
If anybody has done material master in lsmw please let me know.
Thanks in advance.
Poorna -
LSMW Direct input for AFS Standard price on AFS Valuation tab
Hi
Iam trying to load AFS material data thru LSMW ..and iam successfully loaded the AFS specific data.
But when iam trying to create or update the AFS Valuation data,,,The standard price is not created or updated with price control field...Both fields are greyed out on the screen, but LSMW has the structure J_3ADI5 which has all the fields in AFS valuation to create, for some reason its not creating/updating....
there is a separate transaction to update or create the price but i wanted to do with LSMW.
I want to know whether LSMW supports Standard price load screen field (J_3AMADKA-PRICE) on the AFS valuation tab on Material master.
Object : 0020 (Material Master)
Method : 0000
Prog : RMDATIND
Prog type : Direct input
Can anybody has an idea or did this before?
Thanks in advanceI dont know AFS, but I know that SAP does not allow to change valuation price of standard material master after it was used, not even with MM02 transaction.
the reason is that the material master programs are there to create the master data, but price changes are transaction data where at least a price change document is to be created and dependend on stock situation as well an accounting document.
Can you update the the price with the usual maintenance transaction manually for your AFS material? -
LSMW- DIRECT INPUT - FOR ME11-------- ?
hello
hi I want update purchase info records By using lsmw with direct input/bach input method
pls send documentation for this
thanksHi,
Use SAP standard program RM06IBI0.
LSMW Object 0060
Method 0000
You can also use FM ME_POST_INFORECORD
Regards,
Satish -
LSMW Direct Input for BOM (CS01)
Dear all,
I am trying to do LSMW for Creating BOM using Direct Input
below is the step by step that i have done :
1. Maintain Object Attributes
Object 0030 Material BOM
Method 0001 Create
Program Name RCSBI010
Program Type B Batch Input
2.Maintain Source Structures
Source Structures
BOM_HEADER BOM_Header
BOM_ITEM BOM_item
3.Maintain Source Fields
Here i maintain the Header and item fields correctly
for the header :
IDENT (identifier who linked with item),MATNR, WERKS, STLAN, STLAL, BMENG, BMEIN, STLST
for the item :
IDENT, POSNR, POSTP, IDNRK, MENGE, MEINS, SANKA
4.Maintain Structure Relations
BGR00-Bom header
BICSK-BOM item
BICSP-Bom item
5.Maintain Field Mapping and Conversion Rules
I use the autofield mapping
6.Specify Files
Legacy Data PC Frontend = i create 2 file (header and item) (both characteristic are data for one source structure, tabulator)
Imported Data = TEST-PP_PP-BOM_PP-BOM-DI.lsmw.read
Converted Data = TEST-PP_PP-BOM_PP-BOM-DI.lsmw.conv
Logical Path BOM_HEADER
Logical File BOM_HEADER
7.Assign Files = I assign 2 files Bom Header and Bom Item
8.Read Data, Display Read Data, Convert Data, Display Convert Data = is all okay
9.Create Batch Input Session = this is where the problem is, i found message "E29 811 transaction not supported"
What is the problem for this error? and how to solve this problem?
Regards,
MarufatDear,
1. Maintain Object Attributes
Object 0030 Material BOM
Method 0001 Create
Program Name RCSBI010
Program Type B Batch Input
2.Maintain Source Structures
Source Structures
BOM_HEADER BOM_Header
BOM_ITEM BOM_item
3.Maintain Source Fields
Here you maintain the Header and item fields correctly
in the source filed you have to add one field called identifier in the header and the item.
4.Maintain Structure Relations
BGR00-Bom header
BICSK-BOM item
BICSP-Bom item
5.Maintain Field Mapping and Conversion Rules
Do the filed mapping here correctly
6.Specify Files
a.Before thie you need to create 2 files.
1 file for the header material and the other one for the component material
b.In the header file you will have only one entry for one bom and it will have a idetifier number unique for each bom header
c.inthe item you will fill the rquireed number of component and also the unique identifer number.
d.this identifier is the key which joins the header and the item
7.Read Data
now once the file are all mapped
read the data,dispaly the data and try to upload for one single material.
Hope it will help you.
Regards,
R.Brahmankar -
LSMW - Direct Input for XD01 transaction
Hi Experts,
I am facing an error while doing the LSMW - using batch Input session. In the last step of LSMW.. while running batch input session, i faced an error "Function code cannot be selected" this error is coming because the Function code(OK Code) of that screen is "KNZA".
the problem is that how can i change the OK code (function code) in the standard program. or is there any other way for solving this problem...
please help me out....Hi
I feel the problem is with the Sturcture relations step. Are you mapping the below structure?
BKNZA Customer Master Record Altern.Payer (Batch Input Structure) -
Ensure that for all the structures you are mapping here.. you need to provide elements in field mappings. Otherwise it may lead to such errors.
Try to check all the steps once again and then generate the program again and check. -
LSMW - Direct Input - Sales order - item text
Hi,
I'm having a problem similar to the problem posted by Laurent Guilloteau on 2/3/2006 titled:
LSMW - Direct Input - Sales order - item texts
While this thread shows the issue as being answered, I'm not clear on what action to take.
I'm using an LSMW with program RVINVB10 to load sales orders to SAP.
I'm successfully loading the orders, including header level text, however the item text is not showing on the order.
I have source structures defined as follows:
Source Structures
REC1 VBAK - Header
REC4 VBPA - Order Partners
REC6 BTEXHKOM - Header Text Header
REC7 BTEXLKOM - Header Text Lines
REC2 VBAP - Order Items
REC8 BTEXHKOM - Item Text Header
REC9 BTEXLKOM - Item Text Lines
REC3 VBEP - Order Schedule Lines
In actions 'Read Data' and 'Convert Data', I see text for the two text structures, at the header and item level. But after execution of Direct Input program, I don't see text in at the item level of the sales order, however I do see text at the header level.
Does anyone have any insight on what's causing the item level text not to show on the order?
Best regards,
StuartHi all,
Many thanks for the suggestions. One of our expert developers got involved and provided the solution.
In order to have item level text populate, the VBAP-PSTYV (the sales document item category) field also needs to be populated. The VBAP-PSTYV field value is dependent on the sales document type. (Or, at least it is for the configuartion set up in my example) The sales document type is VBAK-AUART.
Stuart -
Upload sales text for material master using LSMW direct input method
Hello Experts,
I was trying to upload sales text for a material master using LSMW direct input method.
I followed the following steps for the same
Tab dlimited Text file format
MATNR LONGTEXT LINE
MATERIAL1 LONGTEXT FOR MATERIAL MATERIAL1 1
Step1 -> Maintain object attributes
Object -> 0001
Method-> 0001
Program name -> /SAPDMC/SAP_LSMW_IMPORT_TEXTS
Program type -> D
Step2 -> Maintain Source Structure
Source structure -> LONG_TEXT Source structure for long text
Step 3-> Maintain souce file
Source Fields
ZLONG_TEXT Source structure for long text
MATNR C(018) MATNR
LTEXT C(132) LTEXT
Step 4-> Maintain structure relationship
Structure Relations
/SAPDMC/LTXTH Long Texts: Header <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTH .
/SAPDMC/LTXTL Long Texts: Row <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTL .
Step 5-> Maintain Field mapping and conversion rules
Here i have assigned constan rules to couple of them like
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MVKE'.
NAME Name
Source: ZLONG_TEXT-MATNR (MATNR)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = ZLONG_TEXT-MATNR.
ID Text ID
Rule : Constant
Code: /SAPDMC/LTXTH-ID = '0001'.
SPRAS Language Key
Rule : Constant
Code: /SAPDMC/LTXTH-SPRAS = 'E'.
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = '/'.
TEXTLINE Text Line
Source: ZLONG_TEXT-LTEXT (LTEXT)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = ZLONG_TEXT-LTEXT.
Step6 -> Specify file
Legacy Data On the PC (Frontend)
Data D:\Sales_Longtext.txt
Step7 -> Assign File
ZLONG_TEXT Source structure for long text
Data D:\Sales_Longtext.txt
Step8 -> Read data
Output result
Source Structure Read Written Not Written
ZLONG_TEXT 1 1 0
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 1
Step 8 -> Display read data
Field Name Field Text Field Value
MATNR MATNR MATERIA1
LTEXT LTEXT SALES TEXT FOR Material MATERIAL1
Step 9 -> Convert data
File Read: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.read
File Written: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
Step 10 -> Display converted data
1 /SAPDMC/LTXTH 1MVKE MATERIAL1 0001E
2 /SAPDMC/LTXTL 2/ SALES TEXT FOR Material MATERIAL1
Step 11 -> Start direct input program
Output result for the same
Legacy System Migration Workbench
Project: ZNRD_PRJ1 ORH
Subproject: ZNRD_SUBPRJ2 Upload long text
Object: ZNRD_LTEXT Long text tru direct input
File : ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0
Now when i check the material master sales view -> sales text it is empty.
Please help me with the same.
Regards,
Ranjith NHello Experts, I was trying to upload sales text for a material master using LSMW direct input method.
I followed the following steps for the same
Tab dlimited Text file format
MATNR LONGTEXT LINE
MATERIAL1 LONGTEXT FOR MATERIAL MATERIAL1 1 *************************************************************************************************************
Step1 -> Maintain object attributes
Object -> 0001
Method-> 0001
Program name -> /SAPDMC/SAP_LSMW_IMPORT_TEXTS
Program type -> D
Step2 -> Maintain Source Structure
Source structure -> LONG_TEXT Source structure for long text
Step 3-> Maintain souce file Source Fields
ZLONG_TEXT Source structure for long text
MATNR C(018) MATNR
LTEXT C(132) LTEXT
Step 4-> Maintain structure relationship
Structure Relations
/SAPDMC/LTXTH Long Texts: Header <<<< ZLONG_TEXT Source structure for long text
Select Target Structure
/SAPDMC/LTXTH . /SAPDMC/LTXTL Long Texts: Row <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTL .
Step 5-> Maintain Field mapping and conversion rules
Here i have assigned constan rules to couple of them like
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MVKE'.
NAME Name
Source: ZLONG_TEXT-MATNR (MATNR)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = ZLONG_TEXT-MATNR.
ID Text ID
Rule : Constant
Code: /SAPDMC/LTXTH-ID = '0001'.
SPRAS Language Key
Rule : Constant
Code: /SAPDMC/LTXTH-SPRAS = 'E'.
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = '/'.
TEXTLINE Text Line
Source: ZLONG_TEXT-LTEXT (LTEXT)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = ZLONG_TEXT-LTEXT.
Step6 -> Specify file Legacy
Data On the PC (Frontend)
Data D:\Sales_Longtext.txt
Step7 -> Assign File ZLONG_TEXT
Source structure for long text
Data D:\Sales_Longtext.txt
Step8 -> Read data
Output result
Source Structure Read Written Not Written
ZLONG_TEXT 1 1 0
Transactions Read 1
Records Read: 1
Transactions Written: 1
Records Written: 1
Step 8 -> Display read data
Field Name Field Text Field Value
MATNR MATNR MATERIA1
LTEXT LTEXT SALES TEXT FOR Material MATERIAL1
Step 9 -> Convert data
File Read: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.read
File Written: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
tep 10 -> Display converted data
1 /SAPDMC/LTXTH 1 MVKE MATERIAL1 0001 E
2 /SAPDMC/LTXTL 2/ SALES TEXT FOR Material MATERIAL1
Step 11 -> Start direct input program
Output result for the same
Legacy System Migration Workbench Project:
ZNRD_PRJ1 ORH
Subproject: ZNRD_SUBPRJ2 Upload long text
Object: ZNRD_LTEXT Long text tru direct input
File : ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0
Now when i check the material master sales view -> sales text it is empty. Please help me with the same.
Regards,
Ranjith N
Maybe you are looking for
-
Can no longer open Fabric Manager Web Client 4.7(2b)
Hello I have recently upgraded from Fabric Manager 3.3(2b) to 4.2(7b). I followed the correct path, so went from 3.3 to 4.1 and then from 4.1 to 4.2. The application opens but I can not browse to the localhost address on either http or https and ther
-
looking fro help to get new version of itunes downloaded on imac that is running snow leopard and trying to update to lion but cannot find the mac app store.
-
How do I choose a photo as albumcover in the Photos app? (iOS 8)
When viewing albums in the Photos app, you can change the order of the photo's by pressing select in the upper right corner, holding down a photo and moving it around. The first photo in the album (in the upper left corner), would then become your al
-
When displaying PDF in IE9, get blank error message and black display
Frequently when attempting to load PDF pages in IE9, I get an error message box with no text and an OK button and the display of the document is just black. Usually, if I click Reload enough times, eventually it will display. What is happening here,
-
Adobe illustrator not starting up?
Hello, adobe forum, I am an aspiring graphic designer of 16 years of age. My school has a graphic design class, and we all get a free copy of adobe illustraor c3 and photoshop c3. (all legal, of course) anyhow, my adobe illustrator c3 isn't working.