How to control "Procurement parameter" for plant stock.
Hi everyone
I have changed Subject and question as below;
Our customer wants to create P.R manually before MRP running for some of reason.
After create Project/WBS/Network/Activity and assign component to Activity, when assign
component to activity, set "Procurement parameter""Requisition + reservation for WBS elemen",
then P.R is automatically created. For project stock it seems OK. However when I try to do
same thing for plant stock, I can choose only "Reservation for network". How to control this part?
Experts, please give me your advice.
Regards,
Satoru
Edited by: Tempra Samurai on Jan 23, 2010 12:37 AM
Hi,
Create a Procurement Key in OPS8 and under Priorities give Priority 1 to Plant stock and 2 to Project Stock.
So attach a material to Activity in CJ20N a reservation will be created without AcctAssgcat Q ,Special Stock Q.
Here in this case you can directly issue goods to project also if unrestricted stock is availabe ,here the system will consider only 281 Now.
After you run MRP ,system will create PRs on the basis of Requirement and availabity but without the reference of WBSE because you are creating PR for Plant stock.
Hope it is clear.
Muzamil
Similar Messages
-
How to control the permission for reports in share folder?
Hi Experts,
In OBIEE 11.1.1.6.0.
I have created two folders in share folder,one is sales folder which contains some sales reports,and the other is dashboard folder which contains some dashboard pages that have these sales reports.
So I want to new users who do not access the sales folder, but can view the sales reports in dashboard pages.
How to control the permission for reports in share folder? Thanks for your help.
Note: Dashboard pages have whole sales reports for showing.Hi User,
1. Give access to the users for all reports.
2. Give No Access to Retail Folder
3. GIve read or full access to dashboard folder.
To set the permission , click on the object/folder bottom left you will find Permission. you set there.
Mark if correct,
fiaz -
How to Track the valuation for IC Stock Transfer
Hi Folk,
I have a requirement for Intercompany Stock Transfer Where Plant "A" place PO to Plant "B" and Plant "B" does the Stock Transfer to Plant "A". Both the plant belongs to differnet company code. But both the company code share the same Chart of Account.
The Issue here is how the Plant "B" maintain the valuation for the Stock Transfer as there is no invoicing generated for this.
Should you need any further information / clarifiction pls feel free to let me know.
Pls share your expertise with me.
Looking forward to hear from you at the earliest.
Thanks,
NiharIn intercompany STO delivering plant should invoice to recieving plant and it will have the accounting entries as well.Keep in mind that both plants are related to different company codes.Accounting will be done as normal sales process in delivering plant.
Regards
Sunil -
Please give me the table name & field name for plant stock in previous peri
Hi Friends:
When we display a meterial by MM03, under plant stock tab, in the last, there is description of 'Plant Stoicks in previous period'. When I see the field ' Unrestricted Use Stock', there is a value. When I press F1, it looks like its from MARD table, field VMLAB. But when I check the table, there is no value.Please suggest me the table & field name.I also tried the tables MBEWH, MARDH, MCHBH, but its no there. PLease suggest.
Please suggest me urgently.I'll be thankful.
Regards:
GauravDear,
You can see plant stock for previous period of Material with MB5B.
Please check below mention tables.
MARA
MAKT
MARM
MAPE
MARC
MARD
MAST
MBEW
MLGN
MLGT
MDIP
MKOP
EBEW
QBEW
MVER
DVER
MVKE
MLAN
MARC
MAPR
MARD
MCH1
MCHA
MCHB
MDMA
DBVM
MOFF
Regards,
Mahesh Wagh -
How to disable selection parameter for a particular radio button
hi experts,
How to disable selection parameter(bukrs) for a particular radio button 'radio1'.hi,
Check This Code (copy paste and run it ).
U have to use MODIF ID along with the parameter.
*----------------Option
*---Background
*---Summary Report
PARAMETERS : p_backgd RADIOBUTTON GROUP rad1
USER-COMMAND radio DEFAULT 'X'.
PARAMETERS : p_sumrep RADIOBUTTON GROUP rad1 .
*----------------File
PARAMETERS : p_sumfl TYPE char255 modif id ABC .
PARAMETERS : p_detfl TYPE char255 modif id ABC.
*---------------Activate & Deactivate Screen Fields--------------------*
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_sumrep = 'X'.
IF screen-group1 = 'ABC'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
<b>Please Reward Points & Mark Helpful Answers</b>
To mark Helpful Answers ;click radio Button next to the post.
RadioButtons
<b>o</b> Helpful Answer
<b>o</b> Very helpful Answer
<b>o</b> Problem Solved.
Click any of the above button next to the post; as per the anwers
<b>To close the thread; Click Probelm solved Radio Button next to the post ,
which u feel is best possible answers</b> -
How set and get parameter for a session of a portlet (Java)
I would like get parameter and set parameter for a portlet in portal 9.02. This parameter must be availbale during the session of the portal.
With Java Servlet
// I retrieve my session
HttpServletRequest httpreq = (HttpServletRequest)req;
HttpServletResponse httpresp = (HttpServletResponse)resp;
HttpSession session = httpreq.getSession();
//And after i can get or set some parameter for this servlet
//Example
session.setAttribute("MyEmployeeNumber","600000");
String id = (String)session.getAttribute("MyEmployeeNumber");
// But with Portlet in portal, i can't do it.
PortletRenderRequest pr= (PortletRenderRequest)httpreq.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
String sUser=pr.getUser().getName();
ProviderSession session=pr.getSession();
// But after if i want get or set a value in this session i have a internal error 500
session.setAttribute("MyEmployeeNumber","600000");
I would like my parameter is avalaible during a session for a user in each page of the portal, because my portlet is on each page.I have almost the same problem. I tried as you suggested, but it doesn't work yet.
provider.xml
<session>true</session>
<passAllUrlParams>true</passAllUrlParams>
My code in my jsp-portlet is
<%@page contentType="text/html; charset=windows-1252"
import="oracle.portal.provider.v2.render.PortletRenderRequest"
import="oracle.portal.provider.v2.render.PortletRendererUtil"
import="oracle.portal.provider.v2.http.HttpCommonConstants"
import="oracle.portal.provider.v2.ParameterDefinition"
import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"
%>
<%@page session="true"%>
<%
PortletRenderRequest pReq = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
String valueSession = (String)pReq.getAttribute("sesion");
if (valueSession != null) {
pReq.setAttribute("session", "value1");
out.println("<br>(1)valueSession != null");
out.println("<br>(1)valueSession : " + pReq.getAttribute("session"));
} else {
pReq.setAttribute("session", "value2");
out.println("<br>(2)valueSession == null");
out.println("<br>(2)valueSession : " + pReq.getAttribute("session"));
%>
And i always get as result:
(2)valueSession == null
(2)valueSession : value2
Even when i send values (post) at the same page or browsing between tabs:
I check my provider registration and it has the value "once per session"
I have portal 9.0.2.2.14
Thanks -
How to set runtime parameter for the entire system
Hi,
I have a problem with setting runtime parameters in jre v1.6.0_07. I have an XP computer with multiple users and to use the application eavery user must set the runtime parameter once by going to java control panel -> Java -> Java applet runtime settings -> view. How can i automate this? I have multiple users and there may be more users logging in so manually sending the C:\<userProfileDirectory>\Application Data\Sun\Java\Deployment\deployment.properties file to all profiles is not a solution. Same question here but no solution. Every user must get this parameter when they log in, they may be new users or existing users. The software I'm trying to use is browser based, we don't trigger an exe or something from local to run the software.
In C:\<userProfileDirectory>\Application Data\Sun\Java\Deployment\deployment.properties file there is a line like this;
deployment.javapi.jre.1.6.0_07.args=
This works for a single user. I've read the instructions in [deployment guide|http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/properties.html] but the properties file we put in C:\WINDOWS\Sun\Java\Deployment does not support ".args=" command. Anyone encountered or have a solution for this problem?
Thanks.Hi,
got solution for this problem? I am also having the same problem.
Thanks. -
How to change NLS_NUMERIC_CHARACTERS parameter for OWB SQLLDR mapping
Hi,
How to change the NLS_NUMERIC_CHARACTERS database paramater for my SQLLDR mapping?
I have an input flat file which has numeric data with ',' as decimal separator means NLS_NUMERIC_CHARACTERS setting as ',.'
However in my target oracle schema, the decimal separator is '.' which has NLS parameter set as NLS_NUMERIC_CHARACTERS='.,'
My OWB version is 10.2.
When I checked the configuration parameters of the sql loader mapping and the flat file operator, There is facility to change language, but not NLS_NUMERIC_CHARACTERS setting.
I do not want to change the NLS_NUMERIC_CHARACTERS setting in my database as there are many other projects which will get impacted.
We got a work around as below using external table & premap procedure. But as I have many mappings already developed, It is not possible to use this workaround.
- I can use premapping procedure with external tables to populate.
- NLS_NUMERIC_CHARACTERS setting can be changed using procedure for that particular session.
Is there a way to change NLS_NUMERIC_CHARACTERS setting only for that particular mapping/mapping session?
Thanks,
SriGPAt this moment , this is not possible . You can see metalink note ID 268906.1.
It says:
Currently, external tables always use the setting of NLS_NUMERIC_CHARACTERS
+at the database level.+
Cheers
Marisol -
How to check a parameter for legitimate blank value?
Hi,
I have a parameter with a drop down for a standard field from table BSEG. There are 3 possible values in the drop down, i.e. blank, 1, or, C.
If the user enters '1' or 'C' there is no problem I can use this value in my code, i.e. I can select from BSEG where this value is a '1' or a 'C'.
How can I differentiate between an initial value in the parameter and a ' ', i.e. if the user doesn't select a value in this parameter the I need to get all BSEG records, but if the user selects ' ' for this parameter I need to get all values from BSEG where this field = ' '.Hi,
Use the below code.
parameters: p_list as listbox visible length 20.
initialization.
type-pools vrm.
data: v_id type vrm_id,
i_list type vrm_values,
wa_list like line of i_list.
v_id = 'P_LIST'.
wa_list-key = '1'.
wa_list-text = '1'.
append wa_list to i_list.
wa_list-key = 'C'.
wa_list-text = 'C'.
append wa_list to i_list.
wa_list-key = ''.
wa_list-text = ''.
append wa_list to i_list.
*p_list = '3'. "this is to set the default value of the list box.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = v_id
values = i_list
EXCEPTIONS
ID_ILLEGAL_NAME = 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.
start-of-selection.
if not p_list is initial.
select * from BSEG into table itab where field = p_list.
else.
select * from BSEG into table itab where field is initial.
endif. -
How to control the depreciation for revaluation from next month ?
Dear all,
I post current year ord. depreciation revaluation via trx. ABAW (Bal. Sheet Revaluation), and the general ledger will be updated after depreciation run.
In our client, the scenario is AFAB (dep run) --> ABAW (revaluation) --> AFAB (dep repeat run).
Now my problem is I want the revaluation value be depreciated next month and the second AFAB just for general ledger posting. I have set the period control '11'(next month) for revaluation but it doesn't work, the second AFAB still generates both G/L and depreciation posting.
How can I control the revaluation depreciation from next month?
Thanks for your help.Hi,
we have used a different approach. We run two separate depreciation areas:
01 - ordinary depreciation
03 - revaluation
We maintain two complete streams of data. 01 is linked to the original acquisition value of the asset and depreciates normally.
03 is linked to the revaluation. Each month we recalculate the replacement value, revalue the accumulated depreciation and then run depreciation using transaction AFAB.
I don't think it will work in the way you described.
Kind regards,
Rudolf -
How to DB Storage PArameter for DSO
Hi,
I want to change DB storage parameter - Data Type and Size Category for DSO. How to go about it or i need to have a ABAP program to do the same? Presently it is
DATA Type DODS and Size Category 6 but i need to change both of these. Changing option is grayed out. Please suggest me some way out !Hi
Do u have data in the DSO?
You can change DB Storage and other settings only when the DSO is empty
Please check
Empty out your DSO and change the settings
Cheers -
How to add generic parameter for raw types in public Methods
Hi,
I have a method declared in Component Controller with the UI for adding methods.
I want to add a parameter of type HashMap<String,Object>. How can I do this in the UI?
I just geht HashMap, how do I add <String,Object>?
When I'm adding it direct in the Code, after Rebuilding the project it's again only HashMap.
Is there a way to add <String,Object> to the HashMap?
I want to get rid of the warning and don't wan't to supress the warning.
Best regards,
PeterHI,
thanks for your answer.
Too bad that there is no other way.
Thanks.
Best regards,
Peter -
How to control goods receipt for order by mb31 if order is not confirmed
Hello friends,
I want to restrict the goods receipt for process order if order is not confirmed or partially confirmed.
Through user status i can control that if order is confirmed than whether to allow goods reciept or not.
But how to achieve my above requirement.
Thanking you guys in advance.Dear Jitendra,
Check this link
How to stop the goods receipt before issueing the goods for production orde
Regards
Mangalraj.S -
How to Use page parameter for 2 grids
Hi All,
I have 2 grids for 2 different DB's in a report.In this page view have business dim, user able to choose the
business.So i'm using 2 prompts for 2 grids in business dim at page view.but user wants only once he gave the
input.How to pass one grid page parameters to another grid?
Plzzzz give any suggestions on this................
ThanksInstead of using prompts and the page, you can put the selectable dimension onto the POV of both grids and set it to current user pov on both grids.
This way it will work, but the drawback is that you cannot make user select multiple members for that dimension, which is possible with prompts.
hope this helps
Bulent -
How to have OUT parameter for see if transaction have been posted correctly
I've a package procedure that reads data from a staging tables into their corresponding target tables. The below procedure variables are in the package specification and body. I need to create another procedure that ensures data has been sent to both target tables successfully.
If successful, commits the transaction. If not, ensures all matching records are deleted from target tables.
Outcome will have two possible values "success" or "failure."
Failure would indicate things such as transaction not found, transaction does not match from source to target tables.
However I need to create another procedure that reads the value of o_outcome parameter in the below procedure code such that if the parameter is a success then commit, and if failure has happened then delete all match records up until that point. I am using Oracle 11.2.0.2 and TOAD 10.5.1.3.
PROCEDURE edw_rex_pos_trans (p_begin_date IN DATE,
p_end_date IN DATE,
p_extract_type IN VARCHAR2,
o_outcome OUT VARCHAR2)
IS
v_extract_type edw_pos_extract_log.extract_type%TYPE
:= UPPER (p_extract_type);
v_begin_date edw_rex_head_extract.create_date%TYPE := p_begin_date;
v_end_date edw_rex_head_extract.create_date%TYPE := p_end_date;
v_log_seq_nbr edw_extract_log.log_seq_nbr%TYPE;
v_record_count edw_extract_log.record_count%TYPE := 0;
e_dates_must_match EXCEPTION;
e_begin_date_higher EXCEPTION;
l_tran_seq_nbr NUMBER;
CURSOR edw_rex_head (
v_begin_date DATE,
v_end_date DATE)
IS
SELECT *
FROM edw_rex_head_extract h
WHERE 1 = 1
AND TRUNC (h.create_date) BETWEEN v_begin_date AND v_end_date;
BEGIN
IF v_begin_date <> v_end_date
AND (v_extract_type = 'DAILY' OR v_extract_type = 'MANUAL')
THEN
RAISE e_dates_must_match;
ELSIF v_begin_date > v_end_date
THEN
RAISE e_begin_date_higher;
===========================================================
ELSE
SELECT edw_extract_log_seq.NEXTVAL INTO v_log_seq_nbr FROM DUAL;
DBMS_OUTPUT.PUT_LINE ('SELECTED next log_seq_nbr = ' || v_log_seq_nbr);
DBMS_OUTPUT.
PUT_LINE ('INSERTING record into bcf_pos_extract_log table');
edw_extract_log_table.insert_log_entry (v_log_seq_nbr,
'BCFPOS_TO_REX_EXTRACT',
v_extract_type,
v_begin_date,
v_end_date,
'STARTED',
'bcfpos_to_rex_extract');
DBMS_OUTPUT.PUT_LINE ('FINISHED creating log entry');
v_record_count := 0;
DBMS_OUTPUT. PUT_LINE ('SELECTING data and INSERTING it into REX tables');
FOR edw_rex_head_rec IN edw_rex_head (v_begin_date, v_end_date)
LOOP
v_record_count := v_record_count + 1;
SELECT navistor.kcpos_tran_seq.NEXTVAL@rex
INTO l_tran_seq_nbr
FROM DUAL;
BEGIN
INSERT INTO kcpos_tran_header (TRAN_SEQ_NBR,
ORG_NUMBER,
STORE_NUMBER,
TRAN_DATE,
TERMINAL_NUMBER,
TRAN_NUMBER,
TRAN_TIME,
BATCH_NUMBER,
BATCH_TYPE,
TRAN_TYPE)
VALUES (l_tran_seq_nbr,
1,
edw_rex_head_rec.store_number,
edw_rex_head_rec.tran_date,
edw_rex_head_rec.terminal_number,
edw_rex_head_rec.tran_number,
edw_rex_head_rec.tran_time,
edw_rex_head_rec.batch_number,
edw_rex_head_rec.batch_type,
edw_rex_head_rec.tran_type);
-- Table 2
INSERT INTO kcpos_tran_line (TRAN_SEQ_NBR,
TRAN_LINE_NBR,
ORG_NUMBER,
STORE_NUMBER,
TRAN_DATE,
TERMINAL_NUMBER,
TRAN_NUMBER,
TRAN_TIME,
TRAN_TYPE)
SELECT l_tran_seq_nbr,
tran_line_nbr,
1,
store_number,
tran_date,
terminal_number,
tran_number,
tran_time,
tran_type
FROM edw_rex_line_extract
WHERE 1 = 1
AND edw_rex_seq_nbr = edw_rex_head_rec.edw_rex_seq_nbr
AND revision_number = edw_rex_head_rec.revision_number
AND store_number = edw_rex_head_rec.store_number
AND tran_date = edw_rex_head_rec.tran_date
AND terminal_number = edw_rex_head_rec.terminal_number
AND tran_number = edw_rex_head_rec.tran_number
AND TRUNC (create_date) BETWEEN v_begin_date AND v_end_date;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.put_line (TO_CHAR (SQLCODE) || ' ' || SQLERRM);
l_error := TO_CHAR (SQLCODE) || ' ' || SUBSTR(SQLERRM,1,300);
v_record_count := v_record_count - 1;
END LOOP;
DBMS_OUTPUT.PUT_LINE('Total transactions inserted: ' || v_record_count);
DBMS_OUTPUT.PUT_LINE('UPDATING log table');
o_outcome := 'SUCCESS';
END IF;
EXCEPTION
WHEN e_dates_must_match THEN
o_outcome := 'FAILURE';
-- insert into error log table
WHEN e_begin_date_higher THEN
o_outcome := 'FAILURE';
-- insert into error log table
WHEN OTHERS THEN
DBMS_OUTPUT.put_line (TO_CHAR (SQLCODE) || ' ' || SQLERRM);
o_outcome := 'FAILURE';
--- insert into error log table
END;Barnes12 wrote:
I've a package procedure that reads data from a staging tables into their corresponding target tables. The below procedure variables are in the package specification and body. I need to create another procedure that ensures data has been sent to both target tables successfully.
If successful, commits the transaction. If not, ensures all matching records are deleted from target tables.
Outcome will have two possible values "success" or "failure."
Failure would indicate things such as transaction not found, transaction does not match from source to target tables.
However I need to create another procedure that reads the value of o_outcome parameter in the below procedure code such that if the parameter is a success then commit, and if failure has happened then delete all match records up until that point. I am using Oracle 11.2.0.2 and TOAD 10.5.1.3.Why do you wish to see if the Parameter is returned as SUCCESS?
Step 1: Load the data into Target Tables.
Step 2: Delete the data from Staging Tables.
Step 3: Verify if all the data is proper and there are no errors (Logical)
Step 4: If No errors, Commit the transaction.
Step 5: If any error, then Rollback the transaction.
Step 4, 5 ensures the data is either Inserted and Deleted or is untouched.
Thus, you can negate the need for another sub-program to verify it!!!
Regards,
P.
Maybe you are looking for
-
Multipal image or xml loading at a time or one By one
Hello friends, I am confuse About multipal image loading at a time or one By one . it may crass DueTo memory problem. which one is better and why. plaase help me. thanks.
-
How can I transfer music from old mini to new iPod nano?
I was buying a MacBook laptop for school next year, and also got a new nano nearly free! So, I currently have a PC which I use for my iPod mini, but I want to put my music library into the Mac and the nano. How can I do this? The PC "sent" songs into
-
Can't run (Media Encoder or Encore) and Premiere Pro
I finished a sequence, started up Media Encoder, then began editing a new sequence with Premierer. The result was that after a while, Media Encoder "Not Responding". I started Media Encoder again and this time I left the room to watch TV. Media Encod
-
Is there a 64 bit edition of Thunderbird?
Just wanted to know if there is a 64 bit edition of this product.
-
My older system broke awhile back and i built a new one, i was using on board HD audio but today i decided to put my old xfi card in my new system. I didnt put it in there in the first place cause drivers sucked and they havent updated them since may