How to disable field Order quantity
Hi everyone
I want to disable field item order quantity at line item level on the transaction VA02, can anybody help me on this?
im using the user exit MV45AFZZ to make other modifications in the program, can i use the same user exit or any other alternative?
The logic that you need to place should be something similar to below:
IF SY-TCODE = 'VA02' AND SCREEN-NAME = 'RV45A-KWMENG'.
SCREEN-INPUT = 0.
ENIF.
Hope this helps.
Kind Regards
Eswar
Similar Messages
-
How to disable fields in Table control???
Hi
How to disable fields in Table control??? I want to disable particular row in table control when enter datas are correct.lets take as example ME41 or ME51 table control.
Can anyone tell how to do disable in this table control
Points will be rewarded if its helpful.
Thanks
senthilIf you want to disable the row then you can use
in pbo module create a module in side loop,
loop at itab with control tc.
module change_screen.
endloop.
in module,,,,,
loop at screen.
if condition.
screen-input = 0.
modify screen.
endif.
endloop.
Regards
Vijay -
How to get Production Order Quantity
I have material number and plant. From this information how to get production order quantity that is displayed in the transaction MD04.
Thanks,
Vinay.Hi Vinay,
Have you looked FM <b>MD_STOCK_REQUIREMENTS_LIST_API</b>?
Hope this will help.
Regards,
Ferry ianto -
How to disable Create Order in Mobile Device
Hi All,
How to disable create order in the mobile device. We implemented MAM3.0 scenario, we just wanted to maintain Edit Order, Display Order in the Order Management. We don't want Create Order functionality in the mobile device. How can we achieve this?
Please through some light.
Thanks and Regards,
Ameer.Hi,
You can find all relevant enhancement documents for MAM30 at:
http://service.sap.com -> Under Sap support portal -> software download ->Sap Installations And Upgrades -> Installation and Upgrade guides ->SAP xApps -> SAP xApps for Mobile Business -> SAP xMAM -> There you can find for both xMAM 3.0 (For NW 04 and 04s).
You can see the Enhancemnt guide for Frontend for more details.
Hope this helps.
Best Regards,
Siva.
PS: Reward with some points if you find the post useful. -
Change the decimal places in screen MIGO field Order quantity - MENGE
Gurus
the scenario is in Screen MIGO , when gettin inside posting MIGO the functinal consultants need to give order quantity in the second screen and the technical name of that field is MENGE which can accept only 2 decimal places after point...now the requirement is we need to have 5 decimal places after point in that field...
how to achieve this....still not solved.
impact analysis -
How to change Service order quantity using BAPI/FM
Hi All,
Can any body tell me how to change the Service Order quantity (in IW32) using a FM or a BAPI.
I tried using the BAPI: BAPI_ALM_ORDER_MAINTAIN but I am unable to change the quantity. May be I might be missing some parameter. If anybody has done this please let me know the parameters that needs to be passed or if there is any other way out.
Points will be rewarded to useful answers!!
Thanks,
Susanth.Hi!
I have used this BAPI.read the documentation properly and after calling this bapi call BAPI_TRANSACTION_COMMIT then only expected results com n get saved.
for ex:
call function 'BAPI_ALM_ORDER_MAINTAIN'
tables
it_methods = itab_methods
it_header = itab_header
IT_HEADER_UP =
it_header_srv = itab_header_srv
IT_HEADER_SRV_UP =
it_userstatus = itab_userstatus
it_partner = itab_partner
IT_PARTNER_UP =
it_operation = itab_operation
IT_OPERATION_UP =
it_relation = itab_relation
IT_RELATION_UP =
it_component = itab_component
IT_COMPONENT_UP =
it_objectlist = itab_objectlist
IT_OBJECTLIST_UP =
it_olist_relation = itab_olist_relation
it_text = itab_text
it_text_lines = it_text_lines
it_srule = itab_srule
IT_SRULE_UP =
it_tasklists = itab_tasklists
extension_in = itab_extension_in
return = itab_return
et_numbers = itab_et_numbers
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'
IMPORTING
RETURN =
reward points if helpful. -
How can I get order quantity for a contract
Hi
I can see ordered quantity on a contract screen (VA42/VA43) but would you please tell me in which table or tables this is stored or how I can get ordered quantities against a contract
Regards
JavedDear Javed Ihsan
You cann't see the order quantity for contract, you can only see the target quantity for the contract.
However you can even see the order quantity for contract but it will not have any value -(VBAP-KWMENG).
You can only seethe target quantity for a contract-(VBAP-ZMENG).
For the release order you have order quantity( VBAP-KWMENG)
PLease check and revert
Thanks&Regards
Raghu.k -
How to disable field validation when block is in query mode ?
Hi,
we use Jdev 11g TP3 and implemented a button to set a block of input fields in query mode.
Some of this fields are mandatory.
When performing an execute operation this mandatory fields are validated and the JS error message pops up.
In query mode this fields must not be mandatory !
How to disable the validation of those mandatory fields when the block are in query mode?
BR
PeterHello Peter,
A little correction to Chris' suggestion, it should be:
<af:inputText value="#{bindings.<your field name>.inputValue}"
label="#{bindings.<your field name>.hints.label}"
required="#{!bindings.<your iterator name>Iterator.findMode && bindings.<your field name>.hints.mandatory}">
...etc...The only difference is the removal of the ? : operator since it isn't required and represents both an additional parsing and processing effort. Go micro-optimization!
~ Simon -
How to make field requirement quantity mandatory in maint order?
Hi Experts,
I would like to make filed RESBD-MENGE - requirement quantity field in component tab of maintenance order mandatory. But I am not getting the IMG settings for this. I checked this screen settings for components for PM/CS orders. But I didn't get this field in that screen. Can anybody help me out on this?
Thanks and Best Regards,
Praveen.Hi,
I need this to activate for all order types. I think this can be accomplished by user exit IWO10009, which will trigger during saving event. I didn't try for this but i used this exit previously for checking during saving event for some other field. I think this can be used here also so that while saving the system will check the field and if the field is empty, system will give the error message. some coding may required to check the field.
If you have any alternative idea kindly share.
Thanks and Best regards,
Praveen -
How to disable fields in BP-ACCOUNT MANAGEMENT based on a condition in UI
Hi
Good Day
I have a requirement wherein I need to disable few fields in'General Data" and "Main Address and Communication Data"
in "Account Management" while changing the "Account Details" in CRM UI(web) for a particular Account Group.
Can anyone help me how can we do this, since I'm new to CRM i'm unable to find the solution for the same.
Regards
AnilHi Anil,
Click on F2 in Web UI in the relevant field.
Get the Technical Details such as names
Component
View
Context Node
Attribute
Go to TX bsp_wd_cmpwb
Give the Component name and Enhancement set
Go to corresponding view.
Doubleclicking on view on the right side u get structure of the view.
Expand Context
then expand relevant context node
then relevant attribute
you can find the GET_I_ATTRIBUTE Method
method GET_I_ATTRIBUTE.
rv_disabled = 'TRUE'.
endmethod.
Check if rv_disabled = 'TRUE'
if then change rv_disabled = 'FALSE'.
Before seeting rv_disabled = 'FALSE' check the condition for which you want to make it disabled.
Regards,
Sijo. -
How to Disable field in Selection-screen
Hi All,
I want to disable Screen field in my seelction screen. Below is my Code, but it is not working.
I want to perform.
If RB1 = X
Then Parameter P_VBELN should get disabled. Please suggest, find below my code.
*....Selection Screen
selection-screen begin of block b1 with frame title text-001.
parameters: p_vbeln like vbak-vbeln.
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-002.
parameter: rb1 radiobutton group radi default 'X',
rb2 radiobutton group radi.
selection-screen end of block b2.
*....At Selection Screen
AT Selection-screen.
if p_vbeln = ''.
MESSAGE ID 'ZID' TYPE 'E' NUMBER '000'.
endif.
*....At selection screen output
AT Selection-screen output.
if rb1 = 'X'.
Loop at screen.
if screen = 'P_VBELN'.
screen-input = '0'.
endif.
modify screen.
endloop.
endif.
*....Start of selection
Start-of-Selection.
select *
from vbak into table itab1
where vbeln = p_vbeln.
if itab1 is initial.
select *
from vbap into table itab2
for all entries in itab1
where vbeln = itab1-vbeln.
endif.Hi Kamaljeet ,
In the code below..see the lines in BOLD..explanation is given as to why they are required
Code----
selection-screen begin of block b1 with frame title text-001.
parameters: p_vbeln like vbak-vbeln.
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-002.
parameter: rb1 radiobutton group radi default 'X' user-command ucomm,
rb2 radiobutton group radi.
selection-screen end of block b2.
AT Selection-screen output.
if rb1 = 'X'.
Loop at screen.
if screen-name = 'P_VBELN'.
screen-input = '0'.
endif.
modify screen.
endloop.
else.
Loop at screen.
if screen-name = 'P_VBELN'.
screen-input = '1'.
endif.
modify screen.
endloop.
endif.
Explanation----
If the user command is not given,the system will not trigger on the click of radio button..
Once triggered it comes to "At selection screen output"..where we must also mention the case when
radio button 2 is selected RB2 ..the p_vbeln must be input and when RB1 is selected the field
p_vbeln must be display only..Paste the code and see how it works
Then use the logic as desired...
Hope it helps
Regards
Byju -
How to disable fields in a report at runtime
Hi All,
i want to know is there any method to disable a particular field on the selection screen of a report program at runtime....
For example ... if i have two select options on the screen and i want to disable the second field if anything is entered in first field ....
can it be possible.. if yes then share then share the logic.
Thanks & regards,
SyedHi,
Please check the sample code below
AT SELECTION-SCREEN.
IF SEL_OPT1 IS NOT INITIAL.
LOOP AT SCREEN.
IF SCREEN-NAME = SEL_OPT2.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Hope this would help you.
Good luck
Narin -
How to disable Purchase Order Print Preview function in the Portal
We wish to expose some purchase order functions in our SAP Portal 7.0. The problem is that when we run any of the purchase order transactions as SAPGUI for HTML, the Print Preview function displays the full purchase order. This means that any user who wishes to short cut processes can display and then print a purchase order before it has been approved if they use the Portal to display the purchase order.
If the purchase order transaction is run from the normal SAPGUI, the Print Preview function only displays the top of the purchase order and the print function is disabled. Has anyone tackled this problem before and worked out a way of stopping users from using the Print Preview function to display purchase orders in the Portal and then print them?
Regards,
Tom Maggshi,
DATA: w_compop TYPE ssfcompop.
w_compop-tdimmed = ' '. "Print Immediately control parameter should be empty..
Then only print preview pop-up will come..
then call your smartform like this..
CALL FUNCTION fnam
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
TABLES
it_vbdkr = it_tvbdkr[]
it_vbdpr = tvbdpr[]
it_zglentitycode = it_zglentitycode[].
regards
vijay -
How to disable fields on selection screen?
hi,
i have two fields f1 and f2 on selection screen and two radio buttons r1 and r2.
if i select r1, f1 should be input enable and f2 shuld be disabled.
and if i select r2, f2 should be input enable and f1 shuld be disabled.
i hav code like this
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
PARAMETERS: p_Pfile TYPE rlgrap-filename, "presentation server input file
p_afile TYPE rlgrap-filename. "application server input file
p_efile TYPE rlgrap-filename. "error file
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS: R_ps TYPE c RADIOBUTTON GROUP rd default 'X', "radio button for presentation server
R_as TYPE c RADIOBUTTON GROUP rd . "radio button for application server
SELECTION-SCREEN END OF BLOCK blk2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF R_PS = C_X.
IF SCREEN-NAME = P_PFILE.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ELSE. "IF SCREEN-NAME = P_AFILE.
SCREEN-ACTIVE = 1.
SCREEN-INPUT = 1.
MODIFY SCREEN.
ENDIF.
ELSEIF R_AS = C_X.
IF SCREEN-NAME = P_PFILE.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ELSE. "IF SCREEN-NAME = P_AFILE.
SCREEN-ACTIVE = 1.
SCREEN-INPUT = 1.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
but i could not get that .
plz help meHi ,
This is my test code look at "at selection screen output" part you will get it.
data: g_user_has_auth(1) TYPE c,
v_key LIKE sy-pfkey,
it_ucomm TYPE TABLE OF sy-ucomm.
CONSTANTS : c_yes TYPE c VALUE '1' ,
c_no TYPE c VALUE '0' .
INITIALIZATION.
Code to remove standard execute button from selection screen.
v_key = sy-pfkey.
APPEND : 'ONLI' TO it_ucomm.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = v_key
p_program = ' '
TABLES
p_exclude = it_ucomm.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
SELECTION-SCREEN SKIP 1.
PARAMETERS: r_iobj RADIOBUTTON GROUP rb1 USER-COMMAND OP1.
PARAMETERS: r_ods RADIOBUTTON GROUP rb1.
PARAMETERS: r_cubes RADIOBUTTON GROUP rb1.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02 .
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) text-t02 FOR FIELD p_info MODIF ID OP1.
PARAMETERS: p_info TYPE string MODIF ID OP1.
SELECTION-SCREEN: PUSHBUTTON 68(10) but1 USER-COMMAND cli1 MODIF ID OP1.
SELECTION-SCREEN : END OF LINE.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t04.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) text-t02 FOR FIELD p_ods MODIF ID OP2.
PARAMETERS: p_ods TYPE string MODIF ID OP2.
SELECTION-SCREEN: PUSHBUTTON 68(10) ods1 USER-COMMAND cli3 MODIF ID OP2.
SELECTION-SCREEN : END OF LINE.
*SELECTION-SCREEN SKIP 1.
*PARAMETERS: r_exe RADIOBUTTON GROUP rb2.
*PARAMETERS: r_st1 RADIOBUTTON GROUP rb2.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN: PUSHBUTTON /1(20) ods_cr USER-COMMAND cli4 MODIF ID OP2.
SELECTION-SCREEN END OF BLOCK b3.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'OP1'.
IF R_IOBJ = 'X'.
SCREEN-INVISIBLE = C_NO.
SCREEN-ACTIVE = C_YES.
ELSE.
SCREEN-INVISIBLE = C_YES.
SCREEN-ACTIVE = C_NO.
ENDIF.
MODIFY SCREEN.
ENDIF.
IF SCREEN-GROUP1 = 'OP2'.
IF R_ODS = 'X'.
SCREEN-INVISIBLE = C_NO.
SCREEN-ACTIVE = C_YES.
ELSE.
SCREEN-INVISIBLE = C_YES.
SCREEN-ACTIVE = C_NO.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP. -
How to disable field based on the selected value
Hi everyone,
I have "employee" table,
it contains the following field,
emp_name
emp_designation
Category
YearsHere the "category" is the select list value which has the following values in select list,
Fresher
Experienced,
when the value :Fresher" is selected for "category" then the "Years" field should be disabled.
I tried the following dynamic action ,
Name:Disable_year
sequence:20
Event:Change
Selection Type:Item
Item(s):Category
Condition:equal to
value:Fresher
Fire When Event Result Is:TRUE
selection type:P1_YEARBut it doesnt work.
can anyone give alternate solution?
Thank you.
Regards,
gurujothiName:Disable_year
sequence:20
Event:Change
Selection Type:Item
Item(s):Category
Condition:equal to
value:FresherTry return value instead of this display value(Fresher) of select list
Fire When Event Result Is:TRUE
selection type:P1_YEARIn your above dynamic action, where is the disable action?
Maybe you are looking for
-
Problem playing video made from final cut
In my digital media class we use intel mac pros with the newest version of final cut pro. I made a 4 minute horror movie using a sony FX-1 HDV camera. When i exported it from final cut, i exported it as a quicktime using the HDV 1080i60 video codec.
-
How to restrict decimal values from number in OAF
Hi All, My requirement is, when ever user enter number in text box, if the number having decimal it should throw an exception to enter for only integer values. Appreciate help on this. Regards, Rakesh
-
Group Used as LOV does not return records
Have: 1. A header table called Claims 2. A detail table called ClaimLines 3. The Claims Table has a foreign key called emp_no which refers to an employee table ( Claims for an employee) 4. The ClaimLines table has a foreign key called mem_id which re
-
Want to downgrade from 2 lines to 1
If anyone has advice, I would greatly appreciate it! My problem: my old phone broke at the end of December 2010. Went to Verizon store. Did not have warranty, so was going to have to pay full price for new phone. Instead I was told I could just
-
I can't find the IOS7 parallax toggle in settings
has apple not installed parallax on IOS7 now? I can't seem to find it or see it working