Upload material using idoc in lsmw
hi ,
i m trying to upload material using idoc inbound processing in lsmw. but whnever i m giving partner name as lsmw & port name as lsmw (even i tried with different name also ). it gives error like port does not exits.
regards,
swapnil
Hi ,
Please foloow Link:[Check|http://****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm]
Regrads
Jana
Similar Messages
-
How to upload data using idoc in lsmw
plz let me know how to upload material using idoc using lsmw. urgent
Hi Vrishali,
refer to the link below:
http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
Hope this helps.
Reward if helpful.
Regards,
Sipra -
when iam using idocs in lsmw, for custom defined message type iam getting an error saying that 'Event code for the specified message type could not be determined. Create partner definition for the specified message type manually'.
How to solve this. How and where to create partner definition manually.Hai Lavanya
Check This Link
LSMW
http://www.sap-img.com/sap-data-migration.htm
http://www.sapgenie.com/saptech/lsmw.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Thanks & regards
Sreeni -
What are the steps we have to fallow to upload data through IDOC in LSMW?
What are the steps we have to fallow to upload data through IDOC in LSMW?
HI
see this link click on each link it will show you step and screen shot of that step
http://www.****************/Tutorials/LSMW/IDocMethod/
<b>Rewar di fusefull</b> -
Creation of material using BAPI in LSMW without using material no.
Hi SAP Gurus,
I have a requirement of creating materials using the BAPI in LSMW.
I tried to create a material using the BAPI (Business Object - BUS1001006 , and method - SAVEDATA) which should be created internally, but it is asking the material number to be given externally and my configuration is setup to create the material number internally.
Even I looked into the material type which is associated with the number range and everything looks good.
Is there any solution to create the material by using BAPI in LSMW without passing the material no. externally ?
Appreciate your help.
Kalikonda.Hi,
it looks like it's not possible to call this BAPI wihtout material number. Here is a quote from BAPI documentation.
When creating material master data, you must transfer the material
number, the material type, and the industry sector to the method. You
must also enter a material description and its language.
Cheers -
Picking not done for a serialized material using Idoc type SHPCON/DELVRY03
Hi All,
I am using Idoc of type SHPCON/DELVRY03 to do the picking for an outbound delivery.
The value 'PIC' is populated in the qualifier of segment E1EDL18 . In order to update the batch number of the material in a delivery the qualifier of segment E1EDL19 is populated with value 'BAS' .
To update the serial numbers for a serialized material in an outbound deliverfy , BDC for transaction vl02n is used. Also the segment E1EDL24 is populated with material no. POSNR and other details , then segment E1EDL11 is having the value of serial no. Similarly for other serial number there is one more segement E1EDL24 with same material no. but E1EDL11 with other serial number.
The issue is that after the Idoc is successfully processed , picking quantity is updated only for one serial number for a serialized material of the outbound delivery. The picking quantity for other serial number is not updated . Initially the delivered quantity for the serialized material was 2 but after processing the Idoc the picking qunatity updated is 1 ( for one serial number only ).
Please provide any pointers on this.
Thanks & Regards,
Tanushri.The firs thing I would do is verify the config. Make sure the message type of the created IDocs matches the message type to which the filter is applied in the distribution model. If everything looks ok, place break-points at the following locations:
In FM MASTER_IDOC_DISTRIBUTE, on the call PERFORM DIST_MODEL_READ_FOR_MESTYP. This subroutine reads the filters from the distribution model. Verify the values in internal table RECEIVERS_AND_FILTERS are correct.
In FM MASTER_IDOC_DISTRIBUTE, in FORM IDOC_SELECTION_AND_SERVICES, on the call to FM IDOC_DATA_APPLY_FILTER_VALUES. This function should return the filtered results. IDOC_DATA contains the data segments of your IDoc and CONDITION_BLOCKS contains the filter.
When you run BD21, you should hit these break-points. -
Update the "remark" field in general data of a BP (using IDOC in LSMW)
Hi,
I have to create and udpate BP with comments in the general data. I have no problem to manage this field in creation mode. I only use the segment "E101BAPIAD_REM" from the "CRMXIF_PARTNER_SAVE_M02" Idoc basic type. I fill the following fields: "LANGU, LANGU_ISO, ADR_NOTES".
However in update mode I don't success to update the value for the field "REMARK". I use the second segment "E101BAPIAD_REX" and i fill only field "ADR_NOTES" with value "X" and "UPDATEFLAG" with value "U".
I tried several value and several cases but i failed each time. If anybody has already managed this data with IDOC I would be very interesting...
regards,
Fabrice Mouyebe.Hi Thirumala,
thank you for your answer but you speak about the field "AddressGUID" of E101BUS_EI_ADDRESSREMARK but I haven't this field at this level. This field is linked to the segment "E101BUS_EI_BUPA_ADDRESS_KEY", isnt'it ?
Effectively i have certainly a problem with the Address GUID. I have to test it because it doesn't work with only UPDATEFLAG at 'X' and CURRENT_TASK too.
Thanks,
fabrice. -
Using IDOCS or LSMW can we achieve
HI Experts,
I have a Excel with material data as below
Material_Number Material_Group_Num amount
111111111 33333333333 11111.00
222222222 44444444444 22222.00
444444444 55555555555 33333.00
I have to update in the SAP Tables, for a particular material_Number the material_group_num has to be updated
Any idea or Suggesion
Thanks
MadhuThe below is my actual requirement
From the business Users i will get a XL Sheet with all the data, the xl sheet contains
Material_Number Material_Group_Num amount
111111111 33333333333 11111.00
222222222 44444444444 22222.00
444444444 55555555555 33333.00
Based on the master Number i have to update only the master group fields in SAP tables
I need a data service job to do this, i know what option need to be given in idocs to update a particular field, i need the whole flow of the job
Please let me know
Thanks
Madhu -
LSMW, to upload material sales long text , MM02
Hi
I have not been able to upload long the long text of the material master record related to view Sales text (see tcode MM02). The upload should use the tcode LSMW, below is the steps that I used to create my LSMW codes:
Step 1: Maintain Object attributes
Object : 0001
Method: 0001
Program name: /SAPDMC/SAP_LSMW_IMPORT_TEXTS
Program type: D
Step 2: Maintain source structure
I create two structures
MAT_LONGTEXT (Material Long text)
TEXT_LINES (Text lines)
Step 3: Sources fields
MAT_LONGTEXT with 3 fields: Identifier (C, 1, H), MATNR (C, 18, material), TXTID (C, 132, Text ID)
TEXT_LINES with 2 fields: IDENTIFIER (C, 1, I), LINE (text Line)
Step 4: Field Mapping and rule
OBJECT:
constant, /SAPDMC/LTXTH-OBJECT = 'MVKE'.
NAME:
Source: MAT_LONGTEXT-MATNR (Material)
Move, /SAPDMC/LTXTH-NAME = MAT_LONGTEXT-MATNR.
ID:
Source: MAT_LONGTEXT-IDENTIFIER (Identifier)
Move, /SAPDMC/LTXTH-ID = MAT_LONGTEXT-IDENTIFIER.
SPRAS : Language Key
Constant, /SAPDMC/LTXTH-SPRAS = 'E'.
TXTFORMAT:
Constant
/SAPDMC/LTXTL-TEXTFORMAT = '*'.
TEXTLINE :
Source: TEXT_LINES-LINE (Text Line)
Move, /SAPDMC/LTXTL-TEXTLINE = TEXT_LINES-LINE.
please helpI had these settings before, but nothing happened ...
Here is the code:
*& Report ZREADVERTRIEBSTEXT
REPORT ZREADVERTRIEBSTEXT.
data : tbody like TLINE occurs 0 with header line.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = '0001'
LANGUAGE = SY-LANGU
NAME = '5007093 101101'
OBJECT = 'MVKE'
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
TABLES
LINES = tbody
* EXCEPTIONS
* ID = 1
* LANGUAGE = 2
* NAME = 3
* NOT_FOUND = 4
* OBJECT = 5
* REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
*IF SY-SUBRC 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF. -
I tried to to use IDoc in lsmw.In 13th step i got an error "Partner profile not generated for message type ........".In Inbound Idoc processing what to do?pls give the steps to proceed
hI
Settings for IDoc inbound processing
This can be obtained from the initial LSMW screen Menu: Settings  Idoc Inbound Processing
Specify the following:
File/tRFC port
Partner Type
Partner Number
These can be maintained by clicking on the respective buttons on the right.
Click on the Activate IDoc Inbound Processing button after entering all the
details above. -
Hi All
We are creating transactions for legacy data migration with LSMW using inbound Idoc. We are able to do the same successfully. As per requirement for each transaction some word and Pdf files have to be attached. Is there any way to attach documents with Idoc through LSMW?
Thanks
AviHi Avineesh,
What you can do is use two LSMW.
First one to upload transaction data and get the transaction number of all the uploaded transactions using IDOC.
Secondly use LSMW with BDC to attach the files to that specific transaction.
Or
In option to above approach you can use LSMW with BDC to upload all the transaction along with attachment.
Best Regards,
Pratik Patel
<b>Reward with Points</b> -
hi everybody
I am getting an error when uploading material using LSMW
'Record end indicator not set for structure BMMH1. Structure BMMH1 has been extended. Enter values in the new fields prior to the next release upgrade'
Actually i have already created these materials on 2 different distribution channels, now when I am uploading with the third distribution channel, i am getting this error
Can anybody help me please how to overcome this error?Hi Juregn
Thanks for your help, actually the file was corrupted, I created a new file and its ok -
Hi Using IDOCs with LSM Workbench????
Hello,
I wanted to use IDOCs as one of the methods with the LSM Workbench. I am going to load the data from flat file to a transaction in CRM. I am just curious to know that how do I go forward with it. The first step of LSM Workbench is asking Message Type, Basic Type, Enhancement and structure assignment for EDIDC40. I have used other methods such as Direct input and Batch input. I have not used IDOCs with LSMW. Is it possible that you can give me the steps what we have to follow in order to set up the IDOCs and then use it with LSMW.
I will really appreciate if you can give me the steps or give a link which shows steps of LSMW with IDOCs..
Thanks much.
Warrenhi warren,
first u have to configure the partner profile in lsmw
lsmw->settings->idoc inbound processing.
then u have to choose the basic type message type all those stuffs.if u have any enhacement u can use it or else leave it blank.
lsmw->settings->idoc inbound processing.
partner profile..
File port IDOC_TEST
tRFC port
Partn.type KU
Partn.number 106
Message type ORDERS Purchase order / or
Basic type ORDERS05 Purchasing/Sales
enhancement blank
tick it. Enable structure relation for EDIDC40
steps are:
Maintain object attributes
Maintain source structures
Maintain source fields
Maintain structure relations
Maintain field mapping and conversion rules
Maintain fixed values, translations, user-define
Specify files
Assign files
Read data
Display read data
Convert data
Display converted data
Start IDoc creation
Start IDoc processing
Create IDoc overview
Start IDoc post-processing
please don't forget to reward points....
regards,
murali. -
Post material master idoc with class and characteristic values
Hi,
I need to post the class and characterstic values of material while posting the material using idoc of basic type matmas05 . Can anyone suggest me the fields and segment details to fill the class, class type and characteristic values in matmas05.
Note : the class and characteristic values are already created in the system, my purpose is to assign them to material while creating. so please give me the field and segment details in idoc basic type matmas05.
thanks
KiranI try to do the samething. I see the fields E1CUVAL : CU: Characteristic valuation in the structure of MATMAS05 but when I run the IDOC, these fields never appear even they exist for the material.
Did you find an answer to your question that can help me? -
Upload Material master with long text using LSMW
Hello,
i want ot upload material master data via MM01 using LSMW in following views: basic data 1 ,2, purchasing, purchase order text, plant data 1,2.
i have to upload long text in purchase order text with length more then 132 char. (approx 700 char long text). and i have text file in which long text is maintained in a single row. then how can i do it without formating text file or anyother possible solution.
please help.ca u clarify how can i do it.
suppos i have longtext "Air cooled type air-conditioning unit complete with following components & distance between indoor & outdoor unit is 10 RMT. A).Indoor evaporating unit comprising of cooling coils,insulated drain tray,20 micron HDPE washable filters,blower,motor,electical junction box etc. B).Outdoor condensing unit comprising of hermatic/semiharmetic compressor's.condenser coils,propeller/axial fans,motors,pressure switches/cutout etc.C).Charging of refrigerant gas & oil.D).Inter connecting refrigerating piping of copper duly insulated with EXPANDED POLYETHYLENE tubing.E).Complete electical power wiring of AL.&Control wirng of copper required from indoor & outdoor units.Earthing of the complete system with 8 G G.I.wire. F).Electrical panel will be completed with necessary starter,fuses,switches,timers,over-load relays,contactors,push button and indicating lamps,single phasing preventer etc..and also with remote control with cording. G).The panel should have 1 no.potential free contactor to connect with central fire detection system.The panel should have voltage scanner to ensure stabilized power input to the machine.H).Outdoor unit shall be mounted on MS angle base frame structure duly black painted with synthetic epoxy paint.I).The frame structure shall be mounted on MS plate & serrated rubber pads."
then what i have to do changes in lsmw.?
Maybe you are looking for
-
QTime error...help!!!
quicktime failed to inicialize error #63443 I cant open itunes because of these... please help me..
-
Test Marketing Campaign for all business partners, without sending out
Hi, within the application it is possible to test Mail Forms to a manually entered e-Mail address, for Business Partner or Marketing Prospect, checking conditions and if appropriate using Campaign. This works fine. For quality reasons, my customer wa
-
Hi , We have a requirement where BPEL is Async Process .OSB calls async BPEL process which works fine for request line.Where as for response from the Async BPEL is not able to catch in OSB Proxy service. we went for Async BPEL since at first instant
-
Dear Sirs i've bought unlock iphone 5 from apple store in Delaware, but when i come to my country the iphone don't recognize the sim card from our country, (i should mention that i've bought 2 unlock iphones, one works perfectly, and second one don
-
My son plays racing penguin, the game is for a toddle if you ask me, so why would they charge me $9.99 and 4.99 for anything associated with this game. I did not purchase this, and I thought that when you purchase anything you have to put a password