LSMW for FB50
Hi experts,
I am a new abaper..
I m doing LSMW for FB50, using recording method ( becoz i m not able to find few fields like HKONT( G/L account), BUDAT, BLDAT... fields in object: 0010 for direct input method) is ther any other direct i/p method object in that i can find out..BUKRS, BLDAT, BUDAT, WAERS, HKONT, SHKZG, WRBTR ?
Also.. How to handle data at line item, means for my one company code if there are 2 G/L account entries but for another company code, ther are 6 entries... its only able to upload one line item..
so how to handle table fields in LSMW?
I tried to create header & item sturcture in maintain source struct. wid key BUKRS, but in recording its not allowing me to define two structures...
Is ther any other method to handle table fields? if some coding is required .. plz give with some example
Thanks in advance & points will be rewarded for all helpful answers.
neo S.
Thanks seshu,
That helped me, but stil I am not able to find out debit/credit indicator field that is SHKZG.
Also for iteam level, I have to use this to fields that r in Accounting Document Segment (Batch Input Structure)
NEWUM Special G/L Indicator for the Next Line Item
NEWBK Company Code for the Next Line Item
How to use that, can any one please guide me in detail...
Thanks,
neo S.
Similar Messages
-
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 -
BADI or User exit for FB50 to update custom field in table COEP
Hi all,
i have added one custom field in table COEP through include CI_COBL .
when i do posting through sales order(VA02) or purchase order(ME22n) that custom fields in COEP get updated with controlling document
and through BADI AC_DOCUMENT i m updating that custom field in COEP.
but when i do manual posting through FB50 controlling document is generated in COEP but i m not able to update that custom field
because in this case BADI AC_DOCUMENT is not get triggered.
is there any BADI or User exit or enhancement spot for FB50 through which i can update that custom field in table COEPHi Sandy,
Thanks for u r reply,
RFAVIS01 is not getting triggered through FB50
and F180A001 ( EXIT_SAPLF048_001) is getting triggered but it doesnt contain COEP field in its parameter
import - F180A_DOC_HEAD_TAB
F180A_DOC_ITEM_TAB
changing - RELATION_TAB -
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 -
Creation of lsmw for updation of position and pers area
Hi friends,
I am tried many time to update position and personnel area through lsmw for all employees ,at time of recording its coming.But once compltion of lsmw preparation i am uploaded my inputs through tabfile that time its updating only personnel number and infotype and its asking the save the action screen (At the same time its showing one popup below screen like there is no recording for mp000000).Can you tell any one there whats the problem.At the same time is it possible to upload the position and personnel area through lsmw.
Thanks,
arjun.Hi Arjun
Are you performing a hiring actions, if you are performing a hiring action, when you start with LSMW, the recording should be correct with hire date or start date, personnel number, reason for hire, position number, personal area, employee group and subgroup.
The source field you specific should contain the required field name, type, length and field discription. The field mapping should be done perfectly and assign the specified file in txt format and try to upload.
If you are facing any problem, let me know. I think I can help you
Regards
Santhosh.S -
Is it possible to create LSMW for PQ10, PQ13?
Hi Fridz,
I have created the OM actions, now I'm trying to create LSMW for the actions PQ10 (creation of org unit), PQ13 (Creation of Position) but while recording LSMW relationships are not creating under - Maintain Field Mapping and Conversion Rules in LSMW. Please advice on this whether these transactions are possible to create LSMW with fore & backgroung.
$NarayanaHi Narayana,
Use BDC's for better maintainance of relationship. which worked fine for me.
thanks,
vasu. -
Hi,
I am not able to find an LSMW for creating GR for outbound delivery. I tried using recording in MIGO but it did not work. Also MB1C is not working for outbound delivery. Please help.
Regards,
AnubhavHi
I think it is better to write a Z program/ BDC to have a mass GR creation of an outbound delivery.
or
You have an Auto Goods receipt using confimations. If we activate Auto GR in customizing for Confirmation control key. Once confirmations(ASN) is created a GR will be created automatically.
Hope this helps
Regards,
Sasi -
A small logical problem in LSMW for MM01...
I need to create a LSMW for MM01 transaction, wherein I have to check the initial four
digits of the material as 'ORCL'. If initial four digits of the
incoming material are 'ORCL', then create this material as it is.
Else replace these four digits with 'SAPM' (for sap material) while
creating this material.
This will differentiate between materials coming from Oracle and non
oracle system.
I know that I need to create a new rule in the step 5 of LSMW: "Maintain Field Mapping and Conversion Rules", under the ABAP heading.
But, how should the rule proceed??
Pls help me out!!!awesome! thnks a lot naimesh.... you are tooo goood!
Can you please help me again...??
Now, I need to replace the records which are not 'ORCLXXX' with SAPXXX format. For example, say a record has the material number as ORCL007. This will pass on and created as ORCL007. If a record has the material number as MMMM007, this should be converted to SAPM007.
Should I use fieldsymbols for this, or just replace the strings??
This will be the last, I promise.... -
Hi Guys,
I am using LSMW for uploading the Purchase order. This I could able to do without any problem for single line item P.O.
This was done by recordning method.
Can some one explain how to upload purchase order for more that one line item.
Thanks,
Dhanu
Edited by: Dhananjayappa E on Jul 30, 2008 4:40 PM
Edited by: Dhananjayappa E on Jul 30, 2008 4:40 PMIt is Somewhat Difficult to Contol Screen Variables While Using LSMW. If the Data is Bulk Use BDC with the Help of Abaper.
http://aspalliance.com/1130_Batch_Data_Communication_BDC_in_SAP_R3
http://abap-gallery.blogspot.com/2007/08/bdc-batch-data-communication-tutorial.html
http://it.toolbox.com/wiki//index.php/Bdc
Regards,
Ashok -
Lsmw for purchase requisition and purchase order
hi all
can anyone brief me for lsmw for PR & PO.In lsmw in first step selec the option one standard object
Object 0085 Purchase Order
Method 0001 Purchase order
Program Name RM06EEI0.
Program Type D Direct Input
then save and come back and then go to object overview here u will find all the fields use in this object u can upload.
After this follow the normal step.
for pur req use object 0080. -
Hi Guys,
I have a requirement where i create lsmw for bom upload using batch input. I m trying to create only one source structure and source fields assigned to this source structure but when finally im executing it its creating the first line item correctly but for all the second line items onwards its saying that Alternative already exists... My functional guy says that its creating just the first component in the bom and for the second component its trying to create another bom...and while its checking for the header which is already created its giving us error..
I dont know how to handle this.....guys its a little urgent....plz help me out.
here is a snap shot of the errors..
10:25:44 Session BOM-CREATE is being processed by user KALVALV in mode N on server psdux07 0 0 S 00 300
10:25:44 Creating BOM for material 10000240 CS01 1 SAPLCSDI 0140 7 S 29 030
10:25:45 Transaction was processed successfully CS01 1 0 S 00 355
10:25:45 Alternative 1 already exists CS01 2 SAPLCSDI 0100 1 E 29 003
10:25:45 Transaction error CS01 2 0 S 00 357
10:25:45 Creating BOM for material 10000346 CS01 3 SAPLCSDI 0140 7 S 29 030
10:25:45 Transaction was processed successfully CS01 3 0 S 00 355
10:25:45 Alternative 1 already exists CS01 4 SAPLCSDI 0100 1 E 29 003
10:25:45 Transaction error CS01 4 0 S 00 357
10:25:45 Creating BOM for material 10000347 CS01 5 SAPLCSDI 0140 7 S 29 030
10:25:46 Transaction was processed successfully CS01 5 0 S 00 355
10:25:46 Alternative 1 already exists CS01 6 SAPLCSDI 0100 1 E 29 003
10:25:46 Transaction error CS01 6 0 S 00 357
10:25:46 Creating BOM for material 10000785 CS01 7 SAPLCSDI 0140 7 S 29 030
10:25:46 Transaction was processed successfully CS01 7 0 S 00 355
10:25:46 Alternative 1 already exists CS01 8 SAPLCSDI 0100 1 E 29 003
10:25:46 Transaction error CS01 8 0 S 00 357
10:25:46 Creating BOM for material 10001252 CS01 9 SAPLCSDI 0140 7 S 29 030
10:25:46 Transaction was processed successfully CS01 9 0 S 00 355Hi,
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
Maybe you are looking for
-
I have found what I believe is a "problem" with JPGs downloaded using Nikon Transfer (ver 1.4.1) and processing same in Adobe Bridge CS4 (Develop Settings) and/or Adobe Camera Raw 5.3 (Photoshop CS4 and Elements 6 as hosts). Anyone using these progra
-
Trouble with the Eye Dropper tool
The Eye Dropper tool is acting funky. It was preventing me from picking up the color of my template when in outline mode - instead selecting no fill and no stroke. I finally got it to work by unchecking "Appearance" in the tool options. I didn't actu
-
Why No Mini Bridge in AI CS6?
Am I the only one that thinks this feature would be really a time saver in AI. I mean since you can drag and drop from the finder images and files into AI and the mini bridge brings the finder to your work space I think it would be helpful to not hav
-
Old iCal-Calandars stay somewhere in cache and won't go away when syncing
Hey guys, this should be an easy question but it disturbes me for months now. I have old and outdated Calandars on my iPhone. All i want is to have exactly the content i use in iCal ond my iPhone. I know there is a marker to replace the stuff that is
-
IPad memory shows it's full - it was only half full when I last connected to iTunes
Since I bought my iPad 3 (64 GB) and connected it to iTunes, the memory used has, until today, been about half full. Today, when i connected the iPad to update the iOS software, it shows, suddenly, that I have less than 0.1 GB left, yet I've download