BAPI/BADI for mass upload
Hi Everybody,
I want to mass upload all the entries in EK01 and EK02 from an excel file (or any legacy system)rather than manually entering all the details which consumes a lot of time.Althogh we can do it through LSMW but if there could be a a BAPI/BADI/program to do the same. Please suggest me the same.
Regards,
Richa Tyagi
Edited by: Richa Tyagi on Feb 22, 2011 6:43 AM
Its an IMG ( customizing ) activity hence you wont find BAPI / upload programme for the same .
Only tool which i feel for the requirement mentioned is LSMW . As you wont be configuring your system on a frequently basis , its rather a one time activity .
Regards ,
Dewang
Similar Messages
-
LSMW/ BAPI method for Document upload (CV01N)
Hi All,
Could you please let me know if it is possible to use LSMW (BAPI method) for creation of document ?(using CV01N) and linking files.
If yes, what is the business object for doing the same?
I did came across a BAPI "BAPI_DOCUMENT_CREATE2", but in order to use it for mass upload , we will have to develop a program. SO I was trying to see of the LSMW method could be used.
Thanks and Regards,
NarendraHi Narendra,
LSMW is not supporting for attachements. Please check and confirm. If you have to upload bulk files then use BDC(Batch data collection) it's very useful for uploading thousands documents at a time. Ask abap'r to write a bdc program.
I hope this will resolve the query.
Regards,
Ravindra -
I want to change Material Type for mass upload.(MMAM)
hi all,
I want to change Material Type for mass upload.(MMAM)
Suggestion pls? or Any BAPI is availablre?
Edited by: abap_friends on Jan 6, 2011 7:12 AM
Moderator message: please do your own research before asking.
Edited by: Thomas Zloch on Jan 6, 2011 11:27 AMThis may be little tough for 10000 sales orders.
1. You have to remove the output record for the irrelevant output record using tcode VV12 for the relevant document type. So now for the document type, the old output wont be triggered.
2. Now, create output records for hte correct output type in VV11 tcode(for the output type BA03) for the document type. Now this output will be triggered for all the document types you are creating from now onwards.
3. To trigger the output type BA03, in all the old orders, you just have to open these sales orders in change mode (VA02), and just save it. When u open it the output type BA03 will be automatically triggered as the master data is maintained in VV11. But because just opening all the 10000 sales orders in VA02 one by one be a mechanical task, you have to think of some tool for this.
May be a CATT procedure can do the trick. Else, you can just create a small program, where you can upload these sales orders and the program will just open these orders in change mode and just saves it (without making any changes). Then the output will be retriggered.
Here again, if you are printing the output directly, it is advisable to trigger the output in batch mode(Date/Time field is 1 in VV11), and then you can again trigger the printing again using the program RSNAST00 after office hours for these 10k orders.
I hope I answered ur query.
Pls lemme know if you need some more info. (You can reward me too...) -
Any BAPI available for mass creation/change/delete for dependency net
Hi guys,
Any BAPI available for mass creation/change/delete for constraints in dependency net. I mean any uploading option in mass for creation, change and delete.
Regds
RegdsHi,
Check if the below FM's meet your need:
CAMA_CNET_CONSTRAINT_MAINTAIN
CAMA_CONSTRAINT_NET_MAINTAIN
CAMA_DEPENDENCY_MAINTAIN
Regards,
Vivek -
Hi Everybody
Is there any tools available for mass upload of documents into server? please provide me the information.
Thanks
PrasadHi Prasad,
There are several options that you can explore for mass document upload and see which best fits your requirements and constraints:
-You can upload documents by using LSMW(Legacy System Migration Workbench). Using this, you can safely upload 1000-1100 documents at one go.
- Ask your ABAPer to develop a BDC for mass document upload.
- Use 'DMS Loader' solution from SEALS systems. http://www.sealsystems.de/fileadmin/mediaFiles/Factsheets/DMS_Loader_en.pdf
Regards,
Pradeepkumar Haragoldavar
Edited by: Pradeepkumar Haragoldavar on Jun 17, 2010 11:09 AM -
Hello ! pls give some ti[ps how to use bapi's for data uploading?
hello !
pls give some ti[ps how to use bapi's for data uploading?
regards,
ArjunHi,
See the below report extract:
where it_data is having uploaded data.
LOOP AT<b> it_data</b> INTO wa_data.
line_count = sy-tabix.
"Date Validation
CONCATENATE wa_data-uplft_date4(4) wa_data-uplft_date2(2) wa_data-uplft_date+0(2)
INTO wa_data-uplft_date.
"READ TABLE it_ekko INTO wa_ekko WITH KEY lifnr = wa_data-vendor.
LOOP AT it_ekko_temp INTO wa_ekko_temp WHERE lifnr = wa_data-vendor.
IF wa_ekko_temp-kdatb <= wa_data-uplft_date AND wa_ekko_temp-kdate >= wa_data-uplft_date.
MOVE-CORRESPONDING wa_ekko_temp TO wa_ekko.
APPEND wa_ekko TO it_ekko.
ENDIF.
ENDLOOP.
"IF sy-subrc = 0 AND wa_ekko-kdatb <= wa_data-uplft_date AND wa_ekko-kdate >= wa_data-uplft_date.
LOOP AT it_ekko INTO wa_ekko.
wa_data_header-pstng_date = wa_data-uplft_date.
wa_data_header-doc_date = sy-datum.
wa_data_header-bill_of_lading = wa_data-bill_of_lad.
wa_data_header-ref_doc_no = wa_data-del_no.
CONCATENATE wa_data-header_text1 '-'
wa_data-header_text2 '-'
wa_data-header_text3 '-'
wa_data-header_text4
into wa_data_header-HEADER_TXT.
IF wa_data-indicator = 'Y'.
wa_data_item-material = '000000000000200568'.
ELSE.
wa_data_item-material = '000000000000200566'.
ENDIF.
LOOP AT it_ekpo INTO wa_ekpo WHERE ebeln = wa_ekko-ebeln AND matnr = wa_data_item-material.
"Collect Item Level Data
wa_data_item-plant = '1000'.
wa_data_item-stge_loc = '1001'.
wa_data_item-move_type = '101'.
wa_data_item-vendor = wa_data-vendor.
wa_data-qnty = wa_data-qnty / 1000.
wa_data_item-entry_qnt = wa_data-qnty.
wa_data_item-po_pr_qnt = wa_data-qnty.
wa_data_item-entry_uom = 'KL'.
wa_data_item-entry_uom_iso = 'KL'.
wa_data_item-orderpr_un = 'KL'.
wa_data_item-orderpr_un_iso = 'KL'.
wa_data_item-no_more_gr = 'X'.
wa_data_item-po_number = wa_ekpo-ebeln.
wa_data_item-po_item = wa_ekpo-ebelp.
wa_data_item-unload_pt = wa_data-unload_pt.
wa_data_item-mvt_ind = 'B'.
APPEND wa_data_item TO it_data_item.
CLEAR wa_data_item.
ENDLOOP.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_data_header
goodsmvt_code = goodsmvt_code
testrun = 'X'
TABLES
goodsmvt_item = it_data_item
return = return.
READ TABLE return INTO wa_return WITH KEY type = 'S'.
IF sy-subrc <> 0.
DESCRIBE TABLE return LINES sy-tfill.
IF sy-tfill = 0.
CALL FUNCTION <b>'BAPI_GOODSMVT_CREATE'</b>
EXPORTING
goodsmvt_header = wa_data_header
goodsmvt_code = goodsmvt_code
testrun = ' '
TABLES
goodsmvt_item = it_data_item
return = return.
CALL FUNCTION <b>'BAPI_TRANSACTION_COMMIT'</b>
EXPORTING
WAIT = 'X'
IMPORTING
RETURN =
ENDIF.
ENDIF.
LOOP AT return INTO wa_return.
WRITE: 'Messsage TYPE ', wa_return-type,
/,'ID ', wa_return-id,
/, 'Number ', wa_return-number,
/, 'Message ', wa_return-message,
/, 'Long Text ', wa_return-message_v1,
wa_return-message_v2,
wa_return-message_v3,
wa_return-message_v4,
/, 'Failed at line', line_count.
ENDLOOP.
CLEAR: wa_ekko, wa_ekpo, wa_data, it_data_item[], wa_data_header.
ENDLOOP.
Reward if useful! -
BAPI functions for file upload
Hi All,
can anyone tell me Bapi functions for the file or image upload using?
With best regards,
SuneethaHi,
Uploading LOGO in SAP
http://www.sap-img.com/ts001.htm
Upload graphics on
The program RSTXLDMC can be used to upload graphics (file extension .tif on PC files) into individual standard text.
<b>ws_upload</b>
Transfer files from the frontend to the application server.
Rgds,
Prakash -
BDC for mass uploading Org Unit infotype
Hi,
I need do a mass uploading for one Org Unit Infotype via BDC. I created BDC batch loading file via SM35. I used PO10 to create Org Unit Infotype. After running TC "PO10", I need scroll down several Infotypes to reach the one that I need mass upload. But looks like BDC does not recognize the u201CScroll Downu201D, the batch loading file record by SM35 always selects the incorrect Infotype of Org Unit. Any suggestion to fix this? Thanks.
Regards,
Jimhere you go,
ABAP Development -
BAPI / BADI for KE21N transaction
Hi all,
Please does anybody know a BAPI or BADI for KE21N transaction.
I need to update some fields on it.
Tks,
DanielaHi Daniela Machado,
Try this for CO PA Planning data..
BAPI_COPAPLANNING_GETDATA Read CO-PA Planning Data
BAPI_COPAPLANNING_POSTDATA
Write CO-PA Planning data
Also try,
BAPI_COPAQUERY_GETACC_ACTDATA
BAPI COPAQuery.GetAccountBasedActualData
BAPI_COPAQUERY_GETACC_PLANDATA
BAPI COPAQuery.GetAccountBasedPlannningData
BAPI_COPAQUERY_GETCOST_ACTDATA
BAPI COPAQuery.GetCostingBasedActualData
BAPI_COPAQUERY_GETCOST_PLANDAT
BAPI COPAQuery.GetCostingBasedPlanningData
Regards,
Tanveer.
<b>Please mark helpful answers </b> -
BDC for mass-upload on production order confirmation
Hi ALL
Is there any standard Program for the mass-upload on production order confirmation for labor and machine hours.
the T-code to do this is Co12.
thanks in advance !hi,
You can use standard SAP program RCCLBI03 to do mass upload
see these link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8046aa90-0201-0010-5e99-962948c83331
thanks
karthik -
Tcode for mass upload of cost allocation?
Hi all,
I would like to get a transaction code that will allow me to run a mass upload of cost allocation?
I tried ZFR_COST_ALLOC but the system didnt accept it.
Please help.
Boubacar-Issalook https://forums.sdn.sap.com/click.jspa?searchID=641178&messageID=2895219
A. -
Best way for mass upload of CK74N additive costs
Was wondering if anyone can share their experience with mass loading additive costs using CK74N.
Is it easier to create a winshuttle script for this or is it easier to write a BDC?Hi..
Refer to below scn site.
How to upload additive costs
Issue with CK74n session in background -
Am I correct to say there's no BAPI/BAdI for updating an MSEG extension ?
SAP allows you to append to MSEG in dictionary, although many customers agree this is not a good thing to do.
But suppose your customer has decided to extend MSEG.
As far as I can tell, SAP does not allow update of this extension via any of its BAPIs or BAdIs.
My reason for claiming this is that:
1) MSEG is received "importing", not changing, by the screen-handling interface IF_EX_MB_MIGO_BADI that allows you to put a custom tab on MIGO
2) MSEG is received "importing", not changing, by the standard MIGO update interface BAdI IF_EX_MB_DOCUMENT_BADI.
3) There are 79 flavors of Goods Movement BAPI, and so far as I can tell, none of them have "extension" capability (like the PR or PO BAPIs.)
Do you all agree that:
there is no way to update the custom portion of an MSEG record using an SAP provided BAPI or BAdI.
If you disagree, please point me to the BAdI or BAPI that does this.Also, please note that extension capability, even in CREATE mode, is only available in a "new-style" BAdI, and therefore only at level ECC6 or above - this is spelled out specifically in Note 906314 - where it indicates that the BAdI is a "new-style" BAdI.
So at ECC5, there is no extension capability for MSEG in any BAPI or BAdI, and at ECC6, it is still an open question in my mind as to whether there is extension capability in change mode. -
Program or Tcode for Mass upload of vendor.
Hi Guys,
I have some vendors whose vendor number is same in R/3 system and SRM system and their BP number will also be the same as SRM vendor number.
So I would like to replicated some 3 to 4 thousand vendors from SAP R/3 system to SRM system. Is there any program for this.
if so Please suggest.
Regards
Srujan.K
Edited by: srujan K on Apr 20, 2010 1:58 PMYou can use BBPGETVD and provide number range as input.
SG -
Mass Upload of documents for a financial Document
Dear Friends
I have created Document Type ZFIINVOICE and assigned it to Object Type BKPF. I am able to link Document to individual FI Document via OAWD.
I want to mass upload documents related to a person in Financial Document .
Is there any BAPI vailable for mass upload.
Or can LSMW can be used.
Please advice for the method of upload.
With Regards
Mangesh PandeHi,
You can use the following BAPI for this purpose:-
BAPI_ACC_DOCUMENT_POST
Regards,
Gaurav
Maybe you are looking for
-
Webutil_file_transfer.AS_To_client
Hello, The webutil_file_transfer.AS_To_client only works in ascii mode. Therefore on Unix we add the command unix2dos to workaround this problem. The code is as follows: if upper(get_application_property(operating_system)) not like '%WIN%' then host(
-
I have a regular Magsafe charger to charge my MacBook Air. I am looking for an adapter that my AC can plug into to make it a USB to be able to charge my MacBook when a plug is not around.
-
Currency appearing in unit of measure
Hello All, We have a peculiar problem. The bw extraction delta is going into an error because the unit of measure field Ounit is being populated by the currency GBP. I checked table GLPCT there in the main screen it shows GBP however when i double cl
-
Tuxedo 9.1 install errors with InnovationTargetException Java Error
Hi Everyone, I have weblogic 9.2, tuxedo 9.1 and tools 8.49 installed on my Vista machine with no problems. Now another guy at the office is trying to install and when he trys to install tuxedo it pretty much closes immediately with the innovationtar
-
Wireless Network Configuration.
Dear Friends, Please some one assist me to configure the Wifi on my system. I am running Oracle Enterprise Linux 6.1 on Dell Lattitude E6330. Below is the required detail. [root@localhost opt]# lspci | grep -i network 00:19.0 Ethernet controller: Int