LSMW/BDC FOR SCC1
Hi Gurus.
I want to create lsmw for SCC1.
BUT WHEN I AM CREATING THAT.
I CAN SEE MESSG. SAYING THAT "No default name could be found for field 'COMFILE'." and "No default name could be found for field 'INCL'."
these fields containing stracture.
but COMFILE having table that is E070-TRKORR.
now how to map in LSMW E070-TRKORR with COMFILE.
your answer will be appriciable.
Regards
SM
Hi SSMS,
when using Direct input method , u have to choose correct structure and exact fields where the data is exactly populating , if the field is not there which ur looking for , there is alternative field name where the field value is populating,
just check out that and mapp properly,
if u r facing difficulty , just go through with Recording method.
Thanks
Similar Messages
-
Hello Friends,
I have created LSMW (recording) for Migo Transaction .
After running the LSMW it is not storing data for fields BED,SED,ECS in Excise ItemTab in Migo.
I have also created a BDC and done recording through SHDB.
But still the problem remains the same.After running BDC also it is not storing data for fields BED,SED,ECS in Excise ItemTab in Migo.
I have run the BDC/LSMW in foreground mode where it places the values to the corresponding fields
but does not save it.
But Manually doing Migo Transaction it stores the values for above field.Hi,
WA_GOODSMVT_ITEM-MATERIAL = P_MATNR. "'000000000000001556'.
WA_GOODSMVT_ITEM-PLANT = P_WERK. " '1000'.
WA_GOODSMVT_ITEM-STGE_LOC = P_LGORT. " '0001'.
WA_GOODSMVT_ITEM-MOVE_TYPE = 'Z42'.
WA_GOODSMVT_ITEM-VENDOR = P_ZZORG. "'0000100224'.
WA_GOODSMVT_ITEM-ENTRY_QNT = P_BAG. " '1'.
WA_GOODSMVT_ITEM-ENTRY_UOM = S_MARA-MEINS.
WA_GOODSMVT_ITEM-ENTRY_UOM_ISO = S_MARA-MEINS.
WA_GOODSMVT_ITEM-MOVE_PLANT = P_WERKS.
APPEND WA_GOODSMVT_ITEM TO T_GOODSMVT_ITEM.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = T_GOODSMVT_HEADER
GOODSMVT_CODE = T_GOODSMVT_CODE
IMPORTING
MATERIALDOCUMENT = V_MATERIAL
TABLES
GOODSMVT_ITEM = T_GOODSMVT_ITEM
RETURN = T_RETURN.
EXPORT t_return to MEMORY ID '123'.
EXPORT V_MATERIAL TO MEMORY ID 'MAT'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = ' '.
Thanks,
Shailaja Ainala. -
LSMW/BDC for service PO creation
Dear all,
Can anybody pl suggest how to create an LSMW or BDC for service PO creation with multiple
line items and under each line item there will be multiple service line items also.
Thx
Amitavahi,
You could do LSMW without the help of a technical consultant.
In LSMW you could create a PO by BDc or through BAPI.
Make use of the BAPI to create.
BAPI_PO_CREATE1. ( Nothing but a Se37 Function module).
the parmeters required can be checked in funcition module documentaion in the bapi.
Hope this helps.
harish -
House number for LSMW /BDC
HI Experts,
When am doing the LSMW/BDC for Customer master House number field in general data.
the" house number " filed is not appearing since Street filed only apearing.
Is there any method to appear house no. filed .
I want to update house no filed for multiple customers.
Regards
VenkatHi
I will suggest to use the LSMw with Standard Batch/Direct input method with following details
Object 0050 Customer master
Method 0000
Program Name RFBIDE00
Program Type B Batch Input
after that you can select the field HOUSE_NO in the structure BIADDR2 - BI Structure for Consumers and maintain the same in the sorce fields
REgards
Damu -
BDC or LSMW program for AS91 transaction
HI gurus,
i need a BDC or lsmw program for tran:AS91 ie.create legacy data for two inter company data transfer.can anyone please help me bkz it's very urgent for me...
i promise that if i get the ans i reward u.Hi,
Use Function Module:MAINTENANCE_PLAN_POST -
How to upload data for me01 using LSMW BDC METHOD
*hi export please tell me the complete procedure for uploading data in me01 using LSMW BDC METHOD*
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on May 8, 2011 10:06 PMHi,
To be honest I don't understand your question. When You execute LSMW and create project, then all steps are shown in a very clear way with good description. With which one you have problems?
Best regards
Marcin Cholewczuk -
We have developed a bdc for t-code MB01. We want to genreate material documents in background. For some reasons we are not in a position to use BAPI for MIGO (as we are not able to input data of two fields). we are on ECC 6.0
BDC for MB01 is working fine. Only thing is we want to input "Goods recipient" also in this bdc. But we are not able to find this field in MB01. is it possible to get goods recipient also in MB01? how to do it?
Also is there any problem in using bdc for MB01 instead of MIGO?Hello,
try LSMW with Object 0110 - Material movement.
You can develop standard LSMW for this object in half an hour.
Andrzej -
Hi Friends,
i want to write a BDC FOR MM02 T.CODE AT PLANT LEVEL AND METERIAL LEVEL.
I WANT UPLOAD THE BELOW FEILDS DATA :
THE FIELDS THAT I WANT UPLOAD IS EISBE(SAFETY STOCK) , MAABC(ABC INDICATOR)
AND WZEIT(LEAD TIME).....AT PLANT LEVEL AND METERIAL LEVEL.
PLS HELP ME.... IT IS AN URGENT.
REGARDS,because with LSMW , you can standard program RMDATIND (direct input ==> faster than batch input.
In step 1 : you select standard program (OBject 0020 method 0000)
In step 2 you define source structure ZSRC_MARA
In step 3 you list the fields : MATNR, WERKS, MAABC, MINBE
In step 4 you make the link of your source struture to BGR00, BMM00, BMMH1
In step 5 you map your fields + BMM00-XEID1 ( you have to flag the views you consider).
Finished from developpement side
DAvid -
Initial inventory upload using LSMW,BDC
Dear Friends,
I am trying to upload data for Initial inventory capturing of valuation type for t.code MB1C using LSMW,BDC BECAUSE of valuation type it is not capturing
please guide me.I am using SAP Ecc 5 version.
Thanks in advance.
Rafeeq ahmedHi Sameer,
Have a look at these threads, they might help you
Chart of Accounts Upload
Problem: LSMW with transaction FS00 create account (BI is not generated)
Thanks
Janani
award points if helpful -
Hi Friends,
Anyone who had developed the BDC for FB01 T-code, please send me the source code . I am not able to create BDC for both header and line itemswise.
Deepak.Hi Deepak,
check BDC standard program RFBIBL00 or FM
BAPI_ACC_GL_POSTING_POST
BAPI_ACC_DOCUMENT_POST
Also check
Re: LSMW: problem with object RFBIBL00 tx FB01 (sapmf05a no data)
Hope this helps
Thanks
Lakshman -
Dear Gurus,
I want to create a BDC for GR-INBOUND DELIVERY.Is there any process that we have to upload two text files one at header level & one at item level.Pls suggest if there is any other method.
Regards,
Prasad.1)Create a recording of inbound delivery creation if u want to create in mass.
2) Make a note of all the filds recorded and make a excel sheet then convert it in notepad.
3) Upload it by LSMW. -
Hi Abapers,
I have got an assignment to create a LSMW to accomplish the loading of Bill of material but I have never done LSMW
before. So Can anybody please tell me that out of four processes in LSMW which one I should use and the flow of that.
Thanks in Advance
DeepaHi Deepa,
I have used bdc for bom creation as I got stuck while using lsmw. I am attaching code snippet for your reference.
Hope this helps
loop at itab1.
move itab1 to wa_itab1.
perform map_rec.
call transaction 'CS01' using t_bdcdata mode p_mode update 'A'
messages into messtab .
* clear: wa_itab1,wa_itab2, t_bdcdata.
* refresh t_bdcdata.
loop at messtab where msgtyp = 'E' or msgtyp = 'S' .
select single * from t100 where sprsl = messtab-msgspra
and arbgb = messtab-msgid
and msgnr = messtab-msgnr.
if sy-subrc = 0.
mstring = t100-text.
if mstring cs '&1'.
replace '&1' with messtab-msgv1 into mstring.
replace '&2' with messtab-msgv2 into mstring.
replace '&3' with messtab-msgv3 into mstring.
replace '&4' with messtab-msgv4 into mstring.
else.
replace '&' with messtab-msgv1 into mstring.
replace '&' with messtab-msgv2 into mstring.
replace '&' with messtab-msgv3 into mstring.
replace '&' with messtab-msgv4 into mstring.
endif.
condense mstring.
it_messtab-message = mstring(300).
it_messtab-plant = itab1-matnr.
if messtab-msgtyp = 'E'.
it_messtab-status = 'Error'.
else.
it_messtab-status = 'Success'.
endif.
append it_messtab.
clear it_messtab.
endif.
endloop. "messtab
clear: wa_itab1,wa_itab2, t_bdcdata.
refresh t_bdcdata.
endloop.
if not it_messtab[] is initial.
perform buildcatalog.
perform display.
endif.
endif.
*& Form Map_Rec
* text
form map_rec.
perform bdc_dynpro using 'SAPLCSDI' '0100'.
perform bdc_field using 'BDC_CURSOR' 'RC29N-STLAN'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'RC29N-MATNR' wa_itab1-matnr."'505111'.
perform bdc_field using 'RC29N-WERKS' wa_itab1-werks."'2245'.
perform bdc_field using 'RC29N-STLAN' wa_itab1-stlan."'1'.
perform bdc_field using 'RC29N-STLAL' wa_itab1-stlal."'01'.
perform bdc_dynpro using 'SAPLCSDI' '0110'.
perform bdc_field using 'BDC_CURSOR' 'RC29K-BMENG'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'RC29K-BMENG' wa_itab1-bmeng."'1000'.
perform bdc_field using 'RC29K-STLST' '1'.
perform bdc_dynpro using 'SAPLCSDI' '0111'.
perform bdc_field using 'BDC_CURSOR' 'RC29K-LABOR'.
perform bdc_field using 'BDC_OKCODE' '/00'.
loop at itab2 where matnr = wa_itab1-matnr
and werks = wa_itab1-werks.
append itab2 to itab3.
clear : itab2, itab3.
endloop.
count = '1'. "Used as a flag
clear no_lines.
describe table itab3 lines no_lines.
loop at itab3.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR' 'RC29P-POSTP(01)'.
if itab3-posnr = '01'.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR' 'RC29P-POSTP(01)'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'RC29P-IDNRK(01)' itab3-idnrk." '49500'.
perform bdc_field using 'RC29P-MENGE(01)' itab3-menge."'20'.
perform bdc_field using 'RC29P-MEINS(01)' itab3-meins. "'kg'.
perform bdc_field using 'RC29P-POSTP(01)' itab3-postp. "'l'.
perform bdc_dynpro using 'SAPLCSDI' '0130'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'BDC_CURSOR' 'RC29P-POSNR'.
perform bdc_field using 'RC29P-POSNR' '0010'.
perform bdc_field using 'RC29P-IDNRK' itab3-idnrk." '49500'.
perform bdc_field using 'RC29P-MENGE' itab3-menge."'20'.
perform bdc_field using 'RC29P-MEINS' itab3-meins. "'KG'.
perform bdc_dynpro using 'SAPLCSDI' '0131'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'BDC_CURSOR' 'RC29P-POTX1'.
perform bdc_field using 'RC29P-SANKA' 'X'.
else.
***" Ok Code for saving, Corr. to Last line
if count = no_lines.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR(02)'.
perform bdc_field using 'BDC_OKCODE'
'=FCBU'.
else. "Ok Code for new line entry
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR(02)'.
perform bdc_field using 'BDC_OKCODE'
'=FCNP'.
endif.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR(02)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RC29P-IDNRK(02)'
itab3-idnrk. "'49502'.
perform bdc_field using 'RC29P-MENGE(02)'
itab3-menge. "'10'.
perform bdc_field using 'RC29P-MEINS(02)'
itab3-meins. "'kg'.
perform bdc_field using 'RC29P-POSTP(02)'
itab3-postp. "'L'.
perform bdc_dynpro using 'SAPLCSDI' '0130'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR'.
w_posnr = itab3-posnr * 10.
condense w_posnr no-gaps.
if w_posnr <= '90'.
concatenate '00' w_posnr into w_posnr.
else.
concatenate '0' w_posnr into w_posnr.
endif.
perform bdc_field using 'RC29P-POSNR'
w_posnr. "'0020'.
perform bdc_field using 'RC29P-IDNRK'
itab3-idnrk. "'49502'.
perform bdc_field using 'RC29P-MENGE'
itab3-menge. "'10'.
perform bdc_field using 'RC29P-MEINS'
itab3-meins. "'KG'.
perform bdc_dynpro using 'SAPLCSDI' '0131'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POTX1'.
perform bdc_field using 'RC29P-SANKA'
'X'.
count = count + 1. "Increment count for every line item
endif.
at end of matnr.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR(01)'.
perform bdc_field using 'BDC_OKCODE'
'=FCBU'.
endat.
endloop.
clear itab3[].
endform. "Map_Rec
** Form BDC_DYNPRO
form bdc_dynpro using program dynpro.
clear w_bdcdata.
w_bdcdata-program = program.
w_bdcdata-dynpro = dynpro.
w_bdcdata-dynbegin = 'X'.
append w_bdcdata to t_bdcdata.
endform. "bdc_dynpro
** Form BDC_FIELD
form bdc_field using fnam fval.
if fval <> space.
clear w_bdcdata.
w_bdcdata-fnam = fnam.
w_bdcdata-fval = fval.
append w_bdcdata to t_bdcdata.
else.
clear w_bdcdata.
w_bdcdata-fnam = fnam.
w_bdcdata-fval = fval.
append w_bdcdata to t_bdcdata.
endif.
endform. "bdc_field -
We are having a procedure in our company where we balance the production order qty (target qty =delivered qty)
currently we are having a LSMW for that purpose,but this is done centrally by SAP Team and here lies the problem.
You can Imagine orders from 13 plants come to one station for this purpose.
1) We are having a BDC for bom uploading zcs01 created from bdc ,where user calls the transaction zcs01,and the required file is uploaded for creation by giving the path for it...
Similar to the above example is it possible to create a similar bdc and tcode,where user at plant level can easily operate the production order to balance the qty....
2) Is this possible from ourside without much help from ABAPer,since we are able to create lsmw,recordings through shdb...
I once tried to do so thru shdb,recording was created,I also generate a program .but while executing it I am confused how to show the destination file where I've the data to be uploaded...
Plz help...
Correct me if I am getting wrong...
RahulTHANKS FOR YOUR INPUT,
WE ARE QUITE AWARE OF LSMW WORKING,BUT CANT GIVE AUTHORITY TO PLANT USERS TO LSMW,HENCE WE AT CENTRAL ARE MAINTAING ALL MASTER DATA AND ALSO THE PROCEDURE OF BALANCING ORDER....
CAN YOU PLEASE TELL ME HOW THIS BOM UPLOADING BDC IS CREATED?
WORKING:- WE JUST MAINTAIN ALL THE FIELDS RELATED TO BOM IN AN EXCEL FILE AND THEN UPLOAD IT TO DESIRED DESTINATION,THEN WE CALL TRANSACTION ZCS01 AND GIVE THE REQUIRED DESTINATION OF FILE WE WANT TO UPLOAD
AFTER EXECUTING THE REQUIRED BOM ARE BEING CREATED.
I BEING A FUNCTIONAL GUY ,NOT HAVING THE REQ KNOWLEDGE...
PLEASE THROW SOME LIGHT ON IT..... -
pls tell the differences between LSMW and BDC?
Hi Ramnarayana,
<b><u>BDC:</u></b>
BDC is a technology used for data transfer.
It is meant for transferring data through SAP transactions itself.
It is for inbound / outbound processing.
When you use BDC for data transfer, the sequence of steps is the same as when you use standard sap transaction screens for data upload.
The only difference is that you can use different options for foreground and background processing.
Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.
BDC is an automatic procedure.
This method is used to transfer large amount of data that is available in electronic medium.
BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).
BDC uses normal transaction codes to transfer data.
Types of BDC :
CLASSICAL BATCH INPUT (Session Method)
CALL TRANSACTION
BATCH INPUT METHOD:
This method is also called as CLASSICAL METHOD.
Features:
Asynchronous processing.
Synchronous Processing in database update.
Transfer data for more than one transaction.
Batch input processing log will be generated.
During processing, no transaction is started until the previous transaction has been written to the database.
CALL TRANSACTION METHOD :
This is another method to transfer data from the legacy system.
Features:
- Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
- Updating the database can be either synchronous or asynchronous. The program specifies the update type.
- Transfer data for a single transaction.
- Transfers data for a sequence of dialog screens.
- No batch input processing log is generated.
<b><u>LSMW</u></b>
LSMW on the other hand is a tool that helps migrate data from a legacy system (non-sap system ) to SAP system.
It is for inbound processing.
It offers you various options to use either batch input, direct input, BAPIs or idocs.
It involves a series of steps to migrate data.
The main advantages of the LSM Workbench:
- Part of R/3 and thus independent of individual platforms
- A variety of technical possibilities of data conversion:
- Data consistency due to standard import techniques:
Batch input
Direct input
BAPIs (Business Application Programming Interfaces)
IDocs (Intermediate Documents)
The import technique to be used in an individual case depends on the business object.
- Generation of the conversion program on the basis of defined rules
- Clear interactive process guide
- Interface for data in spreadsheet format
- Creation of data migration objects on the basis of recorded transactions
- Charge-free for SAP customers and SAP partners
<b><i>Please check the below link for your kind reference:</i></b>
Diff. between LSMW & BDC?
<b>Please reward points if it is useful.
Cheers !
Moqeeth.</b> -
LSMW BAPI for Initial Stock (561)
Hi all,
I've done LSMW for initial stock (movement type 561) using BAPI method:
Business object = BUS2017
Method = CREATEFROMDATA
Message Type = MBGMCR
Basic Type = MBGMCR03
LSMW works well but the result shows material document with only one item.
How can I generate material document from LSMW BAPI with many items within?
Thanks in advance.
PeerasitTry Another option as below
Make bdc for MB1C stock upload using movement type 561 by recording through transaction SHDB.
Regards,
Sandesh Sawant
Maybe you are looking for
-
Manually turning off iMac G5 Display
Hi, I've been searching around and haven't been able to find an answer to this. I have my computer set to turn on the screen saver after 5 minutes of inactivity and turn off the display after 15 minutes of inactivity, and I like it that way. My compu
-
I have somehow gotten a VPN line added to my settings just below Personal Hotspot. Unless this is turned on I am unable to connect to the interenet. How do I get rid of this VPN?
-
Invalid XML character in castor XML
I am using castor API for converting an object into XML. When I marshal the object, following exception occur: java.io.IOException: The character '' is an invalid XML character at org.apache.xml.serialize.BaseMarkupSerializer.characters(Unknown
-
How to covert apple store to another country
how to make a different country change to have acces to upgrade apps.
-
I'm trying to install ID CS2. I experienced the same problem as another poster--it unexpectedly quit immediately upon launching. I logged into my testing account, trashing prefs, but that didn't help. Now I want to re-install it. I followed most of t