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
Sunny
Hi,
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
Similar Messages
-
Create PR header text via BAPI
Dear all,
Is there any BAPI which enable us to create the header text for the purchase requisition?
I have tried out BAPI BAPI_REQUISITION_CREATE but the text creation is at item level.
Please advise.
Thank you in advance.Hi,
Since the text could be read using FM 'READ_TEXT', then it should be able to save it using FM 'SAVE_TEXT'.
Or you could use LSMW with direct input method with object 0001 method 0001 and program name /SAPDMC/SAP_LSMW_IMPORT_TEXTS.
Another method is by using BDC after BAPI_REQUISITION_CREATE.
Please note that above method only applicable if the PR is successfully created.
Regards,
Teddy Kurniawan -
Create a Header Text ID in Purchase Requisition
Hi All,
I have a requirement of creating a Header Text ID in Purchase Requisition.
I tried to create it using SPRO but it only creates Texts for Item level.
I think we can do it using copy control. Please share your input.
Regards,
AmitHi Amit ...
i dont think we can maintain Header Texts at PR header ( also check in MM forums )....
what you can do is , maintain same text for Vendor(LFM1-Object) ..then it wll automatically can copy to following documents ..ie. PO.
regards
Prabhu -
It is necessary to create one header data for each file to be sent to CDFS.
hi GUYS
my sce anrio is FILE-XI-PROXY
REQUIREMENT IS
SOURCE FILE TARGET FILE WILL BE
H1 H1 H1 H1
I1 I1 I2 I3
I2 F1 F1 F1
I3
F1
It is necessary to create one header data for each file to be sent to TARGET. Each file will be related to only one SAP Company Code.
Thanks
NAGaa
-
How to create column header text while downloading file
How can we create column header text while downloading file using function GUI_DOWNLOAD(in SAP Release 4.6c) because there is no FIELDNAMES parameter in
4.6c version.Hii,
Check this sample code. I have called GUI_DOWNLOAD twice. Onetime to download header of table and next time data of table
REPORT z_file_download.
DATA: w_name(90) TYPE c.
DATA:
BEGIN OF fs_flight,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price LIKE sflight-price,
currency LIKE sflight-currency,
END OF fs_flight.
DATA:
BEGIN OF fs_head,
carrid(10) TYPE c,
connid(10) TYPE c,
fldate(10) TYPE c,
price(10) TYPE c,
curr(10) TYPE c,
END OF fs_head.
DATA:
t_head LIKE
TABLE OF
fs_head.
DATA:
t_flight LIKE
TABLE OF
fs_flight.
fs_head-carrid = 'CARRID'.
fs_head-connid = 'CONNID'.
fs_head-fldate = 'FLDATE'.
fs_head-price = 'PRICE'.
fs_head-curr = 'CURRENCY'.
APPEND fs_head TO t_head.
SELECT-OPTIONS:
s_carrid FOR fs_flight-carrid.
START-OF-SELECTION.
SELECT carrid
connid
fldate
price
currency
FROM sflight
INTO TABLE t_flight
WHERE carrid IN s_carrid.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
filename = 'D:\flight.xls'
FILETYPE = 'ASC'
* APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* IMPORTING
* FILELENGTH =
tables
data_tab = t_head
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'D:\flight.xls'
filetype = 'ASC'
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = t_flight
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc EQ 0.
MESSAGE 'Download successful' TYPE 'I'.
ENDIF.
IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Abhijeet -
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? -
Dump after creating new header text on sales order and invoice.
Hello,
We have created one header text on sales order and the same text for invoices, on VOTXN customizing.
Testing the new text, system let us save the text fine, but later, if we display the text, system give us dump error.
My question is, after transport the customizing to the next environment, is necessary run a standard program. Since VOTXN, we have generated the new access created, but dump appear displaying text header tab.
Any help on this?
Thanks in advanceHello Customer master table man
1) Did you review the dump analysis- ST22? Do that because the dump amy or may not be related to the Text config changes.
2) You are also mentioning about transporting? Did you already transport and are facing this issue in the target client or is it happening in the source client and you want to avoid it in the target? OSS note 1117467 throws light on transporting issues.
Review the following OSS notes:
548615 - FAQ: Text determination in SD II
548517 - FAQ: Text determination in SD I
1117467 - Text Customizing change not transferred in target system II
970153 - Change to Customizing text not transferred to target system
Hope this helps. -
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
-
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 -
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 -
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 -
Is it possibel to create one connection [pool for one report only
Hi is it possibe to create one connection pool for one report only. Others report are running from the another connection pool under same DB.
Thanks,Hi,
Why do u want seperate connectionpool for that single report?
I dont think its possible.Direct database request will be good solution for this.Try importing those columns which are used to build that report into physical layer and create new subject area.Not sure weather its right way to do.
Regards,
Srikanth -
Problems for creating a header text in a Purchase Requisition by IDOC
Hello,
I´m creating Purchase Requisition by IDOC. I use PREQCR02 like basic type ( Message type PREQCR-Create purchase requisition )
I don´t have any proble for creating item text, but I can´t create a header one.
Any Idea?
thanks for all.What is "it" that you cannot do (+ hate)???
What is "status"? LineStatus???
What is your problem when you try to skip an item?
PS: You should always use enums instead of hard-coded values e.g.: Use the BoAPARDocumentTypes Enumeration for delivery.Lines.BaseType -
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
Maybe you are looking for
-
Error while data loading in BI
Hi gurus, Our BI team is unable to load data from BI staging to BI Target.There is no data in BI Targets because of this Users can not test the BI reports. when they run it the header file status shows yellow instead of green. Please help. Regards, P
-
Measuring Point Status.
Dear All Consultants, I have scenario for warranty services, so I define master warranty with to conditions years - kilometer reading. The problem is while assigning master warranty to equipment master system gives me this error {could not determin
-
Unidentified Developers and OSX 10.9.5
I'm trying to work with the Security & Privacy settings in the System Preferences in 10.9.5. I'm using an Early 2009 Mac Pro (4,1). What I would like to do is run the client for EVE Online. The developer for EVE, CCP Games is not an identified, suppo
-
Flash 10 Not Able to Download Due to getPlus + (R) System Error
I cannot download this player to Windows XP. I keep getting Operating Sytem Error 16244.203.296-42072312.80040154.FFFFFFFF80040154. I have tried uninstall, changing authority on IE, turned off security. Anyone got any ideas? Thanks!
-
Which iOS version on a new 3Gs?
I'm looking at buying a new 3Gs in one week and was wondering which version of iOS it will come with. I've been reading about the Wifi troubles with version 4, so I'm hoping it comes with 3.x and I can just avoid upgrading until the issues are resolv