How we will maintian Header Text in Purchase Order Mandatory?
Dear All,
How we will maintian Header Text in Purchase Order Mandatory?Please suggest a Solution..
Thanks,
Raju
hi
in standard it is not posible u need to use User exit: EXIT_SAPMM06E_012 of enhancement MM06E005. check details with ABAPer
Vishal...
Similar Messages
-
BADI/Userexit for header text in Purchase order
Hi Experts,
i had a scenario , in that when i create a sales order , a purhcase requisiona and purchase order will also generate automatically.
in this case how to copy the header text of sales order to PR and PO.
is there any BADI or User Exit for this..
Pls help me.
Thanks ,
ChandraHello Chandra
Assuming that you are working on ERP 6.0 (Do we know???) then the BAdIs are:
ME_PROCESS_REQ_CUST
ME_PROCESS_PO_CUST
Regards
Uwe -
Default Header text in Purchase Order
Dear All,
I want to have a default PO header text.I.e whenever I create a PO the header text say "This PO is for XYX" should come as default in Header Text. How this can be achived.Through Config OR using some Function module..
what are the config.steps.?
Thanks in advance .
Regards
AmarTry below steps this may help you
Adopt Purchase Order Header Text
To default the Header Text into the Purchase Order
Step 1 :- Maintain text in Vendor Master
MK02 - Change Vendor
Choose Extras -> Texts - Input the text in Purchasing memo
Step 2 :- Link Text types to Header text in Purchase Order
OMFV - Define rules for copying (adoption of) text
Choose Header Text
Choose Goto -> Linkage: text types -> To vendor
Filled in the field No. (e.g. 01 - Header Text), next tick whether you want the text to be adopted or for displayed only
Choose Update to save -
HEADER TEXT in purchase orders using BAPI_PO_CREATE
How to update HEADER TEXT in purchase orders using BAPI_PO_CREATE or BAPI_PO_CREATE1?Please advice for both types.
Hi Srini ,
IF you are using the BAPI_PO_CREATE , we are not having the parameter to pass Header Text.
If you want to get Header Text directly then Use BAPI_PO_CREATE1 wiht a parameter POTEXTHEADER (I am not sure it is there in 4.7).
If BAPI_PO_CREATE1 does not exist in 4.7 then use create_text function module to update the the Header text
Hope it helps
Rgds
Sree M
Edited by: Sree Merugu on Jun 13, 2008 5:10 PM -
Copying Purchase requisition header text to Purchase order.
Hi Experts,
Can you suggest me a way to copy purchase requisition header text to purchase order?
Best Regards,
ShailendraHi
PR header text cannot be copied to PO ....... its std SAP .... reason being many PR can be copied to same PO .... so how to decide which PR header text to be copied to the PO .... ??? -
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 -
Copy Purchase Requisition Header Text to Purchase Order
Hello!
I will like to copy the Header text of the Purchase Requisition to the Purchase Order.
I have read that SAP does not allow to copy it to the Header Text of the PO but it allow to copy it to the Item text of the PO.
Can you give some hint on how to do this.
Thanks.
Regards,Hi
You can't copy the header text of PR to PO header
because Sometimes you need to convert different PRs to one PO.So each PR will have different header text, how the system will identify in PO header text.
So whatever the item text you maintained for PR will be copied to item text of PO if you create the PO with respect to PR.
So for this reason SAP has not provided the option for link the PR header text to PO header text.
Hope you understand,
rgds
Chidanand -
Default header texts in purchase order
Hi,
I would like to ask you for help in following case.
I need to set default purchase header text when a new PO is created in me21n.
I found transaction VOTX where can be this done for sales order, but not for PO. Is there anything similar also in MM?
Maybe I could use user exits in MM06E005, but I didn't find the relevant structure which keeps header texts.
Third idea is to add header text fields into personal setting in me21n, where each user can define his own default texts but I have no idea how to do that.
I need to set default texts which are global for all purchase orders, so it has no sense to use Info record in this case.
Has anybody experience with this? I would appreciate any help. Thanks.Hi,
you can try to solve it using BADI ME_PROCESS_PO_CUST. The method open is suitable for you problem. Here is a quote from a BADI documentation.
The OPEN method enables you to do the following when opening a new
document:
o Import new data if the document was already posted to the database
o Initialize your own data when creating a new document
You get a reference for object with type IF_PURCHASE_ORDER_MM in this method. This class implements interface IF_LONGTEXTS_MM with methods like IF_LONGTEXTS_MMGET_TEXT and IF_LONGTEXTS_MMSET_TEXT. So you should be able to set long text for your new PO in this method. Check BADI documentation for more info.
Cheers -
Header text in Purchase order is diappearing
hi,
while creating a purchase order i am entering the header text for shipping instructions, the movement i save the order the text is gettign disappeared , can any one help me to resolve this, any kind of help will be highly usefull..Is the the header text id a custom or SAP standard? If its custom, then there is some problem in the customizing or the TEXT-ID/Object creation.
-
Printing Header Text in Purchase Order
HI,
Actually I had the problem. A smart form has been developed for printing Purchase Order. Here in smartform a field has been declared to accept whatever the text had keyin in Header Text has to appear in Purchase Order. It is printing correctly until it is of Two paragraphs which consists of two or max three lines. Whenever it is exceeding these two paragraphs even a single word. It is printing something from the middle and in a reverse way. To get the clear picture I will give the example below.
<b>Ex.</b> <b>I</b>) This Purchase Order has been given.
Delivery has to be make on time.
In the above example it is ok printing properly.
<b>Ex.</b> <b>II</b>) This Purchase Order has been given after
verification.
Delivery has to be make on time as scheduled.
On Delay PO will be cancelled.
In this IInd example the output is showing as
<b>Output:</b> to be make on time as scheduled.
verification.
This Purchase Order has been given after
On Delay PO will be cancelled
Delivery has
Waiting for your help.
Thanks in Advance.
bye
Abdul Mannanhi,
Ofcourse, the field is a part of main window in Smart Forms. I will elaborate further, In Main window we declared one <u><b>Table</b></u> in the Tables <u><b>Main Area</b></u> there is a <u><b>Row</b></u> and in a Row there is a <u><b>Cell</b></u> in a cell we declared one <u><b>Text Field</b></u> which is taking that <u><b>header text</b></u> and printing it as output.
I hope you got it.
Waiting for reply with a good solution.
Thanks and Regards.
Bye.
Abdul Mannan -
How to take annexture [ long text ] in purchase order in smartforms
hi all expert's
[1] i printing P.O in smart form ....
can any body tell me how to take annexture [ long text ] into P.O layout....text will be a page or more pages...
[2] how to pass mumtiple line item on next susquent page .....
e.x suppose i having 10 line items for a P.O [ Purchase Order ]
on page first it should display 5 lines and on 2nd page it should display 5 lines .....
while i am printing it is showing all items on same page and breaking footer and printing on next line...
kindly suggest me ...
thanx in advance ...Hi,
The method is quite simple, i presume you're quite well versed with doing recording, so the key thing to keep in mind is how to prepare the input file.
At my end i had about 5 lines of data which needed to be uploaded, hence i had a tab-delimited file with the order nos. in the first column & the five lines of text in five different columns (Refer format below)
Order No.
Line - 1
Line - 2
Line - 3
Line - 4
Line - 5
12345
txt - 1
txt - 2
txt - 3
txt - 4
txt - 5
67890
txt - a
txt - b
txt - c
txt - d
txt - e
Now provide this input file for your lsmw or bdc program & it will work. You can work with your abaper if you're not so comfortable with LSMW or BDC programming he / she should be able to easily make it work for you.
Regards,
Vivek -
To change the header text of Purchase order using BAPI
Hi,
I am using BAPI_PO_CHANGE to change the header text of PO. But it s not reflecting. Can anyone help me by providing solution for this.
<i><b>Points will be rewarded for the useful answers.</b></i>Hi,
I need to change the text using this BAPI alone. I am using this because i need to change many parameters of PO.
Can u please say me solution using BAPI_PO_CHANGE. I need to know what are all the parameters need to be passed to BAPI to change the text.
Thank you for replying. -
created text in so10 with name dms_inst
while creating po with header text, i will enter in text editor with the name dms_inst
when saving the the so10 text should be save in headet text.
using the badi ME_PROCESS_PO_CUST.
in the pst metthod used the code below
DATA : lv_mepoheader TYPE mepoheader,
lv_texttypes TYPE mmpur_t_texttypes,
lv_text TYPE mmpur_texttypes,
wa_text LIKE LINE OF lv_texttypes,
v_tdname TYPE tdname,
lv_bool TYPE mmpur_bool,
i_textlines TYPE mmpur_t_textlines ,
v_stxh TYPE stxh,
i_tdline TYPE TABLE OF tline,
w_tdline LIKE LINE OF i_tdline,
v_tabix TYPE numc2,
w_line LIKE LINE OF i_textlines.
break gullapsu_zen.
CALL METHOD im_header->get_data
RECEIVING
re_data = lv_mepoheader.
CALL METHOD im_header->if_longtexts_mm~edit_text
EXPORTING
im_tdid = w_line-tdid.
CALL METHOD im_header->if_longtexts_mm~get_types
IMPORTING
ex_texttypes = lv_texttypes.
LOOP AT lv_texttypes INTO wa_text.
REFRESH i_textlines.
MOVE sy-tabix TO v_tabix.
MOVE wa_text-tdid TO w_line-tdid.
MOVE wa_text-tdobject TO w_line-tdobject.
MOVE wa_text-tdid TO lv_text-tdid.
MOVE wa_text-tdobject TO lv_text-tdobject.
MOVE 'X' TO lv_text-textflag.
CALL METHOD im_header->if_longtexts_mm~get_text
EXPORTING
im_tdid = wa_text-tdid
im_texttype = lv_text
IMPORTING
ex_textlines = i_textlines
ex_text_formatted = lv_bool.
LOOP AT i_textlines INTO w_line WHERE tdline NE space.
CONDENSE w_line-tdline.
MOVE w_line-tdline TO v_tdname .
EXIT.
ENDLOOP.
SELECT SINGLE * FROM stxh INTO v_stxh WHERE tdobject = 'TEXT'
AND tdname = v_tdname .
IF sy-subrc IS INITIAL.
REFRESH i_textlines.
CLEAR : w_line .
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = v_stxh-tdid
language = sy-langu
name = v_stxh-tdname
object = v_stxh-tdobject
TABLES
lines = i_tdline
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.
LOOP AT i_tdline INTO w_tdline.
MOVE w_tdline-tdformat TO w_line-tdformat.
MOVE w_tdline-tdline TO w_line-tdline.
APPEND w_line TO i_textlines.
ENDLOOP.
CALL METHOD im_header->if_longtexts_mm~set_text
EXPORTING
im_tdid = wa_text-tdid
im_textlines = i_textlines.
*data: val type MMPUR_BOOL value ' '.
*CALL METHOD im_header->IS_CHANGEABLE
receiving
RE_CHANGEABLE = VAL.
*CALL METHOD im_header->SET_CHANGED.
CLEAR : v_stxh , wa_text,w_tdline.
ENDIF.
ENDLOOP.
its dispaying the so10 text in po and getting message po saved with that text.
in change mode i am not able to see the text its dispaying the eralier so10 text dom_inst which i gave
let me know whats wrongHi
The fm READ_TEXT return whole text in TLINE structure, this one has two field:
- The first field indicates the paragraph or command used;
- the second one returns the text.
Now the field with text is long 72, so if the text is longer than 72 char, it'll be splitted in more lines than one.
In this case you should find the simbols indicating the line belong to the same paragraph of the previous line.
These symbols are usually SPACE or =, so if the hits in TLINE are like above:
Bye! Bye! The first line starts here
= and finsihs here
This is the next line.
It means you have a text with two lines:
Bye! Bye! The first line starts here and finsihs here
This is the next line
Max -
Unlimited space in Header Text of Purchase Order
Hi
Our customer wants to have unlimited space in the Header Text of the Purchase Order. Standard SAP Purchase order header text allows 15000 lines to be entered (approx 150 pages). After which the text needs to be split and entered. The same was suggested to the customer, but he wants to have unlimited space to enter in the Header Text and the same to be printed in the purchase order.
Can any one suggest a solution for the same.
Thanks in advance.
AJHi all,
Thanks for your quick response. The customer has got his own sets of terms and conditions which he wants to enter in the purchase order and take it in the printout of the purchase order. The data of these terms and conditions goes to more than the standard limit in SAP. Please help with a solution for the same.
Thanks in advance.
AJ -
Write header text in purchase order
hello,
I read text from a purchase order with FM READ_TEXT. But, How can i write or change this text?
ThanksHi
Use SAVE_TEXT FM to Save the text.
Thanks
Ravi
Maybe you are looking for
-
Can no longer download or update from the mac app store.
I get the error, The application could not be downloaded. The installation could not be started. However, my internet connection is fine. I tried deleting my safari, iTunes and app store caches to no effect. Any suggestions?
-
Advice on best arrangement for home network
This is my first post so go easy on me....please?! I have moved into a new apartment and am trying to set my network is the best way, but am struggling slightly. I have a WRT150N and WRVS4400N (Don't ask why I have both) both of which are brand new,
-
Exchange 2007 account - trouble connecting at times and a question
Hi all, so, I have my Ex change 2007 account setup on my MacBook Pro but I seem to keep having an issue. WHen the account was initially setup, I was connected to my company via the Cisco VPNClient and the connection worked great - mail, iCal & Addres
-
" Masquer jusqu'a l'animation"("Hide until the animation")
We bought Adobe In Design CS5. Now we have problem with animation SWF file that InDesign CS5 can generate. When we put " Masquer jusqu'a l'animation"("Hide until the animation") in preview it works correctly, but in SWF file it doesn't work. Can you
-
Display attribute is changed to nav in a cube.
I have change a display attribute to navigational attribute. Now if I run a BEx report on this cube, I dont get values for this nav attribute.Instead of value the column is displaying 'not assigned'. Please tell me what could be the reason?