DIR Mass Upload by Standard LSMW.
Hi Experts:
I'm using the LSMW tool to upload in mass processing DMS Documents.
The option used is the standard batch input, using the program RCVBI010.
The LSMW has working almost well, the only problem is the original is not save. All others functions are working well.
In the DRAW_BI structure, i'm passing values to fields STYPE, DOKAR, DOKNR, DOKVR, DOKTL, LABOR and FILEP.
Executing the batch Input in visible mode, the system enter the file path. After save, when i check the document, dont have any file in original.
Anybody can help me?
Thanks a lot.
Best Regards,
Ricardo Siqueira
Hi Lutz.
No i dont. I solve this problem creating new LSMW program only to do the check-in of the original, by batch input mode (recording).
Best Regards,
Ricardo Siqueira
Similar Messages
-
How to get the index of the error record when uploaded using standard LSMW
Hi Experts,
When uploading data using lsmw standard batch input method which creates an error session if any errors,how can we able to find the index of the error record
eg: If 3rd record in input file is incorrect then error session is getting created with the error and index as 1.But I want to know that 3rd record in my input file is incorrect.
Please help me out.Srinivas,
In global data, i've written like this.
TYPES: BEGIN OF TYPE_ERROR,
INDEX TYPE I,
END OF TYPE_ERROR.
DATA: GT_ERROR TYPE TABLE OF TYPE_ERROR,
GS_ERROR TYPE TYPE_ERROR,
GV_TOTAL_COUNT TYPE I, GV_INDEX TYPE I,
GV_STRING TYPE STRING,
GV_FILE TYPE STRING VALUE '/usr/sap/interfaces/LSMW/Asseterror
In Begin of transaction,
GV_TOTAL_COUNT = GV_TOTAL_COUNT + 1.
In End of processing,
OPEN DATASET GV_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC = 0.
CLEAR GS_ERROR.
LOOP AT GT_ERROR INTO GS_ERROR.
CONCATENATE 'INDEX OF THE ERROR RECORD IS:' GS_ERROR INTO GV_STRING.
TRANSFER GV_STRING TO GV_FILE.
CLEAR: GV_STRING, GS_ERROR.
ENDLOOP.
ENDIF.
How and where will I be assigning error count and append it to the internal table.
Please help me out. -
Mass upload through Web Dynpro application possible?
We want to develop a custom aplication with Web Dynpro ABAP for master data maintenance. About 90 % will be done manually but we also want to have the possibility to do mass uploads (comparable with LSMW's in SAP R3 for win gui transactions: users send us a spreadsheet and we load it for them using a LSMW). I found one option by building Adobe Interactive form offline scenario using xml messages but I don't want to be forced to use Adobe only to enable mass uploads that will only happen in 10 % of the cases.
I am loking forward to your suggestions!
kind regards
Angelique HeutinckI got a very useful answer from Thomas Jung (SAP) via a site he did setup with a couple of other SAP experts, also see http://enterprisegeeks.com/blog/2009/03/31/abap-freak-show-april-1st-acf-updownload-in-web-dynpro-abap/comment-page-1/
My question:
I think this new UI element ACFUpDownload cannot be used to do mass uploads/updates of data that need to be stored in SAP tables?
Answer Thomas:
This UI element is just about the transfer of data from the client machine to the server. It has nothing to do with how the data is used or processed after upload. Think of it as the equal to the CL_GUI_FRONTEND_SERVICES class and methods GUI_UPLOAD and GUI_DOWNLOAD.
My question:
Is there a tool like LSMW, CATT, eCATT that we can use for recording webenabled transactions (applications developed in Web Dynpro ABAP)?
Answer Thomas:
You shouldnu2019t need a tool like LSMW, CATT, eCATT that is tied to the user interface. With WDA you should be using MVC to design your application. This is part of the reason for MVC so that you have a clear separation of the model - business logic. You should always have a reusable class that can be called to input and create data with the same validations without going through the user interface. This is the process that SAP is following as we create new WDA screens. We use the enterprise services and their implementation classes as the Model for the WD Components. This ensures that you always have a clear API to use to mass import data.
Although we wouldnu2019t recommend doing any kind of mass data load via the user interface any longer - eCATT will be supported for automated testing of Web Dynpro ABAP applications as of NetWeaver 7.0 Enhancement Package 2. -
Mass Upload of DIR's through LSMW
Hi All
I have few queries in mass uplaoding of DIRs through LSMW..
1) Status : I have 3 preceding status before the final "Approved" status and the status is locked.. So how to set the final status initally, as we cannot have both "Initial" and locked status together.
2) The file names - what is standard procedure in giving the path of files.. Mentioning the path of File names for each files would be tremendous task.. So is there any easy way?
Regards
Abyhi,
about your Q1
I am not sure from your project context but you may try this;
we have to prepare statuswise different mass uploading files, same time you have to set the requeired status to intial staus removing all predecessor or successors for time being. Once you done with uploading again set the system to required status network and status types to individual status.
Please let me know if its works for you, I believe this should be done before go live phase.
Thanks
Pramod -
Mass upload of batch chracteristic Values using LSMW
Hi,
Is there any way from which I can mass upload the characteristic values of batch class.
LSMW- Bapi issue full in this case or have to go with recording or BAPI programming?
Please let me know the process.
Thanks in advance
Ravi KumarHi
Thanks For the help. I have used LSMW Direct input method.
I have used the below format in text file
Class/mat batch class char Char Value
023 Bunny 1011010 ZZ_COTTON_CLASS ZZ_BALE_QUANTITY 164.95
023 Bunny 1011011 ZZ_COTTON_CLASS ZZ_BALE_QUANTITY 164.61
023 Bunny 1011012 ZZ_COTTON_CLASS ZZ_BALE_QUANTITY 162.71
Its giving below error,
Error Changing Classification Data
Other
( CLAP_DDB_UPDATE_CLASSIFICATION: exception 13 )
023 Bunny 1011010 ZZ_COTTON_CLASS
Error Changing Classification Data
Other
( CLAP_DDB_UPDATE_CLASSIFICATION: exception 13 )
023 Bunny 1011011 ZZ_COTTON_CLASS
Thanks & Regards
Ravi Kumar -
Hi All,
I have got one client requirement in which client wants that whenever they run "Change in Employment" action for Contract extension/Change in Contract type, in IT0016 whatever contract end date comes should automatically populate in IT0041, in date type "05" which is "Assignment end date".
Now, they want a Mass upload program for "Change in Employment" action.
Also, in dynamic action, we have written a code so that whenever the contract end date is put in IT0016 via Change in employment action, it should populate in IT0041 automatically.
I had tried creating a LSMW program for Mass upload of 'Change in Employment" action but while recording when I am entering the Contract end date, it's not getting populated in IT0041.
Is there any way to write a code in LSMW for this issue.
Regards,
PriyankaHello,
LSMW or any background recording won't never call a dynamic action. In you LSMW recording you have to force the entry for the update of IT41.
If there is some specific rule in you dynamic actino that fills the date in Infotype 41, you should be able to do the same in the converting rule of the LSMW.
Cheers
Hadrien -
Mass upload of Source List through LSMW
Dear Experts,
In our plant we have so many materials for which source list has not been maintained properly.Please,can any one tell me in detail how to do Mass upload of Source list through LSMW in detail.
Please do reply me...
Thanks in Advance...
MKHi,
lsmw with Idoc.
Also use "Search Forum" with keywords "LSMW IDOC" in ABAP Development & you find many threads which explains you in detail.
Hope this helps.
Best Regards, Murugesh AS -
Dear Experts,
We are migrating to a new system and would like to move our open invoices for AR in to the system. I know we can use FB70 for single invoices. Problem is that we have 1800 of them. Is there any way of uploading the mass invoices outside of the LSMW transaction? From reading about LSMW I see that this can take a few weeks to get right.
Is there a standard Mass Upload for FB70 or a report for that matter?
Thanks.Hi Raki, Hi All,
I believe a properly designed LSMW batch input can do the trick. I had to do the same recently for approximately 800 open customer items - both invoices and credits - and it worked fine. It definitely does not require weeks... For me it took a few hours to make it.
Also refer to this thread:
fb70 using LSMW error No batch input data for screen SAPMF05A 1200
Regards,
Szabolcs -
List of mass upload programs in PP & QM Moduls
Hi, Pls advise the list of mass uploud t-codes in PP & QM moduls like QA08 T-codes. is there any general mass upload t-code to upload certain field in certain t-code (screen). pls advise.
Edited by: ys yadav on Apr 24, 2010 6:54 PMDear,
There are numbers of program for mass change.
CA85 for to do mass change in work center.
CA95 for to do mass change in Reference opn set.
CA75 for to do mass change in PRT
Mass Change in material master MM17
Mass change in BOM. CS20
CEWB is the only standard option available for you to make mass changes
In QM QA08 for inspection type assign or chnage and Qa16 lot change.
There a lot of transactions for specific mass changes. MASS is also one of the transactions among them also LSMW or BDC are useful.
Regards,
R.Brahmankar -
Hi,
we have to do mass upload of material master which includes lot of classification / characteristics for a plant. could you please let me know how do we do this and which is the best method? ( BAPI or BDC)
Thanks
Arun Vijay DHi,
Use direct input method using LSMW. The details are as:
For material master data:
Object: 0020
Method: 0000
Program: RMDATIND
For material classification
Object: 0130
Method: 0002
Program: RCCLBI03
Regards
Amit -
Hi Expertise,
I need to create a mass upload program for appraisal document creation for manager and his multiple employee
at a time using tcode appcreate.
Please help me out.
Best regards,
PriyaranjanHi,
I have done appraisal document creation for bulk using txt file.
this fm used for single for creation in standard tcode (phap_prepare): 'WZ_HRHAP_0DOC_WZ01_START'.
So create ztcode usinh this fm for single form then record BDC for this tcode and called this tcode in that bdc for bulk creation .
While recording for single I have used manual option instead of automatic . -
Mass Upload of condition records in APO system.
Hi All,
I wanted to mass upload condition records in to the APO system for the transaction /N/SAPCND/AO11 from an external file.
Is there any FM available?
If FM is not available...which one is the best way to do this?
LSMW?? or BDC???
Please guide me..
Thanks,
Babu KilariAt least the key fields of the conditiontable
(here 800) must be filled in structure ls_komg.
ls_komg-vbeln = '1234567890'. " document number
ls_komg-posnr = '000010'. " item number
clear wt_komv.
ls_komv-kappl = 'V '. " Application V = Sales
ls_komv-kschl = lc_kschl. " Condition type
ls_komv-waers = 'EUR'. " Currency
ls_komv-kmein = 'ST'. " Unit of measurement
ls_komv-kpein = '1'.
ls_komv-krech = 'M'. " calculation type;
"M = Quantity - monthy price
ls_komv-kbetr = '1234.56'. " new condition value
append ls_komv to lt_komv.
call function 'RV_CONDITION_COPY'
exporting
application = 'V'
condition_table = '800' " cond. table
condition_type = lc_kschl " cond. type
date_from = '20061101' " valid on
date_to = '20061130' " valid to
enqueue = 'X' " lock entry
i_komk = ls_komk
i_komp = ls_komp
key_fields = ls_komg " key fields
maintain_mode = 'A' " A= create
" B= change,
" C= display
" D= create
with reference
no_authority_check = 'X'
keep_old_records = 'X'
overlap_confirmed = 'X'
no_db_update = space
importing
e_komk = ls_komk
e_komp = ls_komp
new_record = lv_new_record
tables
copy_records = lt_komv
exceptions -
To whom it may concern,
We need to upload information massively using transaction SOLAR01. The LSMW solution is not good since the hierarchy of the left side causes problems. Does anybody can tell us a better option for this issue?
Thanks in advance.
Fernando.
Edited by: Fernando Moyano on Feb 24, 2008 11:23 PMHi Friend,
Please try eCATT tool also....for uploading.....it is easy to create and works fine.
Alternatively, try ABAP code
Re: ABAP function to upload document in SOLAR01
Mass Upload documents to Solution Manager
Please reward points if it helps. -
Mass upload for info records when price gets changes
Dear All,
How to do Mass upload for info records when price gets change.
Regards,
BhargavHi Bhargav,
Please upload the present price (Map) by LSMW . When you are doing the transactions then automatically by selecting option info update price will be updated the info record in Order Price history
Regards
M B Raju -
Mass upload of employee photos in OAOH
Dear all,
In OAOH transaction, if you type in the business object PREL, and doc type HRICOLFOTO, a small dialog box appear and you type in the employee no. Afterwards, another window dialog box appear prompting the file name/path....
I would like to know if there is any method to mass upload thousands of employee photos, since batch input does not work in the file/path selection screen (window's dialog box)
Thanks a lot for your help !
patrickHi Patrick,
Generally it is not suggested to Upload Photograph using Mass Upload.... normally it is one to one ... one perer at a time.
But if its too urgent and critical then fallow this steps.
1) Store the Photograph of the Employee as the PERNR.JPG (PERNR = EMPLPYEES PERSONNEL NUMBER) at a predifined location.
2) Have a text file with all the pernr for whom you want to upload the photo and the JPGs you have in the folder.
3) Use this Function module with the loop for all the PERNR
* Function module to update Tran OAAD
* Create file path (Directory)-(Employee No.).JPG
CONCATENATE 'dir where the file is stored' wa_pernr-pernr '.' 'jpg' INTO lw_path.
* Assign Values
lw_ar_object = text-002. "HRICOLFOTO
lw_object_id = wa_pernr-pernr.
lw_sap_object = text-003. "PREL
lw_doc_type = text-004. "JPG
CALL FUNCTION 'ARCHIV_CREATE_FILE'
EXPORTING
ar_object = lw_ar_object
* DEL_DATE =
object_id = lw_object_id
sap_object = lw_sap_object
doc_type = lw_doc_type
path = lw_path
EXCEPTIONS
error_conectiontable = 1
error_parameter = 2
error_archiv = 3
error_upload = 4
error_kernel = 5
no_entry_possible = 6
error_comunicationtable = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
This will help you to create the Archive link.
Hope this helps you.
~Bhawanidutt
Maybe you are looking for
-
Macmini 2010 sound problem over hdmi
Hi, my name is Diego im from Argentina, well i have a problem with my macmini 2010 unibody, i have set up the mini over hdmi in to my receiver ( yamaha 663 ) and hdmi out to my LCDTV, i set up in sound properties HDMI output ok all is fine but if i a
-
Integration Process: using simple containger-variable in mapping
Hi, I am storing a simple string in an container-variable of an receiving interface (ID). ID: Type String At a later time I want to use this container-variable in a later mapping: IF1 -> IF2 a -> c b -> d > f <<== here I want to use a c
-
Timedepent Flatfile Hierachie in BW3.5
hi all, i have a problem with my timedepent hierachie, when i try to load them via flatfile to the BW (BW3.5). the whole hierachie is timedepent and i have the chance to select a time range in the datasource-view in the created infosource. if i selec
-
Hi, Environment: WebLogic 6.1 SP2, JDK1.3.1, Solaris 8 1. How to start the managed servers using NodeManager from the command line? Already NodeManager configured and able to start managed servers from the Admin Console. So from the console start/sto
-
Grey line in my Pages document I can't get rid of
Does anyone know how to get rid of a weird grey line in pages. I can't select it to delete it.