Mass Upload OF Inforecord Text
Dear All,
Pelase let me know any way is available to upload INFORECORD TEXT in MASS.
Like price, date by using LSMW or MASS/MESSAIN.If it is available in LSMW, pl let me know the procedure to do it..
Please help me out.
Regards,
Nagaraj S
Edited by: Nagaraj S on Jan 1, 2010 1:39 PM
it is certainly possible to load long text to info records with LSMW.
double click a long text in an existing info record to get to the long text editor. beeing there choose from menu GOTO > header
to find the key. Usually the info record number with leading zeros, plus the organisation (evtl. including plant) plus the info record indicator.
Then define a standard direct input with object 0001 and method 0001 in LSMW
more details can be read here:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/fb/787039172511d2b428006094b944c8/frameset.htm
Similar Messages
-
Hi I have an issue were I need to upload a text message for around 1000 customers.
I mention the text in Sales Data --> Extras --> Text.
The text lengh is around is 75 letters. So i am planning to use the long text filed.
Now my doubt is:
1) How can I upload the data for 1000 customers. In XD99 (mass change) I could not find this field.
So where can i upload this.
2) If I use the long text using the word file, Will it appear in Sales Order and printout.
Please kindly help me in this.
Regards,
DSKIn case it is a 1 time effort go for a LSMW recording. it wont restrict you to enter maximum number of characters. Also whatever is in the customer master it will get copied to SO based on Text determination. It will even copy a whole word document.
-
Mass maintenance of Long Text in Material Master
Hi,
We require to do mass uploading of long text in Basic Data 1 view, Sales Text view, Purchase Order Text view for a particular material type.
Is there any tcode to do the same?
We tried creating BDC / LSMW for the same but it did not work.
Since one of our division is going live shortly, we need to do master data upload urgently. No. of records are more.
Hence pl. suggest what is to be done.
Regards
Ratna PalitHi Ravi,
Pl refer the part of coding in BDC given below, we are passing 5 text lines thro 5 diff cols. It is entering the line value and symultaneously replacing the content of previous line with that of current line.
*perform bdc_field using 'BDC_CURSOR'
'RSTXT-TXLINE(02)'.
*perform bdc_field using 'BDC_OKCODE'
'=EDNP'.
perform bdc_dynpro using 'SAPLSTXX' '1100'.
perform bdc_field using 'BDC_CURSOR'
'RSTXT-TXLINE(02)'.
perform bdc_field using 'BDC_OKCODE'
'=EDNP'.
perform bdc_field using 'RSTXT-TXLINE(02)'
ITAB-TXLINE2. "'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
"& "'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'.
perform bdc_dynpro using 'SAPLSTXX' '1100'.
perform bdc_field using 'BDC_CURSOR'
'RSTXT-TXLINE(03)'.
perform bdc_field using 'BDC_OKCODE'
'=EDNP'.
perform bdc_field using 'RSTXT-TXLINE(03)'
ITAB-TXLINE3. "'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB'
"& 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB'.
perform bdc_dynpro using 'SAPLSTXX' '1100'.
perform bdc_field using 'BDC_CURSOR'
'RSTXT-TXLINE(04)'.
perform bdc_field using 'BDC_OKCODE'
'=EDNP'.
perform bdc_field using 'RSTXT-TXLINE(04)'
ITAB-TXLINE4. "'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC'
"& 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC'.
perform bdc_dynpro using 'SAPLSTXX' '1100'.
perform bdc_field using 'BDC_CURSOR'
'RSTXT-TXLINE(05)'.
perform bdc_field using 'BDC_OKCODE'
'=EDNP'.
perform bdc_field using 'RSTXT-TXLINE(05)'
ITAB-TXLINE5. "'DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD'
"& 'DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD'.
perform bdc_dynpro using 'SAPLSTXX' '1100'.
perform bdc_field using 'BDC_CURSOR'
'RSTXT-TXLINE(06)'.
perform bdc_field using 'BDC_OKCODE'
'=TXVB'.
perform bdc_field using 'RSTXT-TXLINE(06)'
ITAB-TXLINE6. "'EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE'
"& 'EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE'.
perform bdc_dynpro using 'SAPLSTXX' '1100'.
perform bdc_field using 'BDC_CURSOR'
'RSTXT-TXLINE(07)'.
perform bdc_field using 'BDC_OKCODE'
'=TXBA'.
perform bdc_dynpro using 'SAPLMGMM' '4300'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'MAKT-MAKTX'
'test ztrd6'.
*perform bdc_transaction using 'MM02'.
PERFORM bdc_insert.
CALL TRANSACTION 'MM01' USING bdcdata MODE 'N' UPDATE 'S'.
Pl. help.
Regards
Ratna Palit -
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 -
Mass upload of commodity code VEU4
Hi,
While doing Mass uploading of commodity codes using VEU4 for Non European Clountry, for the Additional Info field NIHON , system by default generates =2 but our requirement it has to have a default value=0 which is to be used for both Import and Export.
How to make the field NIHON value=0?
Is it in the Text file or somewhere in the config?
Regards,
VengatHi Jurgen,
Thanks Very much, it helped.
Actual my requirement is to load the Commodity codes with the Field NIHON = 0 so that the commodity can be used for both Import and Export.
If I upload the text file in VIU4, by default system takes to NIHON = 1,
If I upload the text file in VEU4, by default system takes to NIHON = 2.
As mentioned in the OSS 1034696
If you confirm the dialog box with 'Yes', the system checks whether the 'Additional information' indicator of the old entry and the new entry are set differently. If this is the case, the system sets the 'Additional information' field to value 0 (Receipt / Import and Dispatch / Export).
Hence I have to execute the file in VIU4 or VEU4 for the first time to mass load of the commodity code ( by default it takes 1 or 2)
So to change the value from 1 or 2 to 0, need to execute the same file second time with YES in the dialog Box for the same data.
Note sure why SAP is so rigid here in this field NIHON as the same can be one of the Selection field.
Regards,
Vengat
Edited by: Vengata Raghavan on Aug 12, 2011 4:54 PM
Edited by: Vengata Raghavan on Aug 12, 2011 4:55 PM -
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 -
RAR 5.3 - Mitigating Control Mass Upload
Hi Everyone,
My client wants to perfrom a mass upload of Mitigating Controls, but I can't find the format of the tables that are needed.
I have tried creating a control manually, exporting it and then changing the file and uploading but it always throws an error.
I know that there is a SAP Note about this but it is Internal Only.
Can anyone help? I guess I am looking for standard upload file format or something of that nature.
regards
SimonHi Frank
as always you are the man who knows the answer!!
You were correct Excel 2007 had converted 2010-10-11 to 11/10/2010, during the importation process, even though I had told it to keep all fields as text.
Additionally, on almost every row of the export file after having made the changes in excel, it had added several "TAB" characters as well, so I had to go down every line of the upload file to remove the extra "TABS".
After that it worked perfectly.
Now I will attempt world domination, after all it must be easier than trying to configure Access Controls 5.3
Simon
Edited by: Simon Carty on Nov 26, 2010 10:05 AM
Edited by: Simon Carty on Nov 26, 2010 10:05 AM -
Dear All,
We have more than 10,000 product, Is their a way to mass upload cross selling/up-down selling rules from an excel or text files?
Regards,
Ahmed EldersResolved
-
Upload Purchase order text tab using BDC
Is it possible to upload Purchase order text tab in material master (tcode mm01) using a BDC.
If so pls tell me how to upload the same, what is the field name of the box.
Regards,
Senthilu need to use READ_TEXT or SAVE_TEXT or WRITE_TEXT or COMMIT_TEXT to upload text into SAP.
-
Upload Purchase order text using BDC while updating Material Master MM02
Hi All,
Please help me out with sample code upload PO Txt ( long text...which is more than 72 chars)using MM02. Its very urgent
I am not able to pass data into following fields seen in recording,
RSTXT-TXLINE(02),
RSTXT-TXLINE(03),
RSTXT-TXLINE(04),
RSTXT-TXLINE(05), as we can see only RSTXT-TXLINE field in the RSTXT structure......
how to split the long text into 72 chrs each and pass into data into the RSTXT-TXLINE(02), RSTXT-TXLINE(03), RSTXT-TXLINE(04)....correspondingly........
Thanks in advance.....
Reagards,
Prasad KR.Hi
see the sample program
REPORT zmm_longtext
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab1 OCCURS 0,
matnr LIKE mara-matnr, " Material
text1 LIKE tline-tdline, " Long Text
text2 LIKE tline-tdline, " Long Text
text3 LIKE tline-tdline, " Long Text
text4 LIKE tline-tdline, " Long Text
text5 LIKE tline-tdline, " Long Text
text6 LIKE tline-tdline, " Long Text
text7 LIKE tline-tdline, " Long Text
text8 LIKE tline-tdline, " Long Text
text9 LIKE tline-tdline, " Long Text
text10 LIKE tline-tdline, " Long Text
text11 LIKE tline-tdline, " Long Text
text12 LIKE tline-tdline, " Long Text
text13 LIKE tline-tdline, " Long Text
text14 LIKE tline-tdline, " Long Text
text15 LIKE tline-tdline, " Long Text
text16 LIKE tline-tdline, " Long Text
text17 LIKE tline-tdline, " Long Text
text18 LIKE tline-tdline, " Long Text
text19 LIKE tline-tdline, " Long Text
text20 LIKE tline-tdline, " Long Text
text21 LIKE tline-tdline, " Long Text
text22 LIKE tline-tdline, " Long Text
text23 LIKE tline-tdline, " Long Text
text24 LIKE tline-tdline, " Long Text
text25 LIKE tline-tdline, " Long Text
END OF itab1.
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr, " Material
text LIKE tline-tdline, " Long Text
END OF itab.
To create Long Text lines for CREATE_TEXT function module
DATA:BEGIN OF dt_lines OCCURS 0.
INCLUDE STRUCTURE tline. " Long Text
DATA:END OF dt_lines.
Variable declarations for CREATE_TEXT function module
DATA : dl_name TYPE thead-tdname, " Object Name
dl_lan TYPE thead-tdspras, " Language
gv_matnr TYPE matnr.
Constants
CONSTANTS:
Object ID for Long Text of Material Basic Data 1
c_best TYPE thead-tdid VALUE 'GRUN',
c_material TYPE thead-tdobject VALUE 'MATERIAL'. " Object
Parameters
PARAMETERS p_file LIKE rlgrap-filename.
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start Of Selection
START-OF-SELECTION.
*To Upload Flat file
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = itab1
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
SORT itab1 BY matnr.
LOOP AT itab1.
CLEAR gv_matnr.
SELECT SINGLE matnr INTO gv_matnr
FROM mara WHERE bismt = itab1-matnr.
IF itab1-text25 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text25.
APPEND itab.
ENDIF.
IF itab1-text24 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text24.
APPEND itab.
ENDIF.
IF itab1-text23 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text23.
APPEND itab.
ENDIF.
IF itab1-text22 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text22.
APPEND itab.
ENDIF.
IF itab1-text21 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text21.
APPEND itab.
ENDIF.
IF itab1-text20 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text20.
APPEND itab.
ENDIF.
IF itab1-text19 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text19.
APPEND itab.
ENDIF.
IF itab1-text18 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text18.
APPEND itab.
ENDIF.
IF itab1-text17 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text17.
APPEND itab.
ENDIF.
IF itab1-text16 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text16.
APPEND itab.
ENDIF.
IF itab1-text15 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text15.
APPEND itab.
ENDIF.
IF itab1-text14 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text14.
APPEND itab.
ENDIF.
IF itab1-text13 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text13.
APPEND itab.
ENDIF.
IF itab1-text12 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text12.
APPEND itab.
ENDIF.
IF itab1-text11 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text11.
APPEND itab.
ENDIF.
IF itab1-text10 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text10.
APPEND itab.
ENDIF.
IF itab1-text9 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text9.
APPEND itab.
ENDIF.
IF itab1-text8 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text8.
APPEND itab.
ENDIF.
IF itab1-text7 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text7.
APPEND itab.
ENDIF.
IF itab1-text6 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text6.
APPEND itab.
ENDIF.
IF itab1-text5 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text5.
APPEND itab.
ENDIF.
IF itab1-text4 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text4.
APPEND itab.
ENDIF.
IF itab1-text3 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text3.
APPEND itab.
ENDIF.
IF itab1-text2 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text2.
APPEND itab.
ENDIF.
IF itab1-text1 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text1.
APPEND itab.
ENDIF.
CLEAR itab.
ENDLOOP.
DELETE itab WHERE matnr EQ ' '.
Upload the Texts
SORT itab BY matnr.
LOOP AT itab.
dt_lines-tdformat = 'ST'.
dt_lines-tdline = itab-text.
APPEND dt_lines.
dl_lan = sy-langu.
dl_name = itab-matnr.
Call the Function Module to Create Text
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = c_best
flanguage = dl_lan
fname = dl_name
fobject = c_material
save_direct = 'X'
fformat = '*'
TABLES
flines = dt_lines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE:/ 'Long Text Creation failed for Material'(001),
itab-matnr.
ELSE.
WRITE:/ 'Long Text Created Successfully for Material'(002),
itab-matnr.
ENDIF.
AT END OF matnr.
REFRESH dt_lines.
ENDAT.
ENDLOOP.
Reward points for useful Answers
Regards
Anji -
Hello!
I peform mass upload of BPs into CRM. I use FM BUPA_CREATE_FROM_DATA to create BP itself and BUPA_ADDRESS_ADD to save BP addresses and call these FMs in the same turn for each BP.
So, if I do that for 1-2 BPs, it works perfectly. All BP are saved in CRM with there addresses on COMMIT. As soon as the number of uploaded BP increases(between two commits), for example, up to 100, there is an error happens: E831(AM) in ADDR_MEMORY_SAVE.
As well as I understood, it happens because of address saving peformed before BP saving on commit. I tried first to save BPs only (with commit) and then their addresses, and it worked on mass upload without any error.
So, is there any idea about how to upload each BP with his address simultaneously without any error by mass upload?
Thank you.You can upload millions of records using these function modules.Infact I am doing the same.
Make sure that the data structures,tables which are passed to the Function modules are cleared for each time and FM's should be in the below mentioned order.
BAPI_BUPA_CREATE_FROM_DATA
BAPI_BUPA_ADDRESS_ADD
BAPI_TRANSACTION_COMMIT.
Thanks,
Thirumala. -
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 -
Upload purchase order text through LSMW
Please tell me procedure for uploading sales order & purchase order text in material master through lsmw
Hi
Long Texts are stored in STXH table with 4 parameters TEXTNAME,OBJECT,ID and LANGUAGE
You can't find the complete text in any table
You will find these 4 parameters in the table STXH.
Texts are created using the fun module CREATE_TEXT and SAVE_TEXT and these texts are fetched using READ_TEXT fun module
For uploading these long texts using LSMW see
for Long texts Upload
Please take a look at this..
http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm
<b>Reward points for useful Answers</b>
Regards
Anji -
How to upload Purchase oder text through BDC. or BAPI
Hi...
I wish to know how to upload purchase oder text wich is in MM01 t-code and has a screen number 4040 and program name SAPLMGMM, i want to migrate a material master data to another client by this fields, Basic, Purchasing, Purchase oder text ( long text), general plant date/storage1 and accounting. for that i am suspicious about uploading a purchase oder text with bdc...if i am true how i can have this by bapi or another means...please help me
...thaking you....Hi,
Use FM - BAPI_PO_CREATE1
It will fetch both HEADER and ITEM text.
This module is used to create a PO and as u r involved in a data migration, I can suggest to use this one.
Hope It'll help.
Thanks & Regards,
Ankur -
Upload item long text in RFBIBL00
Hi All,
is it posible to upload item long text(item text) in accounting document using RFBIBL00 program?
If not there is any tool except creating new program?
HengkyHi,
I do not think that it is possible to update long text using this program. You need to write your own report. Check for FM READ_TEXT and SAVE_TEXT.
Cheers
Maybe you are looking for
-
Bar code Generation in ABAP report
Hi, Can anyone help me on how to generate bar code in ABAP report output. My exact requirement in the exisiting 'Z' report,I need to generate Bar code for Sales order which is displaying in report output.Buisness will scan and they will use for furth
-
Mail 3.6 delivering blank messages
Mail has suddenly started delivering some emails with blank messages. The messages seem to be from businesses (bank, Netflix, library, etc). When clicking on message to open, multi-colored ball rotates for sometime, then black & white circle whirls w
-
Changing datasource definition
hi experts, i have a non standartic datasource that extract data by FM can i change its properties that the extraction be by table ? without changing the name. thanks Nir
-
I recently brought a iMac OS X version 10.7 PC, when I try to run Scott Trader real time streaming quotes, it contantly *****, and causes all other widowns frozen, please help me to resolve this problem, or i have to give up this PC and return it to
-
Never Ending Screens Displayed
I need to know how to get the never ending screens from popping up when I click on "share my screen" desktop. I am sure it is a simple fix, but I can't figure it out.