LSMW DOUBT WITH IDOC
Hi everybody .
I am using idoc with LSMW for uploading the data . I am going step by step all is working and displaying well but when i go for the step "START IDOC GENERATION " it is giving me an error like
<b>'066_BUS_TRANS_QUOTATION.lsmw.conv' File Has Not Been Accepted for Processing</b>
Plz help me and suggest the possiblew way to resolve this
Thanks with regards
Points will be awarded
Hi Gaurav,
I got the same problem with another IDOC. Could you please help me in solving this issue.
Regards,
Rusidar.
Similar Messages
-
Message with IDOC number, created by LSMW, missing in job log in SM37
Hi gurus,
We have a temporary interface which uses LSMW to create IDOCs and update in SAP. It's used for materials, BOMs and document info records. In LSMW we have defined standard message types MATMAS_BAPI, BOMMAT and DOCUMENT_LOAD for the IDOCs. All these have the same problem.
A background job runs and starts LSMW. In the job log in SM37 I want to see which IDOCs were created. For some reason this is different in my development system and my test system, and as far as I know all settings should be the same. In the test system LSMW creates more message lines in the job log, than it does in the dev system. Message number E0-097 is "IDOC XXXX added", and this is missing in the dev system.
This is what it looks like in the dev system:
Data transfer started for object 'MATMAS' (project 'X', subobject 'Y') /SAPDMC/LSMW 501 I
Import program executed successfully /SAPDMC/LSMW 509 I
File 'XXX.lsmw.read' exists /SAPDMC/LSMW 502 I
Conversion program executed successfully /SAPDMC/LSMW 513 I
Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y') /SAPDMC/LSMW 516 I
And this is what it looks like in the test system. More information, which is exactly what I want in dev system too:
Data transfer started for object 'MATMAS' (project 'X', subobject 'Y') /SAPDMC/LSMW 501 I
Import program executed successfully /SAPDMC/LSMW 509 I
File 'XXX.lsmw.read' exists /SAPDMC/LSMW 502 I
Conversion program executed successfully /SAPDMC/LSMW 513 I
File 'XXX.lsmw.conv' exists /SAPDMC/LSMW 502 I
IDoc '0000000002489289' added E0 097 S
File 'XXX.lsmw.conv' transferred for IDoc generation /SAPDMC/LSMW 812 I
Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y') /SAPDMC/LSMW 516 I
In both cases the IDOC is created and update works fine.
My only issue is that I can't see the IDOC number in the dev system. I know I can get the IDOC number in WE02, but in this case we have program logic which reads the job log to be able to check IDOC status before sending OK message back to the other side of the interface.
I hope any of you can have an idea how I can update somewhere to get message E0-097 with IDOC number into the log.
Regards,
LisbethHi Arun,
If you want to show your messages in the job log you have to use the MESSAGE statement. In case you use WRITE statements an output list be created which can be found in the spool (there is an icon to go to the spool directly).
Regards,
John. -
LSMW with IDOC Message type COND_A and Basic type COND_A01
Hi Sap All.
in my project we using the LSMW with IDOC Message type COND_A and Basic type COND_A01 and now the requirement is to know the list of the tables which will be updated when i do the LSMW Migration with this IDOC Basic type.
i have tried to know the list of the tables updated by entering into the transaction we30 and looking at the segments E1KOMG,E1KONH, E1KONP,E1KONM,E1KONW and i found that the following below are the list of tables which gets updated when i populate the data into IDOC Message type COND_A and Basic type COND_A01.
KOMG,KONH,KONP,KONM,KONW.
please correct me if iam wrong.
regards.
VarmaHi Varma,
The tables mentioned by you definitely get updated, i guess you can add KONV to the list too, but to be a 100% sure, enable SQL trace and process an IDOC. Then you can look for Insert/Modify/Update statements to get a list of the tables that get updated.
Regards,
Chen -
LSMW with Idocs directly created
Hello,
I'm using the LSMW with Idocs for the migration of business partners in CRM.
During the step "convert data" I have the choise to create the Idocs directly (without creating the file first).
Some days ago everything was well working. But without knowing what I've changed in LSMW, this is no longer possible.
I get the same screen as when I want to create a file ".conv", but the name of "converted file" is not named. Instead there is a message "no directly creation of Idoc"
What do I do wrong? What do I have to change?
Thanks in advance!
Nicoleyou have to always convert the data after reading the data.
please check in the specify files section you have given the file name for the converted data in the application server.
you will not get the option to create idocs directly in the convert data step.
please let me know if you any more details.
regards
vivek
reward points for all the useful answers -
Using LSMW with IDocs to transfer merchandise categories?
Hi, Gurus,
i tried to upload merchandise categories by LSMW with IDocs.
Message Type: CLSMAS
Basis Type: CLSMAS03
The IDocs can be created and processed without problem. However, I cannot see the new Hierarchy Level in Tcode CLWO.
Anyone has done it? Any tipps would be highly appreciated!
Regards
Kefeihi, Hakim,
unbelievable! I solved the problem.
U cannot imagine, where is the trick. UPPERCASE!!
The class number in the soure structure is written in lower case. They can be writen in SAP and be shown by F4. But they cannot be displayed. SAP says always they do not exsit.
Now, I understand, SAP is so sensible to character.
Thank you for your support!
nice weekend! -
How to use LSMW using the IDOC to upload and maintain cost center group
Hi Everyone,
Is there anyone who knows how to use LSMW using the IDOC functions instead of the recording. I wanted to upload the alternative cost center group I created in the system.
reply would be greatly appreciated
Warm RegardsHi Praveen,
There is a risk trying to migrate data directly into standard tables because this can generate database inconsistences or wrong inserted data according to what is customized in the target system. I do not recommend migrate like this.
With LSMW you use objects like direct input programs, idocs, bapis and recorded batch input. Try to create a project and use an standard object for your data. Also, check in SXDA transaction (Goto-->DX programs) if there is a standard program for your data.
Anyway, if you want to upload data directly to tables, read below thread:
["UPLOAD CSV FILE";
[how to upload .csv file into a custom table;
Regards,
Roger -
Doubt on IDOC TO IDOC communication
Hi Experts,
I have a doubt on IDOC to IDOC communication:
Plz clarify it
1. what is the need of passing same IDOC from one system to other system through XI while communicating between two systems,it can be done by using ABAP also ?
2.what is the advantage of passing like this through XI compared to ABAP?
Plz clarify good answers will be rewarded .
Regards,
Vinod.Hi,
See when you are dealing with Only IDOC to IDOC Communication means there is no need of XI here.
You can go with ALE also here.
Situations to go to XI.
1) when you have the Different field mappings
2) When you are having the multiple receivers
3) when you are dealing with Bundling & Transformations
Reward Ponts If Helpful
Regards
Giri -
Lsmw using ALE/IDOC Method
Hi Team,
I am trying for lsmw using ALE/IDOC Method.
I have defined the segment type, message type, defined a basic type and defined a partner profile of the receiver system.
When i try to execute the Start Idoc Generation step in generating LSMW creation steps. I am getting below error "No partner exists with the nae ", type".
Please help me in resolving the warining.
No partner exists with the name '', type ''
Regards
Sunil
Edited by: sunil kumar on Jul 30, 2009 11:26 AMHi,
for LSMW , you have to create partner profile type as 'US'.
once the partner profile created in we20,
goto tcode lsmw , in menu select "Settings -> Inbound Idoc Processing"
maintain FilePort, partner type and Partner number and then press Activiate Idoc Inbound pricessing.
Then you will not get this error message.
Regards,
Bhavana -
Doubt on Idoc adapter parameters
Hi ,
I need one more clarification on Idoc adapter parameters :
1.while configuring for IDOC adapter in communication channel , we have an option
called "APPLY CONTROL RECORD VALUES FROM PAYLOAD" doubt arises here
what actually this mean,and if this check box is ticked what values will be taken from payload and where will be they applied?
Plz clarify answers will be definetely rewarded.
Regards,
Vinod.Hi vinod reddy ,
If u want to add values to the control record , u have to select the APPLY CONTROL RECORD VALUES FROM PAYLOAD checkbox in the communication channel. When a new communication channel of type IDoc is created, the flag is set by default. If the flag is not set, the
settings comply with XI 2.0
This following websites clearly clarifies u'r doubt with detailed description with fields :
Fields of the IDoc Control Record
http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm
Configuring the Receiver IDoc Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm
How to.......Sample IDoc XI Scenarios
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a
cheers!
gyanaraj
****Pls reward points if u find this helpful -
Control Material Master Views with IDOC load
Hello all,
I am wondering how best to control which views are available during IDoc processing for Material Master.
For example I just want the Basic Data 1 and Basic Data 2 tabs, I am only populating the relevant data and placing a value of u201CKu201D in the Maintenance Status fields. This seems to work and avoids the warnings I seem to encounter when I neglect to add values for the Maintenance Status fields.
The warning I get at times tell me the IDoc is attempting to extend all available views, then it makes them available once I view my Material with MM03, however because there is no data in them I canu2019t go into the tabs. That is fine because I can go to the Basic data tabs, but I was disappointed to see the other tabs enabled, but inaccessible.
With Direct Input I used to be able to simply indicate which views I want. Now it seems I must request the maintenance views that then translate to actual views.
Please help.
ThanksYes I have experience in that area, and I fill the PSTAT as well. But you can also run a program (is in IMG > Logistic Gerneral > material master) to regenerate PSTAT after you have loaded all materials.
I use IDOC loading method for SAP system mergers. Sent Material master in legacy system using ALE as IDOC collection to a file, then use this file as source for LSMW, and as IDOC to IDOC mapping is just 1:1 I use use this methd in this case.
When loading from Excel file, I started using BAPI import method a few rollout waves back (but not because there is something difficult with IDOC, just to get used to this method). -
hi this is seshagiri. i have one doubt while in sending idoc to xi server in the idoc to file scenario, can we do with out configuring metadata in idx2.
if can we do means wat is the procedure.
please clarify me
thans & regards
giriHi Sesha giri,
If you are dealing with Idoc to File Scenario...you need to create
1) RFC Destination in R/3 pointing to XI.
2) Ports in R/3.
3) PartnerProfiles
we need to send idoc from R/3...so we have to do ALE configuration.
Please see the below link for more details.
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
Hope I am clear.
Please let me know if you have any queries...!
Thanks and Regards,
Chandu -
Guys,
Can anyone please give me some documnetation of IDOC's use in LSMW?
thanksWhich is the idoc type you need to use .Generally in LSMW we use standard idoc types.If you are seking the documentation for the purpose of learning than the links provided would be suffice .In the maintain object attributes please do provide in the message type and basic type.These you can serach in transaction we30/we31.
Before running LSMW process the idoc inbound processing by going into extras-->activate idoc inbound processing -> activate the port (we21)-->maintain the partner profiles (we20) .Check for test in transaction code we05 see whether the satus is 53(sucessgreen) or not.
The important part is mapping and rules if you are correct than you can easily run in the job.Hardly any of the client uses customized idoc type since almost all idoc types are there in SAP ECC 6.0 to take care.The challenges you will face when you deal with item conditions.
Please do provide in the feedback to the forum once you are done through whether live application or learning.
Please never forget to award points whichever replies does help you .
Regards
Somnath -
How can u creat LSMW port in Idoc Processing
how can u creat LSMW port in Idoc Processing
actullay i'm using Lsmw with bapiHello Ronei
*After giving the project ,sub project ,object & short description
*go to menu bar click on settings in that select idoc inbound processing ,
*in that screen click on maintain port push button
*port creation screen will be displayed in that left menu expand the file
*after that select file_port
*click on copy button
*provide your port name
*provide the short description
*after that deselect the uni code check box
--->*this is the main step
*in the directory you will provide the path of your flat file other wise your
project will be terminated after 13 th step .
thanks .
prasad gandepalli -
hi xperts
In LSMW, given the choices between Idoc and BAPI,which processing method is good and why? And when to opt one of the methods?
thkx
PrabhuHi
See the links
http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
Step-by-Step Guide for using BAPI in LSMW
Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
Introduction:
This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
Pre-requisites:
It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
Step-by-Step Procedure:
Details of the BAPI used in this scenario:
Business Object: BUS2012
Method: CreateFromData
Details of Message Type and Basic IDoc Type:
Message Type: PORDCR
Basic IDoc Type: PORDCR02
Lets have a look at the BAPI first, before proceeding to the LSMW:
1. Go to Transaction BAPI
2. Click on Search Button
3. Enter the value BUS2012 and select Obj.type(Technical Object Name
4. Press ENTER
5. Following screen appears:
6. On the left side of the screen, Expand the PurchaseOrder.
7. Select PurchaseOrder and double-click on the same for details.
Building LSMW using BAPI:
1. Go to Transaction LSMW.
2. Enter the Project, Subproject and Object information and click on CREATE.
3. Enter the descriptions for Project, Subproject and Object.
4. Now select Settings à IDoc Inbound Processing
5. IDoc Inbound Processing screen appears. Enter the required details as shown below:
6. Click on Activate IDoc Inbound Processing.
7. Click on Yes when prompted for Activate IDoc Inbound?
8. Hit on Back to return to the main screen.
9. Click on Continue (F8). Following Screen appears:
10. Select the Step 1 Maintain Object Attributes and select Execute.
11. Select the radio button Business Object Method and enter the following details:
Business Object: BUS2012
Method: CreateFromData
Hit ENTER
12. Save and click on BACK button. Following information message is displayed.
13. Now select step 2 Maintain Source Structures and click Execute.
14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on Create again to create the child structure. Following popup appears:
Select Lower Level and click on Continue. Enter the Item data structure name.
Click Save and hit BACK button to go to the main screen.
15. Select step 3 Maintain Source Fields and hit execute.
16. Enter the fields as shown below:
17. Click SAVE and return to main screen.
18. Select step 4 Maintain Structure Relations and click Execute.
Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
Select HEADERDATA and hit ENTER
Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
Click Save and return to main screen.
19. Select the step Maintain Field Mapping and Conversion Rules and click on execute. Maintain the Field Mapping as seen below:
20. Select step 7 Maintain Source Files and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
Save and return to main screen.
21. Select the step Assign Files and click on Execute.
Assign the file provided to the source structure. Here the same file is provided for both the structures.
Save and return to the main screen.
22. Select the step Read Data and click on Execute.
Click on Execute.
Return to the main screen.
23. Select the step Display read data and click on execute.
Click on the structure name to get the field level values.
24. Return to main screen and now select Convert Data.
25. Return to the main screen and select Display Converted data.
26. Return to main screen and select Start IDoc generation.
27. Now select the step Start IDoc Processing on the main screen.
28. Return to main screen and click on Create IDoc overview. Here the data record and status records of the IDoc could be viewed
It is given in screen shot.
http://www.****************
Regards,
Padmam. -
Doubt with creation of Model in the application Webdynpro Java
Good Morning,
I have the following doubts with the fields when i am creating a models in WebDynpro Java
Model Package
Source Fólder
Default logical system name for model instances
Default logical system name for RFC metadata
Logical Dictionary
Dictionary Type Package.
Can Help me?
Kind RegardsHi,
Please check this link:
[https://wiki.sdn.sap.com/wiki/display/WDJava/FAQ%20-%20Models%20-%20Adaptive%20Web%20Service]
Thanks and Regards
Maybe you are looking for
-
I'm waiting for my new iPhone 5s to be delivered. I lost my iPhone 5 but did have it backed up on my MacBook Pro. I was using iOS6 at the time. Will I have a problem restoring the data to my new iPhone 5s assuming it will come with iOS7?
-
Debtors Aging - Journal Entries
Hi Experts, I need some advice regarding omitting Journal Entries from a Debtors Aging report, particularly fluctuation journals that don't reflect a value on the debtor statement. Any comments will be highly appreciated. Regards, Lebo
-
Having Trouble Accessing iTunes Store...
I cannot access the iTunes store by any method in my wireless network or a hard line to the internet. I have every other feature on every other device in my home for online content, but I simply cannot get into the itunes store from my Apple TV, iPho
-
Credit Management - Release for delivery
Dear all, Any body kindly explain for me about Release function in VKM3, pls? If a sales order is blocked for delivery with Credit limit check, and now, i want to deliver that order without remove Credit limit check by go to va02 and change that orde
-
Retries of x-fi software install cd fail
Where are the files or registry settings that the install cd uses to say, hey i tried to install the sound blaster apps already so let's skip it and go right to automatic update install? I'm trying to get the apps installed but since the first time f