How to restrict phase confirmation
Hi Gurus,
I want to restrict the confirmation of succeeding phase 0020 before phase 0010 is complete. That is, we have to ensure that 0010 should be complete, only then 0020 will be allowed to start? How to do that?
In my case, execution is done in external system MII. All the info flow from SAP to MII through PI category and then back to process message.
How do it configure this through PI categories? Is there any characteristic through which i need to do this?
Thanks
Thomas
Hi,
Apart from the setting in OPK4, you need to ensure that the relationship of the phases is maintained in your Master Recipe.
Regards,
Ravi Kumar C.
Similar Messages
-
How to restrict Goods Reciept before Confirmation
Greetings..
How to restrict Goods receipt (MB31,Movnt type 101) before Porduction Order Confirmation in CO11.
Right now if i do GR without confirmation, system allowed this.
How to restrct it .Dear SAP PP,
Check this links,
[Link1|How to stop the goods receipt before issueing the goods for production orde;
[Restricting GR for a production order|Re: confirmation issue]
Regards
Mangalraj.S -
How to Restrict Confirmed Quantity in Sales Order (Based on Batch Expiry)
Dear SD Experts,
Currently our sales order confirms any amount of quantity if stock is available. And only during delivery it checks for the expiration of the batch and reduces the delivery quantity to batches available in stock within expiry.
But since we are doing a bulk creation of deliveries at the end of the day, the check for expired batches is happening too late and no visibility for the data entry operators of stock that cannot be delivered during creation of the sales orders.
So I am looking for solution to restrict the confirmed quantity in sales order to actually confirm only stock what can be delivered. i.e. based on expiry of the batch.
Thanks!hi
in Logistic general - batch mangement - batch determination allocation and check activation - maintain allocate SD search Procedure/ activate check
check this for your sales area and sales document type and then in the search procedure maitain the strategy to check the Expiration date.
regards,
Sudhir -
How to restrict the user(Schema) from deleting the data from a table
Hi All,
I have scenario here.
I want to know how to restrict a user(Schema) from deleting the values from a table created in the same schema.
Below is the example.
I have created a table employee in abc schema which has two values.
EMPLOYEE
ABC
XYZ
In the above scenario the abc user can only fire select query on the EMPLOYEE table.
SELECT * FROM EMPLOYEE;
He should not be able to use any other DML commands on that table.
If he uses then Insufficient privileges error should be thrown.
Can anyone please help me out on this.Hi,
kumar0828 wrote:
Hi Frank,
Thanks for the reply.
Can you please elaborate on how to add policies for a table for just firing a select DML statement on table.See the SQL Packages and Types manual first. It has examples. You can also search the web for examples. This is sometimes called "Virtual Private Database" or VPD.
If you have problems, post a specific question here. Include CREATE TABLE and INSERT statements to create a table as it exists before the policies go into effect, the PL/SQL code to create the policies, and additonal DML statements that will be affected by the policies. Show what the table should contain after each of those DML statements.
Always say which version of Oracle you're using. Confirm that you have Enterprise Edition.
See the forum FAQ {message:id=9360002}
The basic idea behind row-level security is that it generates a string that is automatically added to SELECT and/or DML statement WHERE clauses. For example, if user ABC is only allowed to query a table on Sunday, then you might write a function that returns the string
USER != 'ABC'
OR TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'So whenever any user says
SELECT *
FROM table_x
;what actually runs is:
SELECT *
FROM table_x
WHERE USER != 'ABC'
OR TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'
;If you want to prevent any user from deleting rows, then the policy function can return just this string
0 = 1Then, if somone says
DELETE employee
;what actually gets run is
DELETE employee
WHERE 0 = 1
;No error will be raised, but no rows will be deleted.
Once again, it would be simpler, more efficient, more robust and easier to maintain if you just created the table in a different schema, and not give DELETE privileges.
Edited by: Frank Kulash on Nov 2, 2012 10:26 AM
I just saw the previous response, which makes some additional good points (e.g., a user can always TRUNCATE his own tables). ALso, if user ABC applies a security policy to the table, then user ABC can also remove the policy, so if you really want to prevent user ABC from deleting rows, no matter how hard the user tries, then you need to create the policies in a different schema. If you're creating things in a different schema, then you might as well create the table in a different schema. -
How to restrict the GR for Production Order when Goods Issue is not done
Hi Gurus
How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
Pls suggest best solution.
Abhijit.Hi,
You can club together the GI nad GR at the time of confirmation..
I.e Backflush for the components and auto GR for the Product.
So that you can stream line the Process.
The best Option would be to use the User Exit:
Enhancement - MBCF0002
Functional Module - EXIT_SAPMM07M_001
Include - ZXMBCU02
Refer below link for further details..
How to stop the goods receipt before issueing the goods for production orde
Regards,
Siva -
How to use Phase Indicator?
Hi All.
How to use Phase Indicator? Thank you in advance.Hi,
Please find the code snippet below.
I have explained in detail about the different phase indicator as and when they come up.
Types (ty_)
TYPES:
BEGIN OF ty_severity_list,
severe TYPE ccihe_severe,
severetxt TYPE ccihe_severetxt,
END OF ty_severity_list,
BEGIN OF ty_input,
severe TYPE ccihe_severe,
END OF ty_input,
Local objects (lo_)
DATA: lo_nd_record_risk TYPE REF TO if_wd_context_node,
lo_el_record_risk TYPE REF TO if_wd_context_element.
Local tables (lt_)
DATA: lt_severity_list TYPE STANDARD TABLE OF ty_severity_list,
lt_column_texts TYPE wdr_name_value_list,
Local structures (ls_)
ls_severity_list TYPE ty_severity_list,
ls_text TYPE wdr_name_value,
ls_record_risk TYPE wd_this->element_record_risk,
Local variables (lv_)
lv_window_title TYPE string,
lv_zzsevere LIKE ls_record_risk-zzsevere,
lv_zzseveretxt LIKE ls_record_risk-zzseveretxt.
field symbols(fs_)
FIELD-SYMBOLS: <fs_selection> TYPE ty_severity_list.
navigate from <CONTEXT> to <RECORD_RISK> via lead selection
lo_nd_record_risk = wd_context->get_child_node( name = wd_this->wdctx_record_risk ).
get element via lead selection
lo_el_record_risk = lo_nd_record_risk->get_element( ).
CASE ovs_callback_object->phase_indicator.
WHEN if_wd_ovs=>co_phase_0. "configuration phase, may be omitted
*Here you set
*The window title, the heading, or the column heading of the output table displayed *** hit list
*We can also set the selectability property, Basically the number of records that can be selected.
ls_text-name = `SEVERE`. "must match a field name of search
ls_text-value = wd_assist->if_wd_component_assistance~get_text( key = '010' ).
INSERT ls_text INTO TABLE lt_column_texts.
ls_text-name = `SEVERETXT`. "must match a field in list structure
ls_text-value = wd_assist->if_wd_component_assistance~get_text( key = '011' ).
INSERT ls_text INTO TABLE lt_column_texts.
lv_window_title = wd_assist->if_wd_component_assistance~get_text( key = '012' ).
ovs_callback_object->set_configuration(
column_texts = lt_column_texts
window_title = lv_window_title
col_count = 2
row_count = 10 ).
WHEN if_wd_ovs=>co_phase_1.
*This section is optional.
*This is to set the Selection view of the OVS component and default values on the screen.
*Here you can define the fields using which we can be used for further restricting the hitlist.
*The method SET_INPUT_STRUCTURE is provided for this purpose. If this not called, then the hitlist is displayed immediately.
ls_input-severe = '1'.
ovs_callback_object->set_input_structure( ls_input ).
*If the above method is called in some other phases then it would raise an error message.
WHEN if_wd_ovs=>co_phase_2.
*In this phase we can fetch the records to build the hitlist. The restrictions entered on the screen defined in phase 1 can be fetched from instance attribute QUERY_PARAMETERS of the event *parameter OVS_CALLBACK_OBJECT. Use method SET_OUTPUT_TABLE of the event parameter OVS_CALLBACK_OBJECT.
SELECT a~severe
b~severetxt
INTO CORRESPONDING FIELDS OF TABLE lt_severity_list
FROM ccihc_sv AS a INNER JOIN
ccihc_svtxt AS b ON asevere EQ bsevere
WHERE aratingcat EQ bratingcat AND
a~ratingcat = 'ZAN' AND
b~langu = sy-langu.
ovs_callback_object->set_output_table( output = lt_severity_list ).
WHEN if_wd_ovs=>co_phase_3.
*The result of the search was displayed in the results view of the OVS component and when user selects a record(s) on the hitlist displayed. The cursor comes to this phase and the selected *values can be fetched by reading the instance attribute SELECTION of the result parameter OVS_CALLBACK_OBJECT.
ASSIGN ovs_callback_object->selection->* TO <fs_selection>.
IF <fs_selection> IS ASSIGNED.
lv_zzsevere = <fs_selection>-severe.
lv_zzseveretxt = <fs_selection>-severetxt.
get single attribute
lo_el_record_risk->set_attribute( name = `ZZSEVERE`
value = lv_zzsevere ).
get single attribute
lo_el_record_risk->set_attribute( name = `ZZSEVERETXT`
value = lv_zzseveretxt ).
ENDIF.
ENDCASE.
Do let me know in case you need any more details.
Regards,
Sravan Varagani -
How to restrict Material Class in Sales Contract Doc
Hi,
I need to restrict Material Class in Sales order based on Item catagory, Material group4 and Sales contract Document type.
If the above 3 fields having a particular value then the system should restrict all the other classes of that material and display only a particular class and it's related characteristics.
If any one come across such a senario then pklease let me know.
Regards
AjayHi,
You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
how to restrict material master by material type t-code MM01
Hope this helps!!
Regards,
Raghu -
How to restrict S_ALR_87003642 - Open and Close Posting Periods entry/updat
How to restrict S_ALR_87003642 - Open and Close Posting Periods entry/update for certain group of users
eg. for Subsidiaries to openr/close periods of their own company only.
Refer to my screen, Company 1010 and 1060 is for Head Office while 1210 is for our Malaysia Company. How to restrict my Malaysia Company user to open and close only for 1210 and cannot perform any change to other Company.Hi,
I guess you can use company code itself. Talk to your basis guy or else if you have some expertise & Authorization try out PFCG.
Regards
Santosh Hegde -
F110 - Automatic payment. How to restrict picking up payments say,$10.
Hi Everyone,
Automatic Payment proposals when run, currently picks up all amounts including little cents like , 0.35. The payment method is Check and this involves cutting cheques for very small amounts.
How to restrict the program from picking up amounts say for eg , between 0 and $10 ..? Is there any settings we can use for this..?
Thnaks,
JayaHi,
Thanx..But if I put a minimum amount here, even my GST payments don't get processed with small payments.
Is there a way to restrict it for some payments alone..? Here the problem is there are Vendor payments and GST payments and we want to restrict it only for vendor payments involving smaller amounts.
Rgds,
Jaya -
-How to restrict Description into single row in the report
Hello Colleagues
I have a report which shows Material number versus Revenue. In the row, material is displayed with Technical name and description.
Here, the view of the report shows the description in single line. While, in the report, description of the report runs 3 to 4 lines though description contains 5 to 6 words (which can fit easily into single line).
Let me know how to restrict each row descrption into single line.
Regards,
NingarajuHello Colleagues
Please find the format it is currently appearing in the web reports.
Material Num Material Description Revenues (In Eur)
1000001 "SAP
ERP
Professsional
User" 111
Wanted to change above format into as below in which it has to show material description in single row.
Material Num Material Description Revenues (In Eur)
1000001 "SAP ERP Professsional User" 111
Regards,
Ningaraju -
How to restrict the changes in Relesed PO?.
Hi all,
How to restrict the users to make a changes in the Released PO?. User should make the changes only if it is unreleased by the respective codes.
1. Is there any user parameters like functional authorisation?
2. I have already suggested two solutions to the clients that
1. To restrict the authorisation of TCodes ME22n at the user level, but it's not a suitable solution, if user want to make any changes before releasing, then system is not allow to do the changes.
2. I have made release indicator as a 1 - not changeable if it is released, in release strategy settings. But the system is not allowing the all the users including release codes to make the changes?.
If there is any solution, please reply immediately.
with regards,
Raja.hi,
if u set release indicator 1, after release is taken place, for any changes, u need to revoke the release. and then change the PO.
even u cant directly block the changes to already released PO, because, in future if at all qty or some changes is required to change, it should allow u to change! -
How to restrict multiple ess session and access?
Hi experts,
how to restrict multiple session for ess user? and multi access for same ess user?
our problem is when user login to ess (doing session, for example leave request) and at the same time their manager is accessing travel approval task for that user, the approval process getting error. (we use travel workflow to approve travel request)
how to overcome this situation?
thanks.but there is no information on ESS screen for user being lock.
how to show the information on ess screen?
thanks -
How to Restrict Single Delivery Date for PO with Multiple Line Items
Dear Experts,
How to Restrict Single Delivery Date for PO with Multiple Line Items.
System needs to through Error Message if User Inputs Different Delivery Dates for PO with Multiple Line Items in ME21N Tcode.
Can we achive this by Some Enhancement in SAP or Not ???
If so how to do it.
Any Inputs is highly appreciated.
Thanks and Regards,
Selvakumar. MHi Selvakumar,
we can resrict the PO to have a single delivery date in all the line items by means of giving a error message or overwiting the delivery date keyed/determined in the line item.
You can use the BADI -> ME_PROCESS_PO_CUST. In which you need to implement the method PROCESS_SCHEDULE.
(for technical aid - This method will be called for each and every PO line item, From the imporing parameter im_schedule we can get all the details of current PO line, even we can change the data in the current PO line. )
Regards,
Madhu. -
How to restrict number of rows display using ig:gridView
Hi
All
How to restrict number of rows display using <ig:gridView datasource="{mybean.mylist}">
i am getting 10 rows using data_row . i wanna show only first 5 rows .
pageSize ="5" will be ok . but it displays remaining rows in next page. but i want to display only first 5 rows . is there any attribute to restrict number of rows.
thanks
rambhapuriI have no idea which component you're talking about. If want to discuss here about a non-Sun JSF component, then please mention about the name, version and build in detail. You can also consider posting this question at the website/forum/mailinglist of the component manfacturer rather than here. At least I can tell you that the Sun JSF h:dataTable has the 'rows' attribute for that. I can also suggest you to just take a look in the TLD documentation of the component in question. There should be all possible attributes listed with a detailed explanation about the behaviour.
-
How to restrict number of rows returned in BIP
Hi Friends..
How to restrict no of rows displayed by the report to some 10 rows for example.. in BIPIf its in RTF you can use position to restrict.
<?for-each:ROW[position()<11]?>
You can also restrict it in your sql query using ROWNUM.
Maybe you are looking for
-
T4CConnection Error while creating datasource in SOA 11g
Hi All, i getting the below error while creating the data source with an oracle database in oracle SOA 11g. I trying to create the datasource in the weblogic console page. The error is specifically coming while testing the database connection. Howeve
-
How to enforce position after decimal point
Hi, i need to enforce a position after the decimal point in an SAPScript Form. The Form is MEDRUCK_RV and the field ist RM06P-PRMG1. I tried to enforce it with RM06P-PRMG1(Z9.1) but it doesn't work. I need to cut the left-hand zeros and display one p
-
Elegant MDX Ytd based on Dynamic date
Hi, I have a Dimension attribute on my Date dimension called 'LastBusinessDay' which is a 0 or 1 value. 1 designates the last business day, 0 otherwise. I use this to allow end users so quickly get figures. What I would like to do is have an elegant
-
Can we create a single bdc for raw materials , and for some other transacti
hi can we create a single bdc for raw materials , and for some other transaction? how?
-
LMS RME Compliance Mgtm - Template Question
Hello I have LMS 3.2 on Windows. I have a question about compliance template. How I can describe unknown values in template? For example: I have routers with 2 - 3 syslog server (on each router they are different) and I want remove all of them and ad