Header Text For Orders
Hi ALL,
How to get the Headre Text for the Sales Order Number...
Do we have to use READ_TEXT if yes..
what all parameters to be passed and what will b ethe OBJECT for this ....
Thanks .
hi,
Go to header texts and get the id, name, object of the text.
tables : vbak.
DATA: BEGIN OF lines OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF lines.
data : text1(60) TYPE C ,
text2(60) TYPE C ,
text3(60) TYPE C ,
text4(60) TYPE C ,
text5(60) TYPE C .
data: w_id like thead-tdid, "Text ID
w_name like thead-tdname, "Name
w_object like thead-tdobject. "Texts: aplication
w_id = 'Z100'.
w_name = VBAK-VBELN.
w_object = 'VBBK'.
clear lines.
CLEAR TEXT1.
CLEAR TEXT2.
CLEAR TEXT3.
CLEAR TEXT4.
CLEAR TEXT5.
call function 'READ_TEXT'
EXPORTING
id = w_id
language = 'E'
name = w_name
object = w_object
TABLES
lines = lines
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.
ELSE .
REad table lines index 1.
if sy-subrc = 0.
text1 = lines-tdline.
endif.
REad table lines index 2.
if sy-subrc = 0.
text2 = lines-tdline.
endif.
REad table lines index 3.
if sy-subrc = 0.
text3 = lines-tdline.
endif.
REad table lines index 4.
if sy-subrc = 0.
text4 = lines-tdline.
endif.
REad table lines index 5.
if sy-subrc = 0.
text5 = lines-tdline.
endif.
ENDIF.
Regards
sailaja.
Similar Messages
-
IW32: Error getting message (Text for order header not maintain in lang.EN
Hello All,
We just starting getting this message in IW32 and IW33 stating (Text for order header not maintained in language EN) then all the pre-existing description test disappeared.
We have not done any configuration change in this particular system.
Can anyone help to resolve this.
ThanksHi,
As with most SAP messages it is always a good idea to trust what it is saying.
The system is telling you that KG has not been created in the English language.
Go to transaction CUNI to check the settings.
Select the Unit of measure for "MASS" (from the drop down list) and check the entries for UOMs.
KG should be there and should have an English description (the message said it was not there for EN)
If it is there and set up correctly then there might have been something else in the UOM field? You didn't enter " KG" did you (a blank character then KG?)
Steve B -
Header text for delivery order
Hi,
I want to retreive the header text for the given delivery number. Can anyone explain me in detail way how to retreive this.
If there is any FM please let me know What inputs should be given to that FM.
Thanks,
Rose.Hi,
You can use the FM read_text.
see the link below to solve your purpose.
http://www.blogtoplist.com/rss/function.html
Please reward points if useful.
Regards
Rose -
Hello,
Mine client requirement is like they want default header Text for all PO.Please guide me, what is the customization required?
Regards,
JyotiHi jyoti,
As per my understanding of your requirement, you can try to maintain the default PO Text in the "Vendor Master Record" or in "Contract" if applicable and then you need to do the following customisation to adopt these texts in the Purchase Orders.
IMG -> Material Management -> Purchasing -> Purchase Order -> Texts for Purchase Orders -> Define Text Types for Header Texts and Define Copying Rules for Header Texts.
In Define Copuying Rules for Header Texts -tab you can maintain that in which Target Header Text, the deault PO text should be adopted and from where i.e. From Vendor Master Record or Contract or RFQ. Check which of this satisfy your requiremnt to the maximum extent.
Please check this and see if your requirement is fulfilled or not.
Regards,
Ankit
Edited by: Ankit Patodi on Jan 12, 2011 11:55 AM -
How can i add Document Header Text for s_alr_87012357
Hi Gurus
How can i add Document Header Text for s_alr_87012357(Advance Return for Tax on Sales/Purchases).do i need change the standard program or is there any alternate to do this please help me out.i found it .its in output list and i did change the layout settings.thanks
-
Dear colleagues,
I have created a new header text for PR under object EBANH (as Z01) from transaction code SE75. This new header text appears when creating/changing PR but when I fill this new header text right behind saving of PR filled data disappears from this new header text of PR.
Can you please advice how to solve this issue?
Thanks.Hi Nick,
EBANH is active if it wouldn't have than I couldn't maintain the original text area (B01) supplied by SAP. But I can simply maintain and save original header note of PR.
Thanks.
PS. Where can I see if EBANH is active or not? -
Header Text for Field Catalog ALV Grid doubt ..
Hi everybody
I have an ALV Grid List Report (REUSE_ALV_LIST_DISPLAY)
but i have a trouble: the header texts for the fields are always truncated to 10 positions.
The code for fill the Field Catalog are:
CLEAR l_field_cat.
l_field_cat-COL_POS = 2.
l_field_cat-FIELDNAME = 'AVERAGE'.
l_field_cat-TABNAME = 'T_REPORT'.
l_field_cat-REF_TABNAME = 'RPSCO'.
l_field_cat-REF_FIELDNAME = 'WLP00'.
l_field_cat-SELTEXT_S = TEXT-004. <- 'AverageAmount' 20 lenght
l_field_cat-DDICTXT = 'S'.
l_field_cat-KEY = ' '.
l_field_cat-KEY_SEL = ' '.
APPEND l_field_cat TO p_field_cat.
But, although the column appears with 20 characters lenght, the header text appears 'AverageAmo', and it is in the same way for all the fields, even with fields with 40 characters lenght.
What am i doing incorrect ?
Thanks in Advanced
FrankThat is because of field I_field_cat-SELTEXT_S.
This will always display 10 char long text.
To avoid truncating you can specify length for the header.
Try this
x_fieldcat-seltext_l = TEXT-004.
x_fieldcat-outputlen = 20.
x_fieldcat-ddictxt = c_l.
Message was edited by: Ashish Gundawar
Message was edited by: Ashish Gundawar -
How to retrieve the header texts for a contract
HI,
i think we need to use the FM read_text to get the header texts for a contract but dont know how to use the FM like what all the parameters are passed to that to get the header texts of a contract(va43).
any help is appreciated with points.
thanks
prasadHi,
Pls refer this code,
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = '0001'
language = sy-langu
name = v_textid
object = 'KNMT'
IMPORTING
header = t_header
TABLES
lines = t_lines
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 EQ 0.
LOOP AT t_lines.
CONCATENATE w_arktx t_lines-tdline INTO w_arktx
SEPARATED BY space.
ENDLOOP.
ENDIF.
IF w_arktx NE space.
MOVE w_arktx+1(1583) TO t_lips-arktx.
ELSEIF w_arktx EQ space.
CLEAR w_text_name.
CLEAR v_textid.
wa_lips-matnr = t_lips-matnr.
wa_lips-vkorg = t_likp-vkorg.
wa_lips-vtweg = t_lips-vtweg.
w_text_name = wa_lips.
CLEAR w_arktx.
Retrieval of Sales Text
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = '0001'
language = sy-langu
name = w_text_name
object = 'MVKE'
IMPORTING
header = t_header
TABLES
lines = t_lines
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 EQ 0.
LOOP AT t_lines.
CONCATENATE w_arktx t_lines-tdline INTO w_arktx
SEPARATED BY space.
ENDLOOP.
ENDIF.
IF w_arktx NE space.
MOVE w_arktx+1(1583) TO t_lips-arktx.
ELSE.
REgards
srinivas -
Pulling the Header text for all the purchase orders
Hello,
Please help in resolving the below:
Is there any code in SAp to pull theHeader text for all the purchase orders in the data base,
Any tcode to pull the specific text automatically to pull the text from the requsition ( Plant wise in sourcing).
ThanksSTXH Text header
STXL Text detail
Chk the below message thread
Table to read PO Header text and item text
BR,
Krishna -
Header Text for Purchase Requisition
Problem Description: Is there a way Header text can be configured / customized for purcahse requisitions just as we do for POs and then defined to be copied to purchase order?
I know Header Note is available on Pur Req but comments in this section remain internal.
I have also reseached that there is a BADI 'Adopt Header Text When Copying Purchase Requisitions' but in standard system this is not active.Hi,
try this BADI - ME_REQ_HEADER_TEXT : Header Text: Enjoy Purchase Requisition -
Create PR header text for local PR only
Dear all,
I want to create a new PR header text which is used for local PR ONLY.
I used tran. code SE75 to craeted a new text ID for PR. After created, the new header text item appeared in all PR types. May I ask how to do if I wan this PR header text appeared in local PR only.
Many thanks foe all of your ideas.
Thanks
SunnyHi,
As of my knowledge, the PO / PR texts CANT be created for a particular document type - It will be applicable for all document types in standard SAP. If you want the text to be visible for particular document type only, then you have to go for development.
Regards,
AKPT -
Header Text for Standard Field
I have a standard text field in RQEVA structure and field is SGTXT04 ,I want to fetch data from this field using READ_TEXT but for this I m not able to get the Header text information like ID,Name ,Object.
Please suggest how to get these information for this feld which is in QA11 used for Rejection Reason.Its still not working, need ur help
I just want to tell you one more thing is that the field SGTXT04 is standard text field
I have written this following code :-
DATA : begin of IT_QALS OCCURS 0,
PRUEFLOS like QALS-PRUEFLOS,
end of IT_QALS.
data : begin of IT_QAVE OCCURS 0,
kzart like qave-kzart,
end of IT_QAVE.
PARAMETERS: S_PRUE LIKE QALS-PRUEFLOS,
S_KZART LIKE QAVE-KZART.
SELECT PRUEFLOS FROM QALS INTO corresponding fields of IT_QALS where PRUEFLOS = S_PRUE .
ENDSELECT.
SELECT KZART FROM QAVE INTO corresponding fields of IT_QAVE where KZART = S_KZART .
ENDSELECT.
data:
BEGIN OF header OCCURS 0,
ld_txt1(163),
ld_txt2(163),
ld_txt3(163),
END OF header.
DATA: li_lines LIKE STANDARD TABLE OF tline WITH HEADER LINE,
ID like THEAD-TDID,
TNAME LIKE THEAD-TDNAME,
TNAME1 LIKE THEAD-TDNAME,
TDOBJECT like THEAD-TDOBJECT.
concatenate sy-mandt IT_qals-prueflos IT_qave-kzart into TNAME1.
ID = 'QAVE'.
TNAME = TNAME1.
TDOBJECT = 'QPRUEFLOS'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = ID
language = sy-langu
name = TNAME
object = TDOBJECT
TABLES
lines = li_lines.
READ TABLE li_lines INDEX 1.
IF sy-subrc = 0.
header-ld_txt1 = li_lines-tdline.
ENDIF.
READ TABLE li_lines INDEX 2.
IF sy-subrc = 0.
header-ld_txt2 = li_lines-tdline.
ENDIF.
READ TABLE li_lines INDEX 3.
IF sy-subrc = 0.
header-ld_txt3 = li_lines-tdline.
ENDIF.
WRITE:/ header-ld_txt1.
WRITE:/ header-ld_txt2.
WRITE:/ header-ld_txt3.
Edited by: Nishantbhargava on Aug 1, 2011 9:30 AM -
Smartforms - printing header text for a PO
Hi,
I need to print the header text from a PO. To do this I'm using the function Module READ_TEXT.
While entering the header text if they make it bold or underlined then the Output is having html tags. How to get rid of these tags?? (Ex: <B> Header Text </>)
Thank you,
RenuUse REPLACE or TRANSLATE to replace the tags with spaces or to just remove them, i.e. "replace with nothing" (not sure about this option though - never tried it myself). You might need to do SHIFT or CONDENSE afterwards to get rid of extra spaces, if necesary.
-
How to change heading text for parameter field of type date
Hi,
After creating a parameter field with the type " Date Time" when I open the report for entering the parameter then it displays the given parameter with the following text:
" Please enter Date in format "yyyy-mm-dd". "
I want to change it to some other text like as:
" You have to enter the date and time in format yyyy-mm-dd . "
Is there any way by which I can change this given header to some other text.
Let me know if anyone needs some more information in this regard so as to solve my given query soon.Hi Garrett,
Well first of all I can change only the prompt text that is user defined. I cannot change any parameter as of now whose type is let suppose Date. Since in this case the Business Object itself shows the text which is something like this " Please enter Date in format "yyyy-mm-dd". " .
Here I want to change this given text to some other format like " You have to enter the date in the format yyyy-mm-dd" or in any other manner.
Also the current Crystal Report version which I am using is 11.0.0.1282. -
DELIVERY BLOCK AT HEADER LEVEL FOR ORDERS VIA EDI...
Hi Experts,
I have got a situation, My client gets an EDI inbound sales orders from Canada, for those orders he faces delivery block at header level..which they dont want...
Can someone please guide me exactly where he receives those orders, how he processes it, and whats the background configuration for bloking those orders...how to start the checking the settings
Thanks & Regards,
Srikanth.RHi,
Get the posted Sales order number # via EDI ie We02. Now got to VA03 and input that sales order.When the sales order is opened.
Now from the Menu -->Go to >header>Sales .Note down the order type.
Now go to the Transaction code:VOV8 for the order type check whether the delivery block is maintained.
Regards,
Maybe you are looking for
-
HP PhotoSmart 7510 suddenly has severe connectivity issues
I have a HP PhotoSmart 7510 printer since about 2 months. Initial setup worked like a charm and the printer has been working pretty much perfectly for the last 2 months. Wireless printing, scanning and internet access on the printer (e.g. for Faceboo
-
Unable to update SQL Server thru XI using JDBC Adapter
Hi, I am trying to update SQL Server. When I run the scenario I get Success status in sxmb_moni, But when I see in SQL server nothing is getting updated. Can anybody let me know where I may be doing wrong? Thanks In Advance. Yaseen.
-
When I installed iTunes 11 on a Windows 8 system the installation did not seem to work correctly. There is no sidebar and no ribbon w/ File, Edit, etc. I tried to use an external hard drive to move from an older computer using XP to the new one w/
-
Why won't my computer wake up now that i downloaded yosemite?
after downloading yosemite twice i have to power off my computer to get it to start up>
-
Dear all, Let's see if anyone can help me with this, as I am stuck. We have two Data Services installations: DEV and PROD. Both of them DS 3.2 (no SP although I am currently downloading the last one just in case). DEV is working perfectly: running th