Purchase order Text and Basic data text needed from MM03 tcode
Hi
I need Purchase order text and Basic data text to be fetched by material number.
Purchase order text and Basic data text are present in MM03 Tcode.
Can anyone please guide me how to do it.
Kind Regards
Sajid
hi
Purchase order text
GotoMM03 ->view purchase order text.
In purchase order text screen, below you find one icon 'Editor'
click on this icon. It will open another screen.
In this screen -> click Goto Menu->Header.
It will open the details about Purchase order text.
TextName (Generally it is material name)
Language
Text ID : BEST
Text Object: MATERIAL.
Pass the above to READ_TEXT to get the text
*Basic data text *
Basic Data Text in MM03
Similar Messages
-
Regarding LSMW Purchase Order header and item data
Hi Friends,
I have one requirement i.e purchase order data need to be upload through LSMW via Direct input method.
=============
pls find the belwo flat file structure
old_PO material price qty
P123 M111 10 1
P123 M222 10 1
P123 M333 20 1
===============
Normally if I upload same data into SAP, it will create three purchase orders with different SAP numbers.
I want if old_PO number is matches with the previous record all the materials should be in single transaction and single Purchase order should be created.
Can any body help how to resolve this issue. This is very urgent.
pls explain in detail. I am using LSMW. I don't have no other option.
=====
please don't post any junk amswers.
=====
Thanks in advanceHi Raghunath,
Don't think that this reply is junk one.I cannot explain you in detail but try like this.
In the fifth step of LSMW,You can find Global data definitions & Processing times.
In any of these you can just fetch the values from database with reference to flat file data like..
select PO from ...where PO = source-PO.
if sy-subrc EQ 0.
skip_transaction. Using this function you can skip this record
endif.
Award points if useful.
Thanks,
Ravee.. -
To change the Purchase order header and line item text
Hi everybody,
I need to upload the PO Header and item text for the combinaion of PO and a material.
Please help???Hi,
Try this beloe code
Length of the PO item text
If the length > 132 Chars
BAPI Function module for changing PO item Text
commiting the bapi change
SORT t_bapi BY ebeln ebelp.
LOOP AT t_ebeln INTO wa_ebeln.
LOOP AT t_bapi INTO wa_bapi WHERE ebeln = wa_ebeln-ebeln.
REFRESH t_return.
READ TABLE t_input INTO wa_input
WITH KEY ref_num = wa_bapi-ref_num
item = wa_bapi-ebelp.
IF sy-subrc EQ 0.
APPEND wa_input TO t_output.
w_len = STRLEN( wa_input-text ).
wa_potextitem-po_number = wa_bapi-ebeln.
wa_potextitem-po_item = wa_bapi-ebelp.
wa_potextitem-text_id = 'F01'.
wa_potextitem-text_form = '*'.
wa_potextitem-text_line = wa_input-text+0(132).
APPEND wa_potextitem TO t_potextitem.
IF w_len > 132.
wa_potextitem-po_number = wa_bapi-ebeln.
wa_potextitem-po_item = wa_bapi-ebelp.
wa_potextitem-text_id = 'F01'.
wa_potextitem-text_form = '='.
wa_potextitem-text_line = wa_input-text+132(123).
APPEND wa_potextitem TO t_potextitem.
ENDIF.
ENDIF.
ENDLOOP.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = wa_bapi-ebeln
TABLES
return = t_return
potextitem = t_potextitem.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = ' '
IMPORTING
return = wa_bapiret2.
Regards
Krishna -
Display 'item text' and 'material PO text' in a purchase order ?
hello,
i am creating a purchase order and i have inputted the 'item text' and 'material PO text' in the ITEM TEXT of the ITEM DETAILS section. I have a smart forms where i am displaying the purchase order by displaying fields from various tables like ekko,ekpo,t024,eket etc ..
I want ti display the 'item text' and the 'material PO text' on the smartform but i cant find the table or the fields which keep these values(text) ??
help me on this one ? thanks for yur time...c the example below:
PERFORM read_text USING g_transp 'Z010'.
FORM read_text USING l_text l_id.
DATA : lt_text TYPE TABLE OF tline WITH HEADER LINE.
DATA : l_name LIKE thead-tdname.
CLEAR l_name.
l_name = g_delivery.
CLEAR lt_text.
REFRESH lt_text.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = l_id
language = sy-langu
name = l_name
object = 'VBBK'
TABLES
lines = lt_text
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 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.
CLEAR l_text.
LOOP AT lt_text.
CONCATENATE l_text lt_text-tdline INTO l_text.
ENDLOOP.
ENDFORM. "read_text -
How to find ObjectID for Basic Data Text?
I need to figure out what the ObjectID for the basic data text is in CRM...but, have had limited success in figuring out what the object name is for it.
Using transaction SE75 ---> Text Objects and IDs ---> Double click row with Object = PRODUCT
This brings up a list that says ID = BASE
So, if this is correct, would I declare the jsp code for the ISA to search in Basic Data Text like this?
<tr>
<td align="right" nowrap><isa:translate key="catalog.isa.description"></isa:translate>: </td>
<td><input type="text" class="textInput" name="<%= catalog.getCatalog().getAttributeGuid(AttributeKeyConstants.PRODUCT.BASE) %>" size="15" style="width:150px"></td>
</tr>You can use Transp. Table TBD62 .
enter Message Type CREMAS
you will get the list of tables and the fields from which data is pulled based on the change pointers in Transp. Table BDCP. -
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. -
Lsmw problem: for mm01 basic data text two language
Dear,
I want to realize, in mm01, under 'basic data text' tab, have English and French text.
I use lsmw, direct input,object:0020, method:0000, program name:RMDATIND.
The basic data text function should be done in structure BMMH7.
Now, I add some codes for BMMH7 after entering 'Display Conversion Program'. But the codes will be covered when the rules changed.
Could you please tell me how to do the same function in 'Maintain Field Mapping and Conversion Rules'?Look at the codes I added in conversion program:
form convert_transaction.
check so_tcntr.
loop at ZMATERIAL.
perform convert_0001. " BGR00
perform convert_0002. " BMM00
perform convert_0003. " BMMH1
perform convert_0004. " BMMH2
perform convert_0005. " BMMH3
perform convert_0006. " BMMH4
perform convert_0007. " BMMH5
perform convert_0008. " BMMH6
perform convert_0009. " BMMH7
* Add start by SAPGD003
perform convert_0011. " BMMH7
* Add end by SAPGD003
perform convert_0010. " BMMH8
ENDLOOP.
* End of transaction
transfer_transaction.
endform. "convert_transaction
form convert_0009. " BMMH7
check g_skip_transaction = no.
g_skip_record = no.
g_record = 'BMMH7'.
* --- __BEGIN_OF_RECORD__
BMMH7 = INIT_BMMH7.
* --- BMMH7-STYPE
BMMH7-STYPE = '8'.
* --- BMMH7-TDID
BMMH7-TDID = 'GRUN'.
* --- BMMH7-TDSPRAS
* Add start by SAPGD003
BMMH7-TDSPRAS = 'F'.
* Add end by SAPGD003
* --- BMMH7-TDFORMAT
BMMH7-TDFORMAT = '*'.
* --- BMMH7-TDLINE
* Add start by SAPGD003
BMMH7-TDLINE = zmaterial-TEXTE_CMD_FR .
* Add end by SAPGD003
* --- BMMH7-TDSPRASISO
* Add start by SAPGD003
BMMH7-TDSPRASISO = 'FR'.
* Add end by SAPGD003
* --- __END_OF_RECORD__
transfer_record.
g_skip_record = no.
endform. "convert_0009
form convert_0011. " BMMH7
check g_skip_transaction = no.
g_skip_record = no.
g_record = 'BMMH7'.
* --- __BEGIN_OF_RECORD__
BMMH7 = INIT_BMMH7.
* --- BMMH7-STYPE
BMMH7-STYPE = '8'.
* --- BMMH7-TDID
BMMH7-TDID = 'GRUN'.
* --- BMMH7-TDSPRAS
BMMH7-TDSPRAS = 'E'.
* --- BMMH7-TDFORMAT
BMMH7-TDFORMAT = '*'.
* --- BMMH7-TDLINE
BMMH7-TDLINE = zmaterial-TEXTE_CMD_EN .
* --- BMMH7-TDSPRASISO
BMMH7-TDSPRASISO = 'EN'.
* --- __END_OF_RECORD__
transfer_record.
g_skip_record = no.
endform. "convert_0011 -
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 -
Problem updating basic data text for a certain language via MM01 / MM02
We are facing the following problem :
We have materials where we maintain the basic data text via MM02 in different languages ( Dutch, English, French, German, Japanese and polish).
When we copy a material to a new one and we would like to update the basic data text we can do this directly except for some reason for Japanese.
For japanese we first must press the Editor Icon, we than get the editor were we can change the text and from that moment on everyting is ok.
But we would like to update the text like we do for the other languages without first pressing the editor icon.
We are running 4.7 and the sapgui is 7.1 patch 18.We are facing the following problem :
We have materials where we maintain the basic data text via MM02 in different languages ( Dutch, English, French, German, Japanese and polish).
When we copy a material to a new one and we would like to update the basic data text we can do this directly except for some reason for Japanese.
For japanese we first must press the Editor Icon, we than get the editor were we can change the text and from that moment on everyting is ok.
But we would like to update the text like we do for the other languages without first pressing the editor icon.
We are running 4.7 and the sapgui is 7.1 patch 18. -
Upload Basic Data Text for Materials
Hi,
I'm trying to upload Basic Data Text for Materials using FM SAVE_TEXT. Everything works fine except long text. It is not accepting more than 132 charactors. What logic should I use so that it will append the remaining text for the same material on the other line?
Please help !!!
Thanks.If your text is longer than 132 characters, you have to wrap the text into multiple lines (FMs you should be using are FORMAT_TEXTLINES & RKD_WORD_WRAP).
Search in SDN for details on these FMs.
BR,
Suhas
PS: You can also explore uploading the material long texts using BAPI_MATERIAL_SAVEDATA. Uploading Basic Data Longtext into Material Master -
Can't make or receive calls but can text and use data
I have had signal problems since I have got this phone which is an s4 my wife s3 mini gets better signal while at the same location. Tried everything customer service doesn't know and now I can't even make or receive a call. I can though send and receive text and use data but when I try to make a call it just says dialing then quits. Anyone trying to call says it will ring until voicemail but I never got the call. Can anyone help
haynes88,
Yikes! I want you to be able to make phone calls on your cell phone! I would recommend what others have stated on here as well. Remove the sim card for a good 30 seconds while the phone is off. Then try to make the phone call again. Have you ever replaced the sim card on your device before? You can always get a new sim card for free at a corporate store location: http://bit.ly/3SdsA Please keep us posted.
KevinR_VZW
Follow us on Twitter @VZWSupport -
Which table do "Basic data text" of material master record in?
Hi All:
There is tab with name of "Basic Data text" in additional data of material master, my question is which table record this information?
BR
KevinHi Kevin,
Please check this:
Read the long text of material master
Regards,
Csaba -
System table for Additional Data - Basic data text (MM03)
Hi
How can I get the system table for stroring data in MM03 in "Additional Data" the "basic data text" ?
Thanks in advance.Hi,
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'Z610'
LANGUAGE = SY-LANGU
NAME = V_TDNAME
OBJECT = 'VBBK'
ARCHIVE_HANDLE = 0
IMPORTING
HEADER = I_TEXT_HEAD
TABLES
LINES = I_TEXT_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
Regards,
Bharani -
Dear All,
In which table for a material, Basic Data text can be seen.
Please advice.
RegardsHI,
You can refer this post
Basic Data Text in MM03 -
Why is it when Im responding to a text and a new text comes in I lose what I was writing in IOS 8
Why is it when Im responding to a text and a new text comes in I lose what I was writing in IOS 8.
Syncing shouldn't trouch you photos unless you have photos in a Photo Library album. These would be photos that were synced to your phone from your computer. If you do have any, you'll need to use an app like PhotoSync to transfer them to your computer prior to syncing.
If you prefer to backup your camera roll photos prior to syncing, open iTunes and go to Preferences>Devices and check "Prevent...from syncing automatically". Then connect your phone to your computer and import them as explained here: http://support.apple.com/kb/HT4083.
Then, to minimize data loss, follow the steps in this user tip: https://discussions.apple.com/docs/DOC-3141. To follow the steps, first open iTunes and go to View>Show Sidebar. Also, Transfer Purchases is now located in File>Devices.
Maybe you are looking for
-
The description says it all. I bought a movie on iTunes but when I try to watch it plays back slowly with no sound. Then the video will speed up and the sound will work for a moment then off again and back to slow motion. I have a dell laptop ru
-
I just upgraded to the iPhone 5.. how do I get all thats on my iCloud onto my new phone ?
-
Change the subject on a received e mail
is it possible to change the subject of a received e mail in order to file it ?
-
I am using DVDSP 3 and have been working along and all of a sudden, it won't let me import some files (from Compressor) into my project. It won't import anything (stills, etc). But, it will let me import these same assets into another project. Any re
-
Macbook Pro wifi Help...
Hi, Brand new to these forums and to archlinux and i am amazed so far, imo it is the best distro i have ever used period. Now down to business i have a macbook pro and i have installed archlinux alongside mac os x. I am using the x64 version overlord