Basic Data Upload to MATERIAL Using LSMW is not working
HI All,
we are using LSMW /SAPDMC/SAP_LSMW_IMPORT_TEXTS program to upload the basic text of the material, all steps are executed correctly and shows records are transfered correctly , but the in MM03 the text is not uploading..
EPROC_PILOT - MASTER - TEXT_UPLOAD Basic long text 1line
Field Mapping and Rule
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MATERIAL'.
NAME Name
Source: LONGTEXT-NAME (Name)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = LONGTEXT-NAME.
ID Text ID
Source: LONGTEXT-ID (Text ID)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-ID = LONGTEXT-ID.
SPRAS Language Key
Source: LONGTEXT-SPRAS (Language Key)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-SPRAS = LONGTEXT-SPRAS.
* Caution: Source field is longer than target field
/SAPDMC/LTXTL Long Texts: Row
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = 'L'.
TEXTLINE Text Line
Source: LONGTEXT-TEXTLINE (Text Line)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = LONGTEXT-TEXTLINE.
and at last it displaying as follws
LSM Workbench: Convert Data For EPROC_PILOT, MASTER, TEXT_UPLOAD
2010/02/01 - 10:14:25
File Read: EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.read
File Written: EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
can any one tell us what could be problem
Regards
Channappa Sajjanar
Hi , thanks for your reply,
i run the all the steps .
when i run the program it gives message as follows
Legacy System Migration Workbench
Project: EPROC_PILOT eProcurement Pilot
Subproject: MASTER Master data Upload / Change
Object: TEXT_UPLOAD Basic long text 1line
File : EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0
Similar Messages
-
Upload the master data in abap-hr using Lsmw tool
Hi Friends,
Any one Help me How to Upload the Master data in ABAP-HR using LSMW.
In Recording what need to fill.
If any screenshots are availave please provied me.
Thanks and Regards,
Sai.http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Try this ..... -
How to add basic data text into material master?
Hi anybody,
I want update only basic data text into material master. how to update basic data text ?
is it any bapi or functional module is there in abap?
anybody please tell me.
tks
s.muthuHi Subramanyan,
Check this function module:
CREATE_TEXT
Check out this sample program:
REPORT ZMM_INSERT_LONGTEXT.*Internal table to hold long text...
DATA:
BEGIN OF T_UPLOAD OCCURS 0,
MATNR LIKE MARA-MATNR, " Material number
ID(2) TYPE C, " Identification
LTEXT LIKE TLINE-TDLINE, " Long text
END OF T_UPLOAD,*Internal table to hold long text....
T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.DATA:
W_GRUN LIKE THEAD-TDID , " To hold id
W_OBJECT LIKE THEAD-TDOBJECT VALUE 'MATERIAL',
" To hold object id
LV_VALUE(70). " Value to hold material number
START-OF-SELECTION.* This perform is used to upload the file
PERFORM UPLOAD_FILE.* This perform is used to place the text in MM02 transaction
PERFORM PLACE_LONGTEXT.
*& Form create_text
This routine used to create text in MM02 transaction
Passed the parameter w_grun to P_C_GRUN
and lv_value to P_LV_VALUE
FORM CREATE_TEXT USING P_C_GRUN
P_LV_VALUE. DATA:
L_ID LIKE THEAD-TDID,
L_NAME(70). MOVE : P_C_GRUN TO L_ID,
P_LV_VALUE TO L_NAME. CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = L_ID
FLANGUAGE = SY-LANGU
FNAME = L_NAME
FOBJECT = W_OBJECT
SAVE_DIRECT = 'X'
FFORMAT = '*'
TABLES
FLINES = T_LINE
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
CLEAR LV_VALUE.
ELSE.
DELETE T_LINE INDEX 1.
ENDIF.ENDFORM. " create_text&----
*& Form upload_file
This routine is used to upload file
No interface parameters are passed
FORM UPLOAD_FILE . CALL FUNCTION 'UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = ' '
FILETYPE = 'DAT'
ITEM = ' '
FILEMASK_MASK = ' '
FILEMASK_TEXT = ' '
FILETYPE_NO_CHANGE = ' '
FILEMASK_ALL = ' '
FILETYPE_NO_SHOW = ' '
LINE_EXIT = ' '
USER_FORM = ' '
USER_PROG = ' '
SILENT = 'S'
IMPORTING
FILESIZE =
CANCEL =
ACT_FILENAME =
ACT_FILETYPE =
TABLES
DATA_TAB = T_UPLOAD
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. SORT T_UPLOAD BY MATNR ID.
ENDFORM. " upload_file
*& Form place_longtext
This routine places the text in MM02 transaction
No interface parameters are passed
FORM PLACE_LONGTEXT . LOOP AT T_UPLOAD. T_LINE-TDFORMAT = 'ST'.
T_LINE-TDLINE = T_UPLOAD-LTEXT.
APPEND T_LINE. IF T_UPLOAD-ID EQ 'BT'.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'GRUN' TO W_GRUN. "Test ID for Basic data text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IT'.
CLEAR W_GRUN.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'PRUE' TO W_GRUN. "Test ID for Inspection text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IC'.
CLEAR W_GRUN.
MOVE : T_UPLOAD-MATNR TO LV_VALUE,
'IVER' TO W_GRUN.
"Test ID for Internal comment
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF.
ENDLOOP.ENDFORM. " place_longtext
Hope this helps you.
Regards,
Chandra Sekhar -
How to Update the Basic Data text in Material Master.
Hi Abapers,
I have more than 5000 materials for update basic Data text inside Material Master.
how to update basic data text using abap programe? is there any bapi or normal program?.
anybody give me sample of this.
Thanks
S.Muthu.
IT Dept.Hi
You can do by using the FM SAVE_TEXT.
Just populate text into table i_tline.
Local data declaration
DATA: l_wa_thead TYPE thead, " Header
l_wa_tline TYPE tline. " Work area for tline
Populate header
l_wa_thead-tdobject = c_obj_material.
l_wa_thead-tdname = wa_data-matnr.
l_wa_thead-tdid = c_id_best.
l_wa_thead-tdspras = sy-langu.
l_wa_thead-tdluser = sy-uname.
l_wa_thead-tdfdate = sy-datum.
l_wa_thead-tdtxtlines = '1'.
IF i_tline[] IS NOT INITIAL.
l_wa_tline-tdformat = c_slash.
APPEND l_wa_tline TO i_tline.
ENDIF.
Text shd start from next line
l_wa_tline-tdformat = c_slash.
CONCATENATE c_text wa_data-text
INTO l_wa_tline-tdline SEPARATED BY space.
Append the new text to the int table
APPEND l_wa_tline TO i_tline and l_wa_thead
C* Local data declaration
DATA: l_wa_thead TYPE thead, " Header
l_wa_tline TYPE tline. " Work area for tline
Populate header
l_wa_thead-tdobject = c_obj_material.
l_wa_thead-tdname = wa_data-matnr.
l_wa_thead-tdid = c_id_best.
l_wa_thead-tdspras = sy-langu.
l_wa_thead-tdluser = sy-uname.
l_wa_thead-tdfdate = sy-datum.
l_wa_thead-tdtxtlines = '1'.
IF i_tline[] IS NOT INITIAL.
l_wa_tline-tdformat = c_slash.
APPEND l_wa_tline TO i_tline.
ENDIF.
Text shd start from next line
l_wa_tline-tdformat = c_slash.
CONCATENATE c_text wa_data-text
INTO l_wa_tline-tdline SEPARATED BY space.
Append the new text to the int table
APPEND l_wa_tline TO i_tline.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = l_wa_thead
savemode_direct = c_check
TABLES
lines = i_tline
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc = 0.
COMMIT WORK.
endif. -
Hi Guys,
I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out as this web-site has been payed for by my client.
AlexMany thanks.
With those symptoms, I'd try the following document:
Apple software on Windows: May see performance issues and blank iTunes Store
(If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.) -
Data Uploads done with one User Id not visible to other users in SPM
Hi,
Data uploads were successfully carried out by one of the SPM users. However, other users (with different user id) are not able to see anything in the Data Upload Summary screen.
Is there a restriction on the visibility of Data Upload Summary for data uploads carried out with one User id to other users in SPM? A similar behaviour is observed for other screens within the Data upload workbench.
Incase this is not the expected behaviour, it would be great if you could please provide pointers to possible reasons for this.
Just for your information, all users have been granted same privileges in the SPM application.
Thanks in advance.
Regards,
Ashish SharmaHi Ashish,
No this is not the expected behavior. We have seen this issue for other customers in the past but the reason has always turned out to be role related.
Can you ensure that the required SPM roles are assigned to the user who do not see the DM data both in ABAP as well as portal.
Thanks,
Divyesh -
I am on windows 7 and I upgraded to the newest verison of firefox and now it will not open. I have removed firefox completely and uploaded it again and that did not work. I then made sure it could get through my firewall and that did not work. So my latest attempt I removed firefox 10 again and uploaded the beta version hoping that would do it and once again nothing. It will not open at all. Please help - is there a live chat or a number to talk to someone at Firefox?
I think when uninstalling you may also have to choose (tick) to delete the preferences and other personal data like the bookmarks, stored passwords etc. to erase completely. If you are installing afresh, please try right-clicking on the file and '''Run as administrator''' to install. And when uninstalling, please also make sure choose to delete all data and also manually delete any '''Mozilla''', '''Mozilla Firefox''' or '''Firefox''' from %appdata%, %localappdata% and %programfiles%. You can open a location by typing for eg. %appdata% in the '''Run''' box (Windows key + R). You may also have to check the '''VirtualStore''' folder in %localappdata%. Files in the VirtualStore can be problematic. I think a clean installation may help.
[https://www.mozilla.org/en-US/firefox/new/ Firefox]
[http://kb.mozillazine.org/Installation_directory Installation Folder]
[http://kb.mozillazine.org/Profile_folder Profile Folder]
Please note that using system restore would usually damage the Firefox installation. -
Sharepoint Custom calendar – Hover over the date to add a new item is not working – Sharepoint 2010
Hi,
In my Sharepoint visual web part i am using default sharepoint calendar view. But Mouse hover over the date to add a new item is not working. Please see this image below i need the same add new item functionality.
Hi Sudhanthira,
Couple of simmilar queries i can see from Madhu posted.
Please follow this thread:-
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/b62f9b7e-2ce1-4efd-905c-9cc5471ad216
To be or Not to Be..The question is this only...... -
Windows Server 2012 - Printing using UNC path not working
Hi,
I have a problem printing using the printer's UNC path ("\\Server_Name\Printer_Hostname") to work with a web
app hosted on IIS 8. With a windows forms application the UNC path is working fine and the app prints.
With
the web app I receive an error "The data area passed to a system call is tool small".
Also,
in the event viewer under Applications and Services Logs -> Microsoft -> PrintService -> Operational, I receive the error "The print spooler failed to reopen an existing printer connection because it could not read the configuration information
from the registry key S-1-5-82-1980832875-2702362896-1795126167-3622310632-1152289074\Printers\Connections. The print spooler could not open the registry key. This can occur if the registry key is corrupt or missing, or if the registry recently became unavailable."I have contacted IIS forum support.
Please review the link: http://forums.iis.net/p/1213109/2079229.aspx?Re+Windows+Server+2012+Printing+using+UNC+path+not+working
Their final response:
Printing from ASP.NET using System.Drawing.Printing itself is a horrible approach, as this namespace was designed for Windows Forms only. The designers did not take everything about ASP.NET in mind, so any issue can happen. That can answer why the HP model
works while the Samsung fails, as the HP one just "happens
to work",
http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx
Similarly, System.Printing was designed just for WPF.
About which printing API to use in ASP.NET/IIS, there is no clear answer so far. Thus, your only resource is Microsoft support, who can perform further analysis (with their dedicate utilities and of course Windows source code) and might come across a solution
to help you out. This is not a trivial scenario. -
After installing iPhone Configutilities in my Mac, Personal Hotspot using USB is not working! Please help, I am using 10.7 Lion OS
Did you talk to your carrier?
-
Passbook is not working on my iPhone 4S. I tried changing the date to 2013, but it's still not working. Does anyone know how to fix this?
This link may be helpful.
http://support.apple.com/kb/ts2755 -
Where used list is not working for IMG nodes/Document in solar01
hi experts
In template project , we are using same IMG objects in different business processes and subsequent configuration document is attached to each IMG node in configuration tab. ( like same IMG node - define order types used in different business process configuration tab )
when i use " where used list " from the configuration tab , its not showing the IMG objects used in different business processes in the same project. whereas its showing the IMG nodes used in the different project.
I need to find out the same IMG objects/ document used in the same project using the " Where used list " button.
Please provide your answers
Note : we have linked one configuration document to same IMG nodes used in different business. " where used list " also not working for documents as well
Thanks
Sol manHello there,
I just tried some tests and couldn't face any problem with locating other usages for the objects in configuration tab.
You mentioned a configuration document, so have in mind that the document usage will only be considered if it is a link to the same document and not just a copy.
e.g:
Here I created a document in this node:
Then I added it as a link here:
and as a copy here:
When I go back to the original node and use the where-used, it'll only show the original and the link:
This happens because after copying a document, it is considered as a new one instead of another usage of the original one.
best regards,
Fabricius -
i keep getting a message that my ipad could not be activated because activation server is unavailable and when i try to use itune its not working as well.Plssss help
Has this iPad ever been jailbroken, had the OS rolled back, or used a beta version?
-
after the upload of ios6, my iphone did not work...the itunes is saying that I need to restore iphone...how should i do it???
Backing Up, updating, and restoring your iPhone and iPod touch software
-
Validations using OB28 is not working for GL posting using FB01
Hi Experts,
Validations using OB28 for posting using FB01 is not working.
My requirement is after entering a line items and click post validations should be triggerd.
i want to block a posting based on document type.
i have maintained as below..
Prerequisite.
( BKPF-TCODE = 'FB50' OR BKPF-TCODE = 'FB01' ) AND (
BKPF-BUKRS = '1000' OR BKPF-BUKRS = '0001' OR
BKPF-BUKRS = '0002' ) AND BKPF-BLART = 'XX'.
check.
Used userexit to check sy-ucomm = 'BU' (for posting).
entries are maintained in OB28 for relevant company codes.
it is working for FB50 but not FB01.
same thing i tried to maintain at header level as well as item level. but it is working only for FB50 but for FB01.
Please help me.
Regards.
Venu.Hi Venu,
Go to GGB0 and expand the navigation till you reach the validation name of line item level and choose menu item *Validation -> Simulate.
Here you can enter the inputs, those you are entering while doing FB01 and execute it.
Then in the results, you will have the log for each step of your total validation of line item level.
Check , whether your questioned STEP's pre requisite is met and check is not fullfilled.
Accordingly you can make the changes to the STEP.
This info may help you.
Regards,
Srinivas
Maybe you are looking for
-
I´m quite new into Iphone and I want to know which downloads and applications are available for my Iphone for exp. Google earth. Where do I get them and how do I install them into my device?
-
Can't put pdf files to itunes 10.6.3 on windows 7
After updating itunes to 10.6.3, I can't put pdf files to library from windows 7. But it works well on mac. Who can help?
-
Problem in custom infotype.
Hi friends, I have two problem on creating custom infotype 9010. The infotype has 4 field: docu_type -> subtype field Docu_number cost -> DE:WAERS cost_curr -> DT: Curr length 10 dec 2 I referred the cost to the cost_curr field of the infotype 9010 F
-
HT1926 problems downloading iTunes
I am unable to download itunes. When I try a message appears saying... The installer encounterd errors before iTunes could be configured. Errors occurred during installation. Your system has not been modified. What does this mean and how can I downlo
-
Question about installing an old CS2 upgrade download
I had a hard disk crash. I lost my old Photoshop CS2 and need it working. I redownloaded from Adobe since I bought it online but it wants a previous copy available which I don't have an do not have my old disk as I lost it in a flood a few years ag