VA41/VA42/VA43 - Hide standard field in header & post
Hy,
I need to hide or protect header field and post of contract for a specified type (VA41/VA42/VA43).
The field is WBS element in accounting assignment in header tab and post tab.
With User-Exit USEREXIT_FIELD_MODIFICATION, i coul hide WBS element in ALV first screen but it doesn't pass in header or post tab.
I need something like SAP use only badi: BADI_SD_SALES_BASIC and method MAINTAIN_SCREEN.
Any idea?
Thanks.
There's no user exit for it that I know of because of the coding block. The coding block screen is displayed dynamically based on the definition in the IMG and the values available. You might try an implicit enhancement somewhere in fm COBL_EX_SEND_PBO where the screen properties of the fields are built into an internal table. You'd have to call back to SAPMV45A witha field symbol to determine the transaction code though.
Similar Messages
-
Menu Exit for the Trasaction VA41/VA42/VA43?
Hai Exports,
I need the Menu Exit for the Tcode VA41/VA42/VA43.
In VA41 the menu Edit->Fastchanges of I need to add some more options .
Please help me on this menu Exit.
ThanksHi,
First U need to do
PROCESS BEFORE OUTPUT.
MODULE STATUS_0001.
after that double click on MODULE STATUS_0001 it will go the ABAP Editor.
MODULE status_0001 OUTPUT.
SET PF-STATUS 'MENU'.
SET TITLEBAR 'xxx'.
ENDMODULE.
double click on 'MENU'.
it will go to menu painter and click on function keys go to standard toolbar and write name EXIT on exit icon.
after that check activate and execute
Regards,
maddy rockstar. -
Tables for VA41 / VA42 / VA43
Hello,
We are creating Crystal Reports by connecting to SAP ECC. We are trying to create the VA43 report ( not all fields though) into Crystal.
Can some one tell me the exact table names used for VA 41/42/43 ( sales Order Contracts).
I am specifically looking for Sold To / Ship to / PO info, which I know is coming out of a Struct. But I want the exact table names where it is stored.
P.S. I have seen the basic sales tables already ( VBAP / VBAK etc..)
Regds
GirishHello
Use the below program to find the tables used in the given trasaction code.
REPORT zfsl_table_used_tcode NO STANDARD PAGE HEADING.
TABLES: d010tab, dd02l, tstc, tstct, dd02t.
* Types Defined *
TYPES: BEGIN OF ty_detail,
tcode LIKE tstct-tcode,
ttext LIKE tstct-ttext,
tabname LIKE d010tab-tabname,
ddtext LIKE dd02t-ddtext,
END OF ty_detail.
* Declaration of Internal Tables & Variables *
DATA: it_detail TYPE STANDARD TABLE OF ty_detail WITH HEADER LINE,
wa_detail LIKE LINE OF it_detail,
cursor_field(30).
* SELECTION SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001 NO INTERVALS.
SELECT-OPTIONS: sotcode FOR tstct-tcode NO INTERVALS MEMORY ID aaa,
sotext FOR tstct-ttext NO INTERVALS,
sotname FOR d010tab-tabname NO INTERVALS,
soddtext FOR dd02t-ddtext NO INTERVALS.
SELECTION-SCREEN END OF BLOCK a.
* AT SELECTION-SCREEN *
AT SELECTION-SCREEN.
IF sotcode[] IS INITIAL AND sotext[] IS INITIAL AND sotname[] IS INITIAL AND soddtext[] IS INITIAL.
MESSAGE 'You must select minimum one option' TYPE 'E'.
ENDIF.
* START-OF-SELECTION *
START-OF-SELECTION.
SELECT tstct~tcode tstct~ttext d010tab~tabname dd02t~ddtext
INTO CORRESPONDING FIELDS OF TABLE it_detail
FROM tstc INNER JOIN tstct ON ( tstc~tcode = tstct~tcode )
INNER JOIN d010tab ON ( tstc~pgmna = d010tab~master )
INNER JOIN dd02l ON ( d010tab~tabname = dd02l~tabname )
INNER JOIN dd02t ON ( dd02l~tabname = dd02t~tabname )
WHERE tstct~sprsl EQ 'E'
AND dd02l~as4local EQ 'A'
AND dd02l~as4vers EQ '0000'
AND dd02l~tabclass EQ 'TRANSP'
AND dd02t~ddlanguage EQ 'E'
AND tstct~tcode IN sotcode
AND tstct~ttext IN sotext
AND d010tab~tabname IN sotname
AND dd02t~ddtext IN soddtext.
IF sy-subrc EQ 0.
SORT: it_detail BY tcode tabname.
WRITE: 1(149) sy-uline,
/1(1) '|',
3(20) 'Transaction Code' CENTERED COLOR 1,
24(1) '|',
26(36) 'Transaction Text' CENTERED COLOR 1,
63(1) '|',
65(20) 'Table Name' CENTERED COLOR 1,
86(1) '|',
88(60) 'Table Description' CENTERED COLOR 1,
149(1) '|',
/1(149) sy-uline.
LOOP AT it_detail INTO wa_detail.
WRITE: /1(1) '|',
3(20) wa_detail-tcode HOTSPOT ON,
24(1) '|',
26(36) wa_detail-ttext HOTSPOT ON,
63(1) '|',
65(20) wa_detail-tabname HOTSPOT ON,
86(1) '|',
88(60) wa_detail-ddtext HOTSPOT ON,
149(1) '|'.
HIDE: wa_detail.
ENDLOOP.
WRITE: /1(149) sy-uline.
ELSE.
MESSAGE: 'Sorry, DATA not found for Given Criteria' TYPE 'S'.
ENDIF.
AT LINE-SELECTION.
GET CURSOR FIELD cursor_field.
CASE cursor_field.
WHEN 'WA_DETAIL-TCODE' OR 'WA_DETAIL-TTEXT'.
PERFORM show_transaction USING wa_detail-tcode.
WHEN 'WA_DETAIL-TABNAME' OR 'WA_DETAIL-DDTEXT'.
PERFORM show_table USING wa_detail-tabname.
WHEN OTHERS.
ENDCASE.
*& Form show_table
* text
* -->TABLE_NAME text
FORM show_table USING table_name.
CALL FUNCTION 'RS_DD_TABL_EDIT'
EXPORTING
objname = table_name
edit_mode = 'S'
EXCEPTIONS
object_not_found = 1
object_not_specified = 2
permission_failure = 3
not_executed = 4
OTHERS = 5.
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.
ENDFORM. "show_table
*& Form show_transaction
* text
* -->FIELD_VALUE text
FORM show_transaction USING tcode_in.
DATA: tcode LIKE tstc-tcode.
tcode = tcode_in.
CALL FUNCTION 'RS_TRANSACTION_SHOW'
EXPORTING
objectname = tcode
monitor_activate = ' '
EXCEPTIONS
object_not_found = 1
OTHERS = 2.
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.
ENDFORM. "show_transaction
Edited by: krishna dussa on Mar 11, 2010 1:34 PM -
Hello all,
I need to know: is there a way to hide a field in SRM web portal? For example, I know, in SAP ECC there is 'Field Status'; in SAP SRM.
Thanks,
Best Regards,
MariaHi,
As I told you the BADI "BBP_UI_CONTROL_BADI" can be used only in some trasnsactions to hide the std fields/links etc.
Pls read the documentation of the BADi:
Field Control in Purchasing Document
Use
Using the Business Add-In BBP_UI_CONTROL_BADI, you can change the visibility and the ready-to-input status of interface objects (for example, fields and pushbuttons) in a document.
You can use the BAdI to override the following documents and applications:
Purchase contract and global outline agreement
(Filter value BUS2000113)
Bid invitation (Filter value BUS2200)
Bid (Filterwert BUS2202)
Auction (Filter value BUS2208)
Purchase order (Filter value BUS2201)
Purchaser's Sourcing application
Confirmation (Filter value BUS2203)
Invoice (Filter value BUS2205)
Vendor list
Note
Changing the ready-to-input status of fields as designated in the standard can lead to errors. You should, therefore, avoid switching the status of a field that is not ready-to-input in the standard to ready-to-input. Do not, for example, set the object ID of an already existing contract to changeable.
Standard settings
Using the following methods of the BAdI, you can control the visibility and ready-to-input status of header and item fields, pushbuttons, and navigation links of the concerned applications and also interface objects of cross-application screens, for example, the partner overview, account assignment, status overview or approval:
BBP_CTR_UI_CTRL
for field control in the contract and in the global outline agreement
BBP_BID_UI_CTRL
for field control in the bid invitation
BBP_QUOT_UI_CTRL
for field control in the bid
BBP_AUC_UI_CTRL
for field control in the auction
BBP_PO_UI_CTRL
for field control in purchase orders, including the screens for purchase order response and price data in the item details.
BBP_AVL_UI_CTRL
for field control in the vendor list.
Using the following methods, you can override the visibility and ready-to-input status of header and item fields, pushbuttons, and navigation links of the relevant application, however not that of interface objects of cross-application screens:
BBP_SOCO_UI_CTRL
for field control in the purchaser's Sourcing application
BBP_CONF_UI_CTRL
for field control in the confirmation
BBP_INV_UI_CTRL
for field control in the invoice
Using the following method, you can set up the mass change transaction in such a way that the previous step need not be completed before the user switches to the next screen.
BBP_CTR_MASS_UI_CTRL
for control of the mass change transaction.
Other then the transactions mentioned above,you need to modify the Std ITS templates(in tcode SE80) to hide the required fields/buttons.For this you first need to find the corresponding ITS service and HTML template for the screen in which you want to remove the button/links from.
E.g.,This is the sample code for Bid invitation screen fields:
*To make the TYPE OF PUBLICATION field under BASIC DATA tab in BI screen as display only
IF iv_fieldname = 'BBPS_BID_UI_HEADER-BID_TYPE'.
cv_input_ready = c_space.
ENDIF.
HTH.
Similarly,You can debug at runtime and see the structures and names for the fields/buttons as per the CATALOGUE screen.
BR,
Disha.
P.S. DO reward points for useful answers. -
User-Exit in VA41/VA42 at ITEM level for output determination?
Hello Experts,
Am looking for user-exit/BADI/Enhancement Spot, my requireemnt is I need to populate the output (VA41/VA42 Tx>Menu>Extras>Output>ItemEdit goes to next screen, here we hv a column with lable of Output) output with my_z_output as soon as user inputs a line item and press ENTER (if its ONLY 1 item user may press SAVE button), pls. let me know whiich is the good spot for my req. in VA41/VA42
Thank youThank you. But, functional analyst is saying its 'not' or may be some other reason!
Pls. let me know wht is the good user-exit in VA41/VA42 to populate a value into a custom field (inserted via APPEND STRUCTURE) of a standard SAP communication structure? This is for output determination
Thak you -
Custom fields and Standard Fields
Hi
I'am working on upgrade project from SRM 4.0 to SRM 7.O. we have a client requirement that
1. some custom fields to hide at SC Header default settings like Company Code, Location, Strorage location. i was able to hide at item level via Field control at item level .But not able to achieve at SC Header Default setting
2.At SC item overview i need to change the naming of "PRICE/ LIMIT" to "PRICE"
3 in item basic data i was able to hide some fields, but not in other tabs like Account assignmnet, Ship to address etc...
Can give me some inputs how to achieve this
Appreciate your help
Regards
Sandeep DHi Sandeep,
1, SC Header custom fields
a. Add required custom fields to the Standard Header structures u2018INCL_EEW_PD_HEADER_CSFu2019 and u2018INCL_EEW_PD_HEADER_CSF_SC
b.Create new entries in the view /SAPSRM/V_MDF_HC, for the Custom fields added to the standard structure.
c. Enhance the Context node in the WD application- u2018/SAPSRM/WDC_SC_WZ_GAF_3STu2019.
d. Create new fields and labels in the Layout as a part of the Enhancement and bind it with the Context fields (Custom fields).
2,_For renaming_
Rename the "save" button on SC screens to "Hold Cart "
3, Hide some fields in Account assignmnet
Goto to sm30 maintain /SAPSRM/V_MDFSBC
set type : 31
Change the fields according to requirment.
Regards,
Neelima
Edited by: S Neelima on Mar 10, 2010 6:18 AM -
Problem with hidding Search fields used to pass IDs to the table
Hello,
I have a problem which may be trivial but I cannot find the solution for quite a long time.
Please help
I have created a standard Search Panel with CustomSimpleSearch
I have LOVs to search for manager and organizations. You simply choose the a manager of an organization from the list.
Then I would like to put the values back on the original form
in two fields (in case of manager)
Manager name - visible for users so they know what they selected
Manager ID - to use to search the records in the table I have
SO I have defined mappings and the values are passed and then
the records are found based on Manager ID. The only problem is
I don;t want the ID to be displayed on the screen. I would like to hide this
messageTextInput
but I cannot
I tried setting the following attributes:
Rendered = false -> searching does not work
Secret = true -> searching does not work
Length = 0 - > lenght does not change
How to hide this field so that the ID is passed to it transparently and then the value is used for searching ?
Thank You in advance for Your help
This forum is great
MichaelUse formValue bean instead of messageTextInput. It is used for the very same purpose which you are looking for.
--Shiv -
Check on Technical Objects when saving VA41/VA42 (Enhancement for SD)
Hi All,
I need to check whether a particular Equipment/Tech Object is already linked to any other existing Sales Document based on Sales Doc Type while saving. If so i need to raise an error and stop the VA41/VA42 Save.
I tried USER EXIT SAVE DOCUMENT PREPARE under SAPMV45A but i cant access the Tech Objects attached which is under SAPLIWOL.
Kindly advise me how to access Tech Objects data from SAPMV45A under SAVE DOCUMENT PREPARE or any better option is there.
Thanks,
Saleem BECInstead of validating technical object, you can try to validate the technical field name which would be very much available in the user exit.
G. Lakshmipathi -
How to hide two fields in SharePoint list when a dropdown value selected?
Hi all,
I have a SharePoint list which have four columns 1 Title 2.Type (Dropdown: option1:Issues Option2:Risk) 3.Risk Name and 4.Risk type. If 'type' value is 'Issues' then I need to hide field 3 and 4. In other words, default value in dropdown should be 'Issue'
and want to hide field 3 and 4 are onload without using InfoPath.
How to achieve this? Thanks in advance!You can make use of jquery for the same. Add script editor webpart on the page and access the dropdown value and based on the value you get, show or hide the fields. Below are some pointers.
http://sachinvkatkar.blogspot.in/2013/02/hide-fields-from-sharepoint-newform.html
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/50aa6f8d-f742-4400-82f3-7949ab1c215e/need-help-manipulating-form-fieldsrows-using-jquery?forum=sharepointdevelopmentprevious#802d9d4d-c19b-4752-a4fb-e38f40f50c51
http://social.technet.microsoft.com/wiki/contents/articles/21730.sharepoint-2010-conditionally-hide-fields-on-standard-list-forms-using-jquery.aspx
http://sharepointnadeem.blogspot.in/2013/09/sharepoint-showhide-list-column-based.html
Geetanjali Arora | My blogs | -
PC UI Advanced Search - Enhancement by standard fields of transaction table
Hello,
we are using CRM 5.0 SP13.
We are familiar to enhance PC UI applications (BP+transactions) by EEW customer fields and how to use/hide them in the search functionalities etc.
But now we need to enhance the advanced search for leads by the POSTING_DATE date of table CRMD_ORDERADM_H. Unfortunytely in PC UI advanced search structure for leads CRMT_BSP_LEA_SEARCH_ME the POSTING_DATE is not included like it is in the opportunity advanced search structure CRMT_BSP_OPP_SEARCH, where we were able to enhance the search easily by CRMC_BLUEPRINT_C customizing.
The idea is to solve the problem to create EEW fields POSTING_DATE_FROM and POSTING_DATE_TO like they are existing in CRMT_BSP_OPP_SEARCH and use them in advanced search. So far no problem in creating and displaying the EEW fileds by CRMC_BLUEPRINT_C.
But the part we are missing is to link the new EEW fields to the standard database-field POSTING_DATE and implement the search functionality "Searching by select option POSTING_DATE_FROM and POSTING_DATE_TO".
Anybody any experience to link EEW-fields to standard fields of database tables for advanced search functionality in PC UI.
Thank you for your help in advance.
Best regards
MarcoHi Marco,
The best option here is to create redefination of the query method of the leads search class. Here you can first ensure that the call to the query method of super class takes place and the next would be do mapping between custom fields to local structure and then call the relevant API's to fetch the data.
Best Regards, Adil -
Lost Append structure on adding standard field in exctractor 2LIS_13_VDITM
Hi,
In 2LIS_13_VDITM i have appended structure. Now i required to pull in another standard field from from the extractor from LBWE maintenance.
One doing that and activating ii somehow lost the custom appended structure from the extract structure.
I came to know this while replicating it into BW where it gave error about missing fields from the extractors.
Have anyone faced similar issue. If yes can you please let me know why this happened and how can i get those fields back in to the structure.
One way i know is by comparing it with the Q system i can manually append that structure again.
Please let me know.
Thanks a lot for responding.
RiteshHello Ritesh,
Are you adding the new field through append structure of the existing one or new one (Only one append structure is possible).
If in the same append structure , then check whether that structure is active and consistent.
If everything is ok, then check the hide option in the datasource (RSA6) whether its unchecked.
Hope it helps
Thanks
Chandran -
How to hide the fields with labels when page re-rendering
Hi Gurus,
Please help me to hide the fields with labels when page is re-rendered.
I have written a on load : before process also.
But it is not working
Thanks in advance
kavitha LHi jari and Bruce,
Thanks for your reply. I am sorry that, i am not clear
I have a javascript like
function showcase()
var ctry = document.getElementById('P3_CHANNEL').value;
if(ctry == 'Affiliate') {
$x_Hide('P3_PUBLLICATION');
$x_Hide('P3_PUBLLICATION_label');
$x_Hide('P3_CIRCULATION');
$x_Hide('P3_CIRCULATION_label');
$x_Hide('P3_MEDIA_CPM');
$x_Hide('P3_MEDIA_CPM_label');
$x_Hide('P3_RATE_CARD');
$x_Hide('P3_RATE_CARD_label');
$x_Hide('P3_DISCOUNT');
$x_Hide('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Hide('P3_DAREA');
$x_Hide('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Direct Mail')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'E-Mail')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if((ctry == 'Online') || (ctry == 'PPC'))
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Hide('P3_DAREA');
$x_Hide('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Outdoor')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'PR')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Radio')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'TV')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'A')
{ $x_Show('P3_POSITION');
$x_Show('P3_POSITION_label');
$x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
html_ShowItemRow('P3_ISSUE_DT');
else if(ctry == 'Print')
$x_Show('P3_POSITION');
$x_Show('P3_POSITION_label');
$x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
html_ShowItemRow('P3_ISSUE_DT');
doSubmit('CREATE');
function showcase12()
var ctry = document.getElementById('P3_CHANNEL').value;
if(ctry == 'Affiliate') {
$x_Hide('P3_PUBLLICATION');
$x_Hide('P3_PUBLLICATION_label');
$x_Hide('P3_CIRCULATION');
$x_Hide('P3_CIRCULATION_label');
$x_Hide('P3_MEDIA_CPM');
$x_Hide('P3_MEDIA_CPM_label');
$x_Hide('P3_RATE_CARD');
$x_Hide('P3_RATE_CARD_label');
$x_Hide('P3_DISCOUNT');
$x_Hide('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Hide('P3_DAREA');
$x_Hide('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Direct Mail')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'E-Mail')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Event')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Other')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if((ctry == 'Online') || (ctry == 'PPC'))
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Hide('P3_DAREA');
$x_Hide('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Outdoor')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'PR')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Radio')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'TV')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'A')
{ $x_Show('P3_POSITION');
$x_Show('P3_POSITION_label');
$x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
html_ShowItemRow('P3_ISSUE_DT');
else if(ctry == 'Print')
$x_Show('P3_POSITION');
$x_Show('P3_POSITION_label');
$x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
html_ShowItemRow('P3_ISSUE_DT');
}This script i am calling on, onchange() for the select list item P3_CHANNEL and it is working fine.
But i have a create button and cancel button.
After filling the details in the required columns, when i click the create button, if any validation errors are there.. the page is re-rendered. while doing that the hidden items are getting displayed back.
Tried Solutions:
1. I created a same function once more and in the last added the doSubmit('CREATE') and called the script from the create button.
At that time the hidden fields labels are getting displayed.
2. I created a process On load before header To call this script on a condition :REQUEST = 'CREATE'
Then also fruitless..
I hope now it is clear....
Please! Any suggestion are mostly appreciated.
Thanks in advance
Kavitha L -
Hide a field of function module
hi
in my customized FM if i give the report id it will display the page number, date, system name ,report name, etc., in the header of the report
i just dont want the page number to get displayed in the header of the report how to hide the field from displayingHi Varalakshmi,
I think u can use the <b>READ LINE <LINE NO></b>........statement along with
<b>REPLACE</b>........... statement to change the contents of the list output.
something like this:
read line 1 of page 1.
replace <> with SPACE into sy-lisel.
modify current line.
Message was edited by:
Rajesh -
Hide the field from datasource 0EMPLOYEE_ATTR
Hi Experts,
I have a requirement. Even i search in forum but i couldn't find out...
in data sourct 0EMPLOYEE_ATTR, i want to hide the field ANSAL(Annual Salary). This Data source is populated from the function module HR_BIW_GET_MASTER_DATA. We can hide that field in Extract structure, but i that is a temporary solution.
For permanent solution, I made a structure without the field ANSAL, also i copy the Function module to a new FM. After that i changed the extract structure to my structure name in table parameters. Also i include E_T_DATA without any type.
Now at the time of extraction, it gives an error that 'Errors occured during Extraction'.
Can you please suggest me where i am going wrong and what i have to do??What are you doing with the new function module?
What will you do with the standard datasource - I dont understand your destination?
Is it not enough to remove the field from the datasource?
-> what is nur problem: somebody can display this field in a datasource?
-> the same person can also active the datasource 0employee_attr. So, you have no solution.
Or you can create autorisation in BW for infoobjects.
Sven -
How to hide standard fileds ?
Hi All,
How can we hide the standard fields like Company Code , Location , Goods Recipents etc under the tab Basic Data in EBP?
Thanks,
AnubhavHi Anubhav,
You can use BBP_UI_CONTROL_BADI to hide these standard fields under the basic data tab.
Sample Code:
CASE IV_FIELDNAME.
WHEN 'GS_SCR_BASIC_I-BE_CO_CODE' OR 'GS_SCR_BASIC_I-RECIPIENT_ID'.
CV_INVISIBLE = C_X.
CV_INPUT_READY = ' '.
ENDCASE.
You can try hiding these fields in the Screen Variant through the SHD0 Transaction.
Thanks,
Pradeep
Maybe you are looking for
-
Show report without authentication
hi, i have a requirement that i want to show a report every month to anybody who have the link(ie URL) without any authentication. could we implement this ??? if yes please provide the detailed steps... Cheers...
-
Back to Back ATA SPA3102 solved as PSTN extension
Hi all, For a first a customer of mine required a 1KM wireless link to provide PSTN from one office to another, the WiFi has professional MicroNet access points in bridge mode with very low latency < 10ms. With some help from this forum I 'tuned' the
-
When I am trying to figure out how to use Class XXX from the core API I simply look up the Java docs and everything is explained. I have downloaded the TagLibs implementation of suns JSTL but cannot find anything similar for figuring out how to use t
-
[JS CS5] UserInteractionLevels not working with placeXML
I've included "app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll" at the beginning of my script, because I WANT the script to stop whenever a dialog or alert is shown. But it doesn't work when I use the "myDoc.xmlElem
-
I am trying to install two registry edits via a Zen bundle: [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\14.0\O utlook\Preferences] "DelegateSentItemsStyle"=dword:00000001 and [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\14.0\O utlook\Preferences] "I