Urg : okp2 transaction screen check box -msg maintence
Hi Folks,
thanks for your co-operation in every activity in SDN . My Requirement is in Transaction code OKP2 enter dummy date in controlling area ,fiscal year ,version and selecting plan tab in first screen its go to the second screen in this screen lot of period locks available . in this period locks are check or not depending upon project closed or nor . I want display message when Planning primary costs beside check boxes when it s checked at the movement display msg as
'" u cant post any Planning primary costs here " . so any function module are table using this check boxes updates are checked or not . could please tell me pseudo code on this requirement as soon as possible.
thanks
suresh
Hi,
I actually did not understandd your question completely. but if defaulting a value is only your requirement. then below is the way to do it for a specific user.
Normally for any user, if you want to default a value for any field. Then the parameter ID of that particular field will be given in the parameters tab of the users settings transaction SU01. Ask you security guy to help you out. and its respective value should be given there only. so that in SAP if this user opens and transaction and any of these fields are there in tha screen, they will be defaulted with the value given here in SU01.
If you want it for all user: You can try searching for field exit or user exit for that respective screen.
and not sure about this but you may even try using transaction variant( never used it, but you can give a try).
Hope it is helpful.
Thanks,
Venkatesh.
Edited by: venkatesh333 on Jul 19, 2011 11:11 AM
Similar Messages
-
Fetching sub-screen check box value in module pool
Hi,
i hav a req in which i craeted a sub-screen in a standard sap screen QA11 using screen -exit.
This sub-screen has two check box's for 2 approvals.I hav craeted as screen with this 2 check box and made that as a sub-screen to main screen.
I hav few validations to be performed on these 2 check-boxes.
1.Enabling and disabling of resp check-box based on some condition.This is happening as i hav written some logic in PBO of the screen.
2.Validations hav to be performed on the check-box like if user clicks a check-box that value has to be captured and stored in a Z custom table.My main issue comes here.i hav written some code in PAI,but when i put a break-point,that code is not at all getting triggered.
Kindly,let me know how can i get the check-box value from the sub-screen which is craeted in the standard screen of QA11 using screen-exit.
Thanks in advanceHi,
May be your code is written in PAI of some other screen.
check SY-DYNNR and also use this where you are checking chekbox value.
make sure your code is written in PAI of same subscreen
Thanks
Raghav M. -
Check box in ALV selection screen
Hi to all
I like to know how to create a checkbox in the input screen of an ALV.What do you mean by ALV check box selection screen?
ALV and selection screen check box( you are mixing two cases in your Question).
You need use the Function moduel in the user command to get the updated data.
in fieldcatalog you have to use INPUT = 'X' and EDIT = 'X' for the columns which ever you want edit.
GET_GLOBALS_FROM_SLVC_FULLSCR
follow the sample code.
REPORT ZTEST_ALV_CHECK MESSAGE-ID ZZ .
TYPE-POOLS: SLIS.
DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
L_LAYOUT TYPE SLIS_LAYOUT_ALV,
X_EVENTS TYPE SLIS_ALV_EVENT,
IT_EVENTS TYPE SLIS_T_EVENT.
DATA: BEGIN OF ITAB OCCURS 0,
VBELN LIKE VBAK-VBELN,
POSNR LIKE VBAP-POSNR,
CHK(1),
color(4),
END OF ITAB.
SELECT VBELN
POSNR
FROM VBAP
UP TO 20 ROWS
INTO TABLE ITAB.
X_FIELDCAT-FIELDNAME = 'CHK'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = 1.
X_FIELDCAT-INPUT = 'X'.
X_FIELDCAT-EDIT = 'X'.
X_FIELDCAT-CHECKBOX = 'X'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'VBELN'.
X_FIELDCAT-SELTEXT_L = 'VBELN'.
X_FIELDCAT-HOTSPOT = 'X'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = 2.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'POSNR'.
X_FIELDCAT-SELTEXT_L = 'POSNR'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = 3.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_LAYOUT-info_fieldname = 'COLOR'.
*L_LAYOUT-ZEBRA = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = L_LAYOUT
I_CALLBACK_PF_STATUS_SET = 'STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IT_FIELDCAT = IT_FIELDCAT
TABLES
T_OUTTAB = ITAB
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form STATUS
text
-->P_EXTAB text
FORM STATUS USING P_EXTAB TYPE SLIS_T_EXTAB.
Pf status
SET PF-STATUS 'STATUS'.
ENDFORM. " STATUS
*& Form USER_COMMAND
text
-->R_UCOMM text
-->RS_SELFIELD text
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
DATA: GD_REPID LIKE SY-REPID, "Exists
REF_GRID TYPE REF TO CL_GUI_ALV_GRID.
IF REF_GRID IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = REF_GRID.
ENDIF.
IF NOT REF_GRID IS INITIAL.
CALL METHOD REF_GRID->CHECK_CHANGED_DATA .
ENDIF.
loop at itab where chk = 'X'.
itab-color = 'C300'.
modify itab index sy-tabix transporting color.
endloop.
RS_SELFIELD-refresh = 'X'.
break-point.
ENDFORM. "USER_COMMAND
Regards
Vijay Babu Dudla -
there is a custom transaction where check box is there, check box is used for selecting of particular record but when the transaction running , the check box is in desable mode what will be the reason. kindly help me.
got the solution
-
How to add check box to list screen in SYCLO Agentry?
Hi,
How can I add a check box to the list screen. I want to add a new column which allows the user to select the check box.
I have tried with "Allow Multi-Row Select" option. When I selected this option I am getting an error
"The For Object defined for the "Transmit" action is invalid. 'None' is not a valid choice since the Multi-Row Selection option for the list screen is enabled."
-ShyamIs the list screen in transaction screenset or Object?
You can't use the field type button in a list screen. But what you can do is take a 16 x 16 image, with a checked box not checked.
Users will not be able just to check the box to enable it or not. You need to have an action linked to a button to the selected row, or you can have an action fire if the user double checks the row.
Stephen -
How can I disable a check box in one screen?
Hi,
I need to disable a check box in the screen 1106 on the program of the transaction F110. I can do that with a user exit or what I can use to do that?
Thanks!you have two options :
user exit , check if there is one for this transction
i attach program below .
field exit :
Within the CMOD transaction type PRFB in the transaction window.
PRFB is the ok-code to bring up the field exits.
You can also use Program RSMODPRF to create field exits.
hope its help u .
program for user exut :
*& Report ZUSEREXIT *
report zuserexit no standard page heading .
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen. -
Impact of EU check box in OY01 transaction
Hi,
Can any one explain me the impact of EU check box in OY01 transaction code, as per my knowledge if we selectthe EU check box the country for which we selected the check box it will fall upder the EU tax countries and the same by default will appear while creating Sales Order, but after doing this transaction where we cansee the impact of this chage to this specific country.
pls. suggest me on this and correct me if my assumption is wrong.
Regards,
LakshmiHi,
Not really. The check box will allow certain information to be entered in the company code and customer / vendor master for EU countries. By default it is coded with the country, ie. if you want to put this check on for any other country additional functionalities will not be activated.
As an example, if you go into Company code global parameters in Financial accounting, in the detail screen you will see a button for Additional data. Click on that, you will see additional fields which will only be visible for countries which have the EU check on.
Most of the impact due to this check box is related to EU reporting and usually master based and not transaction based.
Cheers. -
Adding check box in the transaction xd02
hi friends,
My requirement is to add a check box in the customer change : contact person details standard screen in the transaction xd02.
can any one please give me the suggestions for that?when u find the BADI name go there and add a sub screen with the element you want to put in there. activate the BADI. your task is done.
-
Check Box in se16n * se16 transaction
Hi Experts,
I got a requirement to add a check box in se16n & se16 for specific tables. I am not able to find any exit for that.
How to acheive this.
Many thansk in advance!
Rgds,
BenuWe do not have any standard exits or BADI available for the above transactions.
I could not find even implicit enhancements available for this.
You can make use of screen variants, and then assign it to transaction variants. If it is the legal requirement, try approaching SAP -
Hi all,
Can any one tell me how to create check box in se80 transcation and after clicking it, it has to goto
me51 transaction.How to declare checkbox in the program in se80.
Regards,
PriyaHi all,
Am facing a problem in screen develeopment .
Am displaying the details of material with pend pr and pend pos in a screen.
i have used 2 loops to display the details.
IN FIRST LOOP I HAVE USED a subroutine
perform append_modifypr to update the pr details in the screen
in second loop i am updationg the po detaills using perform append_modify po.
But if there are 5 prs displayed the po details gets displayed from 6 th line in table control.
i have to display it straight to pr.
Am getting the problem like this
mat no pend pr prqty pend po po qty
2015 10001 100
200
300
30004 200
30005 100
Coding attached.
Can any one help?
FORM APPEND_MODIFYPO .
DESCRIBE TABLE I_FINAL LINES LV_LINESPO .
IF LV_LINESPO >= TC1-CURRENT_LINE.
MODIFY I_FINAL FROM WA_FINAL INDEX TC1-CURRENT_LINE
Transporting EBELN BEDAT EINDT PMENGE POBEDNR.
ELSE.
APPEND WA_FINAL TO I_FINAL.
ENDIF.
tc1-current_line = tc1-current_line + 1.
ENDFORM. " APPE
FORM APPEND_MODIFYPR .
DESCRIBE TABLE I_FINAL LINES lv_lines .
IF lv_lines >= tc1-current_line.
MODIFY I_FINAL FROM WA_FINAL INDEX tc1-current_line
Transporting BANFN BNFPO BADAT MENGE PRBEDNR .
ELSE.
APPEND wa_final to i_final.
ENDIF.
tc1-current_line = tc1-current_line + 1.
ENDFORM. -
Payment Transaction check box in Posting Key configuration
Hi all,
Could you please enlighten me on the use of Payment transaction check box in posting key configuration screen.
I would like to know what impact does it have if its checked and if unchecked.
In F1 help its mentioned, Set this indicator in the posting keys for incoming payments, outgoing payments, payment differences (residual items) and payment clearing. - but I am need to know in which scenario this check box plays a role and its affect.
Thanks,
DSKHi,
Generally Payment Transaction checkbox will be checked for Payment Documents. Ex: PK -25 (Outgoing payment) and PK-35 (Incoming payment)
Payment Transaction checkbox will be unchecked for Invoice Documents. Ex PK-01 (Sales Invoice) and PK-31 (Purchase Invoice)
In this case, Default Payment Terms will be picked by system automatically at the time of invoice posting.
Thanks
Chandra -
How to add check boxes on plant data /storage tab of MM01/02/03 transaction
Hello experts,
I want to add check boxes on plant data /storage tab of MM01/02/03 transaction.
How can we achieve this?
Thanks for your help in advance!Hi Shriram Nimbolkar ,
Go to tranx code : MM01 /MM02 / MM03
1 ) System-->Status , here copy the program
2) Go to abap editor ,specify the program name and copy the package
3) Go to CMOD or SMOD
CMOD>Utilites-> SAP Enanchements, Here specify the package and execute it..
4) Displays multiple exists,
check the suitable exists and insert the code in particular screen...
Reg
Siva Prasad -
Option ( Radio button or check box) on selection - screen , to go to CNR2
<b>Subject - Option ( Radio button or check box) on selection - screen , to go to Tcode CNR2</b>
Hi all,
I have developed a report , which has a selection screen with one select-option , where i enter employee number and two radio buttons , one is for all workcentres and other one for active workcentre. so when i enter employee number and choose either of the radio button i wil get the output properly. the output displays , employee no, employee name , work centre and project of that employee . an employee may have many workcentres and a corresponding project for that work centre.
Now the Problem is , from the same report i need to add a option on the selection -screen , ( plz tell me whether to use radio button or check box and if it is radio button should i use it seperately or group it in the above two buttons.) .
so that when user selects the option , the control should go to transaction code CNR2, from where i can enter workcentre and in the next screen i have HR assigntment tab , after choosing that it will dsplay persons linked to the workcentre and there is a delete icon , from where i can delete the person.
The only thing is now to move / Navigate to the screen or go to transaction code CNR2 from the report or from the selection screen.
Your valuable Inputs are awaited, PLz do lemme know
Thanks in advance ,
regards,
ShujaShuja,
A radio button nor a checkbox should be used for navigation. I would suggest a COMMAND BUTTON.
Something like this:
Report ZZZZZZ.
TABLES: sscrfields.
SELECTION-SCREEN BEGIN OF BLOCK ONE WITH FRAME TITLE TEXT-001.
selection-screen: PUSHBUTTON /10(20) but1 USER-COMMAND cli1.
SELECTION-SCREEN END OF BLOCK ONE.
initialization.
but1 = 'Button Text Goes Here'.
AT SELECTION-SCREEN.
CASE sscrfields.
WHEN 'CLI1'.
call transaction 'CNR2'.
start-of-selection.
Your code here -
Adding a check box in MM01 transcation screen i am not abe see the checkbox
HI experts,
I added some checkbox's in mm01 transcation and configured the screen program and number in OMT3B the problem is i am not able see the checkbox's but i can see the labels for the check box in the screen when i am executing the mm02 transcation.
urgent requirement.Hi Santosh,
When you are importing from data dictionary , please try the following
(1)in screen painter once you click the import from dictionary
(a) select the field you want as checkbox
(b) you can see if you scroll sideways an option like
Radiobutton/checkbox etc for the same field
(c) Choose the checkbox option
(d) use the "Tick" on the table control
(e) Drag and drop to your screen
(2) Activate your screen
(3) Run the transaction again
Please let me know if it solves the problem
Regards
Byju -
PO/ S.Location and GR msg check box in 'delivery/invoice' tab of header dat
Hi all,
Under which case the below 2 fields are required to b filled while creating a PO apart from making them mandatory fieds in document type settings.
1. GR msg check box in 'delivery/invoice' tab of header data
2. Storage Location data in item details
in me59n, system unable process p.req to PO becoz it is mandatory to fill these two fields.Hi,
1. GR message check box issues message to the buyer after every the goods receipt against the PO.
Message type has to be configured for this functionality.
2. If you are managing stock of material at storage location level , then you will need to maintain this at PO item level.
Regards,
Maheshwari
Maybe you are looking for
-
What is the direct link between Schedule Line item and Delivery line item?
Hi SAP SD Gurus, The question is simple. I would like to calculate the Open order quantity for a particular month based on the Schedule Line Date. I am taking all the Schedule lines falling below the running date of the month and sum up that and loo
-
Problem with the Installation of OWB_10.2.0.1.win
Hi, I've downloaded the file OWB_10.2.0.1.win.zip, and extracted this one. So, when i've begun the installation with a double-click on setup file, the result was no response. Sytem : Win XP Pro SP2. The installation for OWB_10.1.0.4.0 is correct. Tha
-
Stored procedure modification breaks data refresh
Hello All, I have a PowerPivot model that is based off of a number of views and stored procedures on SQL Server. The procedures and views work fine, but I'm at a point where the business users have requested modifications that require changes (additi
-
No messages by perfoming a Function After Data Change - Web Interface Build
Hey Xperts, I have a problem to see messages, when I perform a Function via WEB - Function After Data Change. You can select by costomizing a Subcomponent "Layout" that a Function can be performent by the feature "Function After Data Change". But whe
-
Windows 98 resource & memory problems with Developer/2k v2.1
Hi All I have just started developing with Developer/2000 v2.1 on Oracle v7.3. I recently purchased a Dell Inspiron 3500 notebook PC running Windows 98 (64M RAM, 4.3G HD). I have had continuous problems with the system running out of system resources