LSMW issue
Hi,
I have developed LSMW for the Tcode VK11.It contains two screens 0100 and 1945. Here in the screen 100 i am entering the condition type ZXI2...and in the screen 1945 values i am entering are 5 field values. After saving the record control comes to 100 screen again. But in 100 screen ZXI2 is fixed. i don't want to go to that screen which is 100. The value is fixed in 100. i have passed ZXI2 as constant value for LSMW.
Hi,
I think you are entering only condition type 'ZXI2' in screen 100. In Change Mapping and conversion rule, for this field you can write a code here.
put condition to avoid this screen. Try this, i think it will work.
Thanks,
Phani Diwakar.
Similar Messages
-
LSMW issue while uploading the hiring data
Dear Experts,
I am trying to create LSMW to upload hiring data for IT0000, IT0001, IT0002. Initially i tried with PA40 recording, but it was not selecting my respective action type. Then i tried with PA30 with external no. range, but still its not selecting action infotype.
I used the following source file data for recording, please check and advise anything if i need to modify
PERNR N 008
SELEC_01 C 001
TIMR6 C 001
CHOIC C 035
SUBTY C 004
BEGDA DDMMYY 010
ENDDA DDMMYY 010
MASSN C 002
MASSG C 002
PLANS N 008
WERKS C 004
PERSG C 001
PERSK C 002
BTRTL C 004
ABKRS C 002
VDSK1 C 014
NACHN C 040
VORNA C 040
TITEL C 015
GESCH C 001
SPRSL C 002
GBDAT DDMMYY 010
FATXT C 006
GBORT C 040
GBLND C 003
GBDEP C 003
KITXT C 004
NATIO C 003
Regards
TanHi,
I am running it on foreground with external no. range for two employees. My main issue is its not selecting the action infotype from PA30 screen only.
How to test in display mode...please suggest
Regards
Tan -
LSMW issue using BAPI for changing Purchase Order G/L Account
Wonder if anyone can help as I'm tearing my hair out!!
Have used LSMW lots of times using the transaction recorder, but tried using a BAPI as we have a mass update to do of G/L Accounts for Purchase Orders and it seems the tidiest and most efficient way to do it.
Got my LSMW project working as a test by changing the Short Text on a purchase order, this works fine. However, when I add the Account Assignment details in (Structure E1BPMEPOACCOUNT and E1BPMEACCOUNTX) everything seems to run fine, the IDOC posts and gives message 'Document xxx changed'. Yet when I look into the order it hasn't actually changed the G/L.
If I go into the purchase order in change mode in another session and run the LSMW again it recognises the purchase order is locked so it seems to be doing everything right, just not updating the G/L Account field. Anyone got any ideas ? It updated the short text fine so I'm sure everything is set up OK but for some reason it ignores the G/L that I upload. Anything relating to the Account Assignment (Unloading Point, GR, Cost Center) just gets ignored if I try and upload a change.
I seem to be so close it seems a shame not to be able to get it sorted !!!
Thanks,Helen Smith wrote:
HI Praveen,
>
> Thank you very much for your response. I tested the BAPI as per yor instructions and the return message comes back 'Eng & other PO xxxx changed' so it seems to indicate a success message again (like the LSMW does) but the actual data doesn't update.
>
> I thought I'd found it as I searched OSS and found note 0001382965 which seemed exactly my problem. I imported it and applied it but yet I still get the same issue - LSMW runs, says app doc posted and purchase order has been saved but no Account Assignment field will update.
>
> So it seems as if it's the BAPI not doing what it should - so I'm considering logging with SAPNET just to see if they can help as getting desperate with this one now! Felt sure I had it sorted when I found that note!
>
> Thanks
>
> Helen
>
> ** I should add I also ran the test above altering something in the item detail (the short text) - and that worked and updated. So it still seems to point to the Account Assignment part of the BAPI not updating.
>
> Edited by: Helen Smith on Nov 2, 2010 4:35 PM
Hi Helen,
Just wondering whether you have found solution to your issue.
We also encounter the same issue and have implemented the note without any positive result.
Please share if you found the solution.
Thank you.
Abraham -
LSMW issue while changing Customer(XD02)
Hi Experts,
I need to update the Bank details for single customer.
Actual Issue: I can insert a Bank details for a customer from flat file but if a customer has two Bank details(assume as line item) then how to handle this type of scenario using LSMW tool.
Please help me on this!
Thanks
Regards,
VishwaI would analyze the data first to find out how much cases will jsut get one bank and how much will have multiple.
If there are only a few with multiple, then it is probably done much quicker manually for those, and you can upload all others that have only one.
If there are many, then I would analyze what the maximum number of banks per customer is, and then put the cursor one line after the highest number and add whatever I need to add. SAP automatically skips the empty lines.
This was for recording with LSMW.
Edited by: Jürgen L. on Jun 9, 2011 11:02 PM -
LSMW Issues (Header/Detail)
Hi All,
I am trying to upload Sales Orders in SAP (VA01) using LSMW Batch Input Recording Method. Here are couple of issues I am having, I have a lot of threads on similar issues but have not gotten the answer.
I have two files, one with header data and one with line item data. I have defined two structure "Header" and then "Detail" at it's subordinate level. I have defined a field Field called "OrderNum" as the first field for both structures. In both data files I have OrderNum as the first field. In a test scenario I have one header record in the header file and four line items in the Line item file.
-- I can see that LSMW is correctly reading the data from the files but it is taking it as two different transactions instead of Header and Detail.
-- Also, it passes through the first screen and goes into the VA01 main screen but then complains about "No batch input data for SAPMV_ _ _ and then stays there till I manually exit out.
Does anyone have any idea what's causing it? Also, how's header and detail data handled? How do you handle it in LSMW?
Any ideas/suggestions will be great.
RegardsHi,
You can try using BAPI. Use Business Object BUS2032 and method CREATEFROMDAT2.
use the first method (Direct Input)
Object : 0090 (Sales)
Method : 0000
Programname: RVINVB10
In structure relations u can find header and line itemas.
before that define 2 structures.
===================================================
After creattion of one structure..
again click on create button> now it will ask samelevel/lowerlevel..give ur option>then u can add the fields in the next step.
check the below link also may be helpful for u
https://forums.sdn.sap.com/click.jspa?searchID=1818636&messageID=1895424 -
Hi All,
I am trying to create the partner function details in XK02 for a vendor using LSMW recording.
Issue 1: When i am using recording method , since tcode is XK02, the okcode is getting set to 'UPDA' (update) and rewriting the existing data instead of inserting a new one.
Issue 2: When i am using standard input method, its going through all the screens, and then going into, partner screen. If run in background, its stopping the processing on any error in some other screen.
Please suggest me a solution where the partner lines items can be added and the screens between start and partner screen is skipped.Hi ,
topcoder wrote:
Hi All,
> I am trying to create the partner function details in XK02 for a vendor using LSMW recording.
>
> Issue 1: When i am using recording method , since tcode is XK02, the okcode is getting set to 'UPDA' (update) and rewriting the existing data instead of inserting a new one.
Prabhu==>here you have table control ,so your record must cater atleast 5 partner functions then based on the requirement map the data...
> Issue 2: When i am using standard input method, its going through all the screens, and then going into, partner screen. If run in background, its stopping the processing on any error in some other screen.
Prabhu ==>its validating the vendor ,no other way to skip it if vendor was created with few errors/missing data ,what you can do is " in the stpe "maintain structure relations " just do mappings to Basic and Partner functions only .
>
> Please suggest me a solution where the partner lines items can be added and the screens between start and partner screen is skipped. -
LSMW issues with u00D1 and u00B4 signs
Hello,
I m using LSMW to load some object but i have some issues when the text in the source file contains Ñ or á é í ó ú... the LSMW in the upload change these for # sign.
Can anyone tell me an idea about why is happening? and how to solve it?
thanxHi
Did you check whether any coversion routine has been written for this?
Cheers,
Hakim -
Lsmw issue plz help its urgent
Hi Experts ,
i need to create a LSMW using batch input .
but the requirement is on the basis of conditions my recording need to be changed .
dat means
3127POL09 3127POL09-1 CTR 3127-1003E 100 FUL
3127POL09 3127POL09-2 WBS 3127POL01 60 FUL
for ctr i ill have to post data in screen number 200
and for wbs i ill have to post data in screen number 400 .
can we put some conditions in recording in lsmw ?
i no we can create multiple recording but how can we use them to fullfill my requirement .
plz help its urgent
thanx in advanceHi,
Within LSMW, there is an option to write our own code wherein this code can be incorporated.
This is in the Field Mapping Option...
Just go to the Menu Extras->Layout
and click on the check box Form Routines
Global Data.
Here you can define Global Variables and also perform your ABAP Coding.
Regards,
Balaji. -
Hello,
can me help anyone. I've an LSMW with an recorded transaction. I generate a BDC-map. Sometimes the transaction gives me a popup sometimes not. the popup show me only an information. It is possible to check when the popups comes up and quit it. Otherwise I got an error. And I've no chance to split the data in this with popup information and woth no popup information.
Any ideas?
Thank you!
Best regards
MartinSIs this a parameter? Where can I find this? Or did you mean the Batch-Input option in the Gui-Settings:
- Click on the GUI settings button.
- Click on the 'options'.
- Goto the 'Expert' Tab.
- Switch off the 'Dialog Box for OK-Code' Check box in the 'Batch Input' section.
- Save the settings by clicking 'Apply' and 'OK'.
Thank's for help! -
Vendor Master LSMW issue !
I'm sorry for reposting this thread but really need solution for this:
Hi all,
Im designing a lsmw for Vendor master [XK01] through recording , now the problem Im facing is ,there are two fields whose technical names as well as description is same 1.Authorization[LFA1-BEGRU] occurring at account control section screen SAPMF02K-120V, Authorization[LFB1-BEGRU] occurring at accounting Info screen SAPMF02K-210V.
2.Terms Of Payment key[LFB1-ZTERM] occurring at SAPMF02K-0215, Terms Of Payment key[LFM1-ZTERM] occurring at SAPMF02K-0310.
Now after recording both of the fields are captured in rec but when I try to Map the fields in step 4 i.e field mapping I can map only one of them as there is only one fieldby these names, BEGRU,ZTERM in target structure. Because of them two fields are left unmapped in o/p.
One more question of mine is how can I give external vendor numbers in this LSMW???
Thanks and regards
SachinIn my earlier response, I meant you can map one source field to 2 target fields.
apologies for writing the other way round.
Pls. check if you have maintained teh Structure relations and teh other previous steps correctly.
Here I am able to map one source fields to two different target field from diff. tables. -
LSMW Issue at step -Run Batch Input Session
Dear gurus,
While uploading service master through lSMW while processing the system prompts a message specifying "Buffertable not upto date" at Run Batch Input Session step .So please investigate what is missing/wrong.
Wirth regards,
RajI dont think that this has directly something to do with LSMW.
It is more related to the transaction your try to post in the batch input.
Search OSS with the error message number. I had seen some notes for number SE001, but your message is actually twice in the message table, and you did not tell the message number.
If it is message SE001, then you may find programm corrections in OSS.
Otherwise just log out and in again and try, or open a message at OSS yourself if the problem still persists -
LSMW issues for Sch. Ageement (Transaction VA31)
Hi ALL,
I am trying for the first time to create a LSMW to upload the Scheduling agreement. Could you pl guide me as to how exactly we map the Ship-to-party and Sold-to-party in BVBPAKOM structure?
I know that we will need to use Partner Type Field i.e. PARVW , if so how can we have one field mapped to two different values i.e. SP and WE at header level?
Also did you do this in one step using this program RVINVB10? How did you manage multiple lines on the scheduling agreement ?
One more problem that I am encountering is that its giving a message Shipping condition '01' is not defined.
The file contains the Shipping condition as '01', however the transaction maintains the Shipping condition as 'STANDARD' against the value of '01'. How to solve them ??
Any input is greatly appreciated.
BR
TanmoyHi,
Regarding the error: Period indicator S is not defined. I have discussed with the functional team without success. However in the debugger I note that the error is getting generated at the execution of this Function Module.
CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_OUTPUT'
EXPORTING
INTERNAL_DATE = FVBAKKOM-VDATU
INTERNAL_PERIOD = FVBAKKOM-VPRGR
IMPORTING
EXTERNAL_DATE = DA_KETDAT
EXTERNAL_PERIOD = DA_KPRGBZ.
Here the value for:
FVBAKKOM-VDATU is in the YYYYMMDD internal format
FVBAKKOM-VPRGR is S, however the internal_period is of type TPRG-PRGRS which has fixed values of:
1 Day
2 Week
3 Month
4 Posting period
5 Planning calendar period
BR
Tanmoy -
LSMW Issue (Depreciation Posting)
Hi,
My client uses LSMW to post depreciation in the system for Plant and Machinery. They use Shift Factor.
However, while uploading LSMW file, the upload goes successful and shows the interval being uploaded correctly in the system. However, the shift factor does not get uploaded correctly. :
1> On uploading for the first time, the system shows only one digit after decimel. For eg. if the shift factor is 1.28, the system after the LSMW upload shows only 1.2 ,
2> On uploading for the second time, the system shows that the interval has already been added in the system and it shows the shift factor as two digit after decimel as 1.20, instead of 1.28.
What could be the possibility of this happening?
Is ther any way wherein we can delete the uploaded LSMW file and do a fresh upload?
Kindly assist on the same.......Have a look to the decimal conversion you have in the LSMW-. When you work with EXCEL use round-up 2 decimals.
Use the same decimal format in you user defaults as in the upload file.
In LSWW i use text and no value fields. That solve a lot to -
LSMW Direct input method: 0150 Characteristics with Values
I am trying to upload several characteristics with Values using LSMW Direct Input method 0150.I have defined 2 level structure for Characetristic header and values. Have set the relevant indicators as 1 for characterisitc data and 2 for Values. I have set the T-code to CT04.I am trying to upload the data but only Characteristic data is getting generated and not the values. Can anyone help me out as to what may be the reason.
The fields I have in my uploading template is as below:
LINK NAME DESCRIPT STATUS FORMAT LENGTH DECIMALS UNIT WERT
1 TON WEIGHT LIFT CAPACITY 1 NUM 8 0 ton
2 20
2 50
2 60
2 70
2 100
The Fields I have mapped in Source structre are:
Source Fields
CHARACTERISTIC PM Characteristics
LINK C(001) Identify Field Content:1
Identifing Field Content: 1
NAME C(030) Characteristic Name
DESCRIPT C(030) Characteristic description
STATUS C(001) Status of a characteristic
FORMAT C(004) Data Type
LENGTH C(002) Number of Characters
DECIMALS C(002) Number of Decimal Places
UNIT C(006) Unit of Measure, Language-
CHARACTVALUE Characterisitc Values
LINK C(001) Identify field content
Identifing Field Content: 2
BLANK1 C(001) Blank1
BLANK3 C(001) Blank3
BLANK2 C(001) Blank2
BLANK4 C(001) Blank4
BLANK5 C(001) Blank5
BLANK7 C(001) Blank7
BLANK6 C(001) Blank6
WERT C(030) Characteristic Value
Source Structure is:
Source Structures
CHARACTERISTIC PM Characteristics
CHARACTVALUE Characterisitc Values
Structure relation is as below:
Structure Relations
BGR00 Batch Input Structure for Session Data <<<< CHARACTERISTIC PM Characteristics
Select Target Structure BGR00 .
BIMST Batch input for characteristics <<<< CHARACTERISTIC PM Characteristics
Select Target Structure BIMST .
BIMZW Batch Input: Allowed Characteristic Values <<<< CHARACTVALUE Characterisitc Values
Can anyone help me resolve this issue.....
Thanks in advance
MuradHi,
Go through this links its might helpfull to you.
Re: Porblem during characteristics LSMW
Assigning Characteristics to a class using LSMW
Issues Uploading Characteristics Data into SAP Using LSMW
LSMW: CHaracteristics Load
Thank you, -
LSMW User define routine translation
hi gurus,
I'm trying to load assets using LSMW. Everything is working fine except a minor issue. I'm trying to upload the vendors' for assets by using translation. There are some valid vendor codes which I've maintained in translation table. However there are some invalid vendor codes from legacy system (the asset is very old and the company doesn't deal with the vendor no more). For these invalid codes I want to assign a constant value but since I've not maintained the translation for these codes, LSMW issues an error during conversion. How can I create a user defined routine to assign the invalid vendor codes that I haven't maintained in the table to a constant value. thanksIn the step u201CMaintain Field Mapping and Conversion Rulesu201D declare global variables in the
u201CGlobal Data Definitions and Declarationsu201D section after you select all the checkboxes in the Popup window u201CDetermine Layoutu201D from the menu path u201CExtras / Layoutu201D.
Here is a example of the global data declaration :
__GLOBAL_DATA__
DATA: cTmp(250) TYPE C, iTmp TYPE I.
TYPES: BEGIN OF stBase.
TYPES : MESSAGE(250) TYPE C,MESSAGET
INCLUDE TYPE ZCAFSMMUPLDFMT.
TYPES : EWFIELDS(2000) TYPE C.
TYPES: END OF stBase.
Then, at the bottom of the u201CDisplay Field Mapping and Conversion Rulesu201D screen you can enter your User ABAP Routine within the u201CForm Routine (ABAP routines)u201D node. Below is a example of a routine :
FORM urOutputE1MARCM CHANGING pOut.
pOut = 0.
CLEAR waTmpE1MARCM. FREE itTmpE1MARCM.
MOVE-CORRESPONDING E1MARCM TO waTmpE1MARCM.
APPEND waTmpE1MARCM TO itTmpE1MARCM.
iTmp = 0.
iTmp = STRLEN( waTmpE1MARCM ).
IF iTmp > 0.
REPLACE ALL OCCURRENCES OF REGEX '/' IN TABLE itTmpE1MARCM WITH '
iTmp = 0. CLEAR waTmpE1MARCM.
MOVE-CORRESPONDING itTmpE1MARCM TO waTmpE1MARCM.
LOOP AT itTmpE1MARCM INTO waTmpE1MARCM. ENDLOOP.
iTmp = STRLEN( waTmpE1MARCM ).
IF iTmp > 0.
pOut = 1.
ELSE.
pOut = 0.
ENDIF.
ENDIF.
ENDFORM.
You can then call the routine within your mapping. I used the example a in the u201C__END_OF_RECORD__u201D node of a IDoc Segment to control whether or not the Segment is to be outputted or not.
PERFORM urOutputE1MARCM CHANGING iTmp.
IF iTmp > 0.
transfer_record.
ENDIF.
I hope this helps some.
Maybe you are looking for
-
How to tweet your screen as a pic
I'f seen often pics like this on twitter. But how do people tweet pics of what they see on the screen? I realy want to know!
-
Aperture is crashing my whole computer when editing
I am a Photographer and so I have many RAW files on my Mac.. I use Aperture to edit, but in the last few days when I am editing a picture (zoomed in, skin smoothing or retouching) Ap will just close, the only warning being the coloured spinning ball.
-
Hi We are planning to use TLS at the email server for authentication. We are using Oracle B2B 10g and in that using 'Custom document over generic exchange' protocol. Is there any other additional setting to be done in B2B for this set up? The TLS is
-
ICal won't open in snow leopard
It's saying 'You can't use this version of the application iCal with this version of Mac OS X. You have iCal 3.0.8' What to do?
-
I am attempting to create a report of transferred calls from the calldetailrecord table in the CDR database using Call Manager 4.2. I have read the documentation provided for the table and it looks to me like if there is a call from 555-1212 to ext 1