How to update Material PO Text
I need to Develope a BDC to update 'PO Text' for each Material in MM02.
I have knowledge on BDC But My Problem is -->
In MM02 - Mostly Purchase Order Text is Coming on 11th Position {In BDC - 'MSICHTAUSW-KZSEL(11)' }
But not necessary Always - What can I do if the sequence is diff?
Is there anything to find the Exact position of 'Purchase Order Text'?
Hi,
Doing BDC for this is a bit difficult. Because the view may get different.
In what sense you will hard cord a value . There are lot of cases in MM02.
If you arlready done the BDC for MM02 then continue with that other you can use the BAPI : BAPI_MATERIAL_SAVEDATA.
This BDC recording for MM02 will reflect in upgradtion also.
With Regards,
Sumodh.P
Similar Messages
-
How to update the sales text in the Sales Order.
Dear all,
I want to Update the sales text in the Sales Order. I used the "CREATE_TEXT" but i couldn't update using it.
Can u please guide me, how to use the Function Module to update the sales Order line item text values.
Thank U
UwanthiHI
Check this link
User Exit to update Sales order text (Terms of delivery) on saving it
Regards,
Krishna -
Hello experts,
we're maintaining purchase order text in MM02 and using this text as Material PO text in our PO's.
When changing this text in MM02 we need to update the PO text as well, but manually - and only for open PO's, not historic PO's.
Is there a way to update this text manually?
Thanks, SebastianWhen changing this text in MM02 we need to update the PO text as well, but manually - and only for open PO's, not historic PO's.
Is there a way to update this text manually?
Of course you can change the PO texts manually -> in ME22N
So there is no chance that my completed PO's are not changed afterwards by a new material text?
Hard to understand this question. If you are manually changing the POs, then all POs that you do not touch will not get an update.
But I guess your question has a totally different basis. I guess your PO texts are just referenced and not copied. In this case the POs do not have an individual text, they just have a link to the text source material master.
And if you change the material master, then it will immediatly effect ALL POs having this link. -
How to Update material cost of user defined org specific cost type
Hi,
We need to update material cost sub elements of an item for an org specific and user defined cost type.
I have inserted a sample row in the CST_ITEM_CST_DTLS_INTERFACE, and running open interface 'Mass Update Material Costs', but the program is not at all processing the rows, the Process_flag remains 1.
insert into cst_item_cst_dtls_interface
(inventory_item_id,
organization_id,
resource_id,
usage_rate_or_amount,
cost_element_ID,
Process_Flag ,
last_update_date,
last_updated_by,
creation_date,
created_by
values
(96023,
343,
52538,
0.00208012,
1,
1,
sysdate,
fnd_global.user_id,
sysdate,
fnd_global.user_id
Can someone help me out with this, thanks.
Regards
DasuI think there is some confusion.
"Mass Edit Material Costs" program is used to apply new activity rates to item costs. For this, you don't have to insert records in the interface. You have to define/update the new activity rates using screen.
To process records in the cost interface tables, you have to run the "Cost Import Process" program.
For more details, refer to http://download.oracle.com/docs/cd/A60725_05/html/comnls/us/cst/settas06.htm
Hope this answers your question
Sandeep Gandhi
Omkar Technologies Inc.
Independent Techno-functional Consultant -
How to update Material group code in contracts ?
Hi,
We implemented SAP in my company a year ago. AS you can imagine we need to do some cleaning now we know how it works...
We have change the Material Group code for over 1100 items.
Thing is, the material group code in the contracts do not update automatically.
I see two ways to handel this :
1- re-enter contract
2- delete lines that needs to be changed and recreate them...
I know for sure that both solutions would work but they are time consuming so I was wondering if one of you had another idea ( a quick or at least a massive one would be appreciated...)
Thanks for your help.Hi,
You can use transaction MEMASSCONTRACT for mass changes to contracts
Caution:- Please use this transaction if you know, else first practice it in sandbox and then use in production environment
Thanks
Diwakar -
How to get Material long text / Sales Text
Hi,
when I have created a service order I have enter Long text in Tab Item Details , i.e in sales Text I have entered some text , So can any one tell me how to get this text as I have to show this text in invoice printing
Thanks
Bobby600101202274700000001
For a Particular Text name Of Item Level operations
1st 3 character denotes client id in this case 600 +
2nd 10 character denotes AFKO-AUFPL with respect to the production order in this case
1012022747 +
last 8 character denotes the operation line item numebr -
How to download material sales text and purchase order text information
Here is situation:
goto MM03 transaction,
Take any material -- and select below views
1. sales text
2. purchase order text
i have to write the download program with the sales text and purchasing text information of all the materials.
could you pls tell me in which table I will get all the above sales text and purchase order text infrmation.
I think it will store in standard text. I checked STXH table also for getting information text object, text id, text name, language, etc.
If anybody knows .. please share.
Thanks in advance.
Regards
RaghuDeclare internal tables as follows: - An example
TYPES: BEGIN OF TY_PO_LINES,
INCLUDE STRUCTURE TLINE.
END OF TY_PO_LINES,
TY_PO_LINES_T TYPE STANDARD TABLE OF TY_PO_LINES.
TYPES: BEGIN OF TY_PO_TEXT,
TDOBJECT TYPE TDOBJECT
TDNAME TYPE TDOBNAME,
TDID TYPE TDID,
SPRAS TYPE SPRAS,
TDLINES TYPE TY_PO_LINES OCCURS 0,
END OF TY_PO_TEXT,
PO_TEXT_T TYPE STANDARD TABLE OF TY_PO_TEXT.
DATA: PO_TEXT TYPE TY_PO_TEXT_T
PO text:
Looping at your internal table which consists of PO number,
SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
TDOBJECT = EKKO "PO Header Text
TDNAME = PO NUMBER
SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
TDOBJECT = EKPO "PO line item text
TDNAME = PO NUMBER
ENDLOOP
Looping at PO_TEXT
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = PO_TEXT-TDID
LANGUAGE = PO_TEXT-TDSPRAS
NAME = PO_TEXT-TDNAME
OBJECT = PO_TEXT-TDOBJECT
TABLES
LINES = PO_TEXT-TDLINES
ENDLOOP
Follow the same above logic for material with suitable TDID you need to extract
Hope this helps,
SKJ -
How to get material long text at user exit EXIT_SAPLMGMU_001
Dear All,
I need to pass some material details from SAP to legacy system once user create / edit a material. I have no problems with fields like material no, type, group etc except the long text, I can't find the long text field from the user exit (EXIT_SAPLMGMU_001).
When I use READ_TEXT function, also can't retrieve the long text because it haven't save to STXH/STXL table yet, I guess.
Please help
TQhello Chong ,
if it havent saved yet , then try to pass document no as '$0000000001'( in most of cases it will work but i'm not sure abt ur transaction ), it should work..
regards
Prabhu -
How to Update Function Link Text in Portal MastHead
Can someone please advise the steps to control the link text in the Function section of the Portal MastHead (e.g. Log Off, Help, etc...).
Thanks for your help!
ScottIf you just want to remove these simple links, you do this within the configuration of the masthead iView:
http://help.sap.com/saphelp_nw04s/helpdata/en/97/d4ee3d6434445ae10000000a11405a/content.htm
If you want to change the functions within the portal personalisation:
Look in the 'Portal Personalization' workset of the 'eu_role' . Im assuming that you have the eu_role assigned to the everybody built in standard group.
This workset has all the options within that list.
¡ Portal Theme (page)
¡ Portal Language (page)
¡ User Mapping (page)
¡ User Mapping (Remote iViews) (page)
¡ User Password (page)
¡ User Profile (page)
¡ WorkProtect Mode (page)
You can modify this, or copy it and modify it as you please. -
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. -
Updating Material master purchase order text -LSMW
Dear Experts
How can update Purchase order Text through LSMW, while am doing recording system is not recording this field from material master
Regards
Ajeesh.sDear Expert
Please throw some light on this issue
Regards
Ajeesh.s -
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 long text in symptoms/problems ?
Hi All,
Can anybody help me regarding how to update the long text of a symptom/problem?
Please help.
Regards,
JeetuHi Jeetu,
Can you Please elaborate your query.
Are you talking about Problem/solutions created using Tcode: IS01( used in service scenario)
Or
The Text Management i.e. Text Types
Regards.
Shalini Chauhan -
Hi all,
TCode: Commpr01 ( how to update material product status as Locked or Archived Via report program. Can any one suggest me what FM's
i have to use and what inputs i have to pass. I already checked with "COM_PRODUCT_MAINTAIN_STATUS" it is not working properly.
May be i passed wrong input to that function module i think off.
Thanks,
Anbusundaram AHi,
Its good that u pasted the complete log file. In your environment you have to run this upgrade tool only once from any of the middle tier.
And with respect to your error that u got in precheck is quite simple. All u have to do is just run this script from by connecting to portal schema using sqlplus.
Run dropupg.sql
Location-------- /raid/product/OraHome_1/upgrade/temp/portal/prechktmp/dropupg.sql
Later you re-run the upgrade tool and let me know the status.
Good luck
Tanmai -
Material PO text upload through LSMW
Dear All,
I have uploaded all the material using LSMW . I have used Direct Input Method. But how can i upload the material PO text. Since it does not get stored in any field , i cannot map in field mapping.
Please suggest how to upload material PO text
Thanks
JohnFor long text, you need to use object 0001. To link it to the PO, please create the long texts for 1 PO manually and see the values.
For your reference, for header texts, the text name is the PO number and the text ID is the long text - for example F01 is Header Text, F02 is Header note, etc (you can see this in configuration).
For item texts, the text name is the PO number and item number.
You need to upload the texts separately.
Lakshman
Maybe you are looking for
-
Error while loading the custom portal transaction
Hi, After the recent ITS Patches applied, our custom portal transactions are not work fine. Some of the fields are displaced from their position and printing in abrupt position of the screen. Transaction like address change, direct doposit screen...
-
Export button in task toolbar in Acrobat 9 Pro?
I had Acrobat 8 Professional and most of my pdf work was exporting to jpeg. Acrobat 8 had an export button in the task toolbar that made it a quick-click function to perform an export. I've recently upgraded to Acrobat 9 Pro, and I can't find my expo
-
Cant't get one to many relation to work.
I tried to without success to retrieve an object that represents a simple parent child relation in an existing database. (the object is supposed to represent one record of the parent table and contain a Collection of all records in the child table) I
-
Time capsule not visible on network
I'm trying to troubleshoot this situation for a colleague. Situation: macbook air, synchronized wirelessly via time capsule. The time capsule is connected to the fixed network also. This is on our corporate network (both fixed and wifi networks). Bac
-
Need help in alv append in one row
I need to append in one row in alv and Im using 'REUSE_ALV_FIELDCATALOG_MERGE'. Heres my code: DATA: lv_spras LIKE sy-langu, lv_datbi LIKE a005-datbi. CLEAR t_final. SELECT t~vtext a~kschl a~kunnr k~name1