How to assign classifcation to a product
Hello Experts,
I hope you are doing good.
I an facing an issue in SAP GTS System that there is a requirement as below,
Through a program or function module i have to assign classification(grouping and export numbering i.e data will be stored in /sapsll/ctsnum table) to a product(Ex:product number is 00000102121).
Please suggest me if you know any standard function modules to do this requirement. Its urgent.
Thank you on advance.
Regards,
KBS
Hi Anand,
Can you brief your requirement if you are still looking out for a solution.
you can use ..related to /SAPSLL/CTSNUM table.
/SAPSLL/CTSNUM_DB_DEL
/SAPSLL/CTSNUM_DB_INS
/SAPSLL/CTSNUM_DB_UPD
/SAPSLL/CTSNUM_DB_UPD_SWITCH
/SAPSLL/CTSNUM_DB_WRITE
updating /SAPSLL/CTSNUM is not suggestible.
P.S. Share solution in case ,it is solved.
Regards,
Harish B.
Similar Messages
-
Assign Software catalog to Product?
Hi
Can some one help me...
How to assign Software catalog to Product which are already created in XI
Thanks
BabuHi,
Once you create the Product in SLD ...you then go for software unit and after creating the unit you get an option to chose the already created software components to assign to the unit or create a new software component altogether.
Abhishek. -
How to Assign a Multiple Sales organization to one product ?
Dear All,
I have assigned multiple sales org. to one product in product master. For ex:
Sales org. 1 ,2,3,4 & 5.
During the campaign creation If I select the same product for sales org. 1 it shows no error.
If I put sales org.2 it shows warning message saying that Product is not assigned to Sales org. 2.
But I have assigned all 5 sales org in the product master, however only one SO(i.e.SO1) is active at one time.
How to assign multiple SO to one product ?
kindly send your valuable input.
Regards
PramodIt must be looking at the sales org at the header level. Change the sales org at the header level to sales org 2 and try adding the product for the same sales org 2. I think it will work fine now.
-
How do assign the user of Consumer Portal to the role of Product Portal?
Hello All:
Use FPN, now I want to assignment the role of Consumber Product Portal the user of Consumer Portal to the user of Consumer Portal(RRA) .But because There are too many user that needed be configured.It is arduous work.
So Pls help me and tell me how to import the role of Product portal to the user of Consumter Portal,
Thanks In addvance.
jideliangThank all:
Because I want assign the Remote Role of Produce to user of Consumer with FPN.Use:
[Role]
rid=Role1
rdesc=Role description
user=MarcPeters;JackSmith;Alan_Fox;
group=HappyBuyersOf2003;HappyBuyersOf2002
Can not import.
I have find the document "How to Automate Content Creation via XML Content and Actions (NW7[1].0).pdf", it help me to use XML to import the role,the following format:
<Action id="com.sap.portal.roleassignment">
<Roles>
<Role name="pcd:portal_content/myFolder/myRole" producer.alias = "myProducer">
<Principal type="user" id="test"/>
But when I import the XML file.There is a error.
Have someone used it ?
jideliang
</Role>
</Roles>
</Action>
How -
How to find out if a Product is HU or non HU managed in SAP EWM ?
Hi All,
Sorry for a naive question. But i tried to google this thing but couldn't find much material on SAP EWM.
How do i know if a Product is HU managed or non HU managed in SAP EWM ?you can control per storage type whether an HU is allowed or not.
so you do not assign the HU but a setting if HUs are allowed or not.
You can create a new HU in various processes e.g. picking or packing. It's not possible to list all possibilities here.
What process are you trying to execute? -
How to assign area in site (in sap Retail) for different article.
Hi All Experts,
Can you tell me how to assign the space in layout tabs of site master data(wb01) in retails for the different products \merchandise category.
My aim is to see the contribution of article \Floor area in the store.
Ex- i have mobile ,tv and washing machine
now i 'll assign some area to these art(floor area)
Like 200 Sq mm for mobile ,1000for tv and 1500 for washing machine.
I want to assign in site master data so it comes automatically for every site.
Now i want to see the contribution of all these article \Floor area in the store.
Looking for your valuable suggestion.
PrashantNachy,
You can copy the overview iview of type workset map iview from standard ess role and give the area group name in that.
check the overview iview in the standard ess role
give application parameters as sap.xss.menuargrp=area group name&sap.xss.menuhdr=header name
Thanks
Bala Duvvuri
Edited by: Bala Duvvuri on Aug 5, 2010 7:35 AM -
How to assign version in sales order and transfer to PP module
Hi all
Users say that customer will require to produce/deliver old goods (we active revision level. The newest material version is D. But customer want version B). How to assign version in sales order and let PP user know the version customer want (MRP run and production order must use version B's BOM)?
Regards,
RitaHi,
i have a query if you have implimented ECM this will serve the purpose but it also depends on how good the planning is, in ur client site ( out of SAP ) where planner will plan according to the customer requirement as to which version to be kept active for a date range.The ECO analysts(functional) or consultants will make the ECO changes for those dates.
In general for those type of customers (who needs old version) a different SO created under different document type which will create a production orders with specific order type depending on the assignment of requirement type and requirement class.
those specific production ordertypes can be inturn assigned to either different plant where your old version BOM's will be active.
You need to look into the custom settings in SAP to design the larchitecture to allign with other requirements.What i explained u is common methodology used.
Hope this is clear..
Prakash
Message was edited by:
prakash Uddagatti -
How to assign project specific task with the newly created projects ?
Hi All,
I need help. I need to assign project specific tasks (which i will be taking from staging table) other than the default task which are assigned during project creation. How do I proceed with this within same package. I am attaching the code of my package below...
CREATE OR REPLACE PACKAGE body xxpa_proj_conv_pkg as
PROCEDURE xxpa_create_project_proc(O_ERRBUF OUT VARCHAR2,O_RETCODE OUT VARCHAR2)
is
variables need to derive global parameters
v_responsibility_id NUMBER; --- PA Supervisor responsibility id
v_user_id NUMBER;
deriving global parameters-
-- Variables needed for API standard parameters
v_api_version_number NUMBER := 1.0;
v_commit VARCHAR2(1) := 'F';
v_return_status VARCHAR2(1);
v_init_msg_list VARCHAR2(1) := 'F';
v_msg_count NUMBER;
v_msg_index_out NUMBER;
v_msg_data VARCHAR2(2000);
v_data VARCHAR2(2000);
v_workflow_started VARCHAR2(1) := 'Y';
v_pm_product_code VARCHAR2(10);
---variables for catching errors---
v_error_flag number:=0;
-- Predefined Composite data types
v_project_in PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
v_project_out PA_PROJECT_PUB.PROJECT_OUT_REC_TYPE;
v_key_members PA_PROJECT_PUB.PROJECT_ROLE_TBL_TYPE;
v_class_categories PA_PROJECT_PUB.CLASS_CATEGORY_TBL_TYPE;
v_tasks_in_rec PA_PROJECT_PUB.TASK_IN_REC_TYPE;
v_tasks_in PA_PROJECT_PUB.TASK_IN_TBL_TYPE;
v_tasks_out_rec PA_PROJECT_PUB.TASK_OUT_REC_TYPE;
v_tasks_out PA_PROJECT_PUB.TASK_OUT_TBL_TYPE;
v_CREATED_FROM_PROJECT_ID varchar2(20);
v_CARRYING_OUT_ORGANIZATION_ID varchar2(20);
v_person_id NUMBER;
v_project_role_type VARCHAR2(20);
API_ERROR EXCEPTION;
v_a NUMBER;
cursor for project in data
CURSOR cur_project_in_data IS SELECT * FROM XXPA_PROJECT_IN_STG;
cursor for task data
CURSOR cur_task_in_data IS SELECT * FROM XXPA_TASK_IN_STG;
------------------------Cursors used for validations----------------------------------
cursor for product code used for validation
cursor cprc is select distinct PROJECT_RELATIONSHIP_CODE from PA_PROJECT_CUSTOMERS;
cursor for distribution rule-
cursor cdr is select DISTRIBUTION_RULE from PA_DISTRIBUTION_RULES;
cursor for project status code
cursor cpsc is SELECT PROJECT_STATUS_CODE, PROJECT_STATUS_NAME FROM PA_PROJECT_STATUSES WHERE STATUS_TYPE = 'PROJECT';
cursor for template/created from project id
cursor ccpid is select project_id from pa_projects where template_flag='Y';
BEGIN
select user_id, responsibility_id into v_user_id, v_responsibility_id
from PA_USER_RESP_V
where user_name like 'amit_kumar%'
and responsibility_name like'PA SupervisorS';
-- --Fnd_global.apps_initialize(user_id,resp_id, resp_appl_id);
-- Fnd_global.apps_initialize(v_user_id,v_responsibility_id,275);
-- -------calling global parameters---
pa_interface_utils_pub.set_global_info
p_api_version_number =>v_api_version_number,
p_responsibility_id =>v_responsibility_id,
p_user_id =>v_user_id,
p_msg_count =>v_msg_count,
p_msg_data =>v_msg_data,
p_return_status =>v_return_status
dbms_output.put_line ('Set Global status ->' || v_return_status);
----Cursor for PRODUCT RELATED DATA-----------
FOR REC IN cur_project_in_data LOOP
-----PASSING VALUES TO THE COMPOSITE DATA TYPE(PROJECT_IN_REC_TYPE)-------
----retrieving product code-----
select lookup_code into v_pm_product_code
from pa_lookups
where lookup_type = 'PM_PRODUCT_CODE'
and meaning = 'Oracle Project Manufacturing';
-----retrieving and validating created from project id----
BEGIN
select project_id
into v_CREATED_FROM_PROJECT_ID
from pa_projects_all
where name=rec.created_from_project_name;
EXCEPTION
when others then
O_Retcode := '1';
O_Errbuf :='Incorrent CREATED_FROM_PROJECT_NAME';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where created_from_project_name = rec.CREATED_FROM_PROJECT_NAME;
END;
-----retrieving & validating carrying out organization id-----
BEGIN
select distinct(CARRYING_OUT_ORGANIZATION_ID)
into v_CARRYING_OUT_ORGANIZATION_ID
from pa_projects_prm_v
where CARRYING_OUT_ORGANIZATION_NAME=rec.carrying_out_organization_name;
EXCEPTION
when others then
O_Retcode := '1';
O_Errbuf :='Incorrent Carrying Out Organization name';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where carrying_out_organization_name = rec.carrying_out_organization_name;
END ;
v_project_in.pm_project_reference := rec.segment1;
v_project_in.project_name := rec.PROJECT_NAME;
v_project_in.created_from_project_id := v_CREATED_FROM_PROJECT_ID;
v_project_in.carrying_out_organization_id := v_CARRYING_OUT_ORGANIZATION_ID;
v_project_in.project_status_code := rec.PROJECT_STATUS_CODE;
v_project_in.description := rec.PROJECT_DESCRIPTION;
v_project_in.start_date := rec.PROJECT_START_DATE;
v_project_in.completion_date := rec.PROJECT_COMPLETION_DATE;
v_project_in.distribution_rule := rec.DISTRIBUTION_RULE;
v_project_in.project_relationship_code := rec.PROJECT_RELATIONSHIP_CODE;
-------------------------Validation of incoming project data--------------------------------
v_error_flag := 1;
project relationship code validation
BEGIN
for prc in cprc
loop
if (rec.PROJECT_RELATIONSHIP_CODE=prc.PROJECT_RELATIONSHIP_CODE) or (rec.PROJECT_RELATIONSHIP_CODE is null)--can be overridden from template
then
v_error_flag :=0;
else null;
end if;
end loop;
END;
project distribution rule validation
BEGIN
for dr in cdr
loop
if (rec.DISTRIBUTION_RULE=dr.DISTRIBUTION_RULE) or (rec.DISTRIBUTION_RULE is null) null since the value can be taken from template too
then
v_error_flag :=0;
else null;
end if;
end loop;
END;
project status code validation
BEGIN
for sc in cpsc
loop
if (rec.PROJECT_STATUS_CODE=sc.PROJECT_STATUS_CODE) or (rec.PROJECT_STATUS_CODE is null) null since the value can be taken from template too
then
v_error_flag :=0;
else null;
end if;
end loop;
END;
dbms_output.put_line ('Error at PROJECT_STATUS_CODE>' ||v_error_flag);
validation logic for project start date
BEGIN
if TRUNC(rec.PROJECT_START_DATE) >= TRUNC(rec.PROJECT_COMPLETION_DATE)
THEN
v_error_flag := 1;
O_Retcode := '1';
O_Errbuf :='Project start date cannnot be greater than completion date';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
END IF;
END;
validation logic for project completion date
BEGIN
if (TRUNC(rec.PROJECT_COMPLETION_DATE)<=TRUNC(rec.PROJECT_START_DATE))
then
if ( rec.PROJECT_STATUS_CODE='CLOSED' and rec.PROJECT_COMPLETION_DATE>sysdate)
THEN
v_error_flag := 1;
O_Retcode := '1';
O_Errbuf :='completion date cannot be greater than sysdate for closed projects';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
END IF;
v_error_flag := 1;
O_Retcode := '1';
O_Errbuf :='Project closed date cannot be less than start date';
end if;
END;
--------Update staging table for the error records--------
BEGIN
if v_error_flag =1
then
O_Retcode := '1';
O_Errbuf :='Incorrect project relationship code';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where PROJECT_RELATIONSHIP_CODE = rec.PROJECT_RELATIONSHIP_CODE;
end if;
END;
-----------------------End of validation of incoming project data----------------------------------
---------------Project Task DATA-----------------
v_a:=0;
FOR tsk IN cur_task_in_data LOOP
v_tasks_in_rec.pm_task_reference :=tsk.task_reference ;
v_tasks_in_rec.task_name :=tsk.task_name;
v_tasks_in_rec.pm_parent_task_reference :=tsk.parent_task_reference ;
v_tasks_in_rec.task_start_date :=tsk.task_start_date ;
v_tasks_in_rec.task_completion_date :=tsk.task_completion_date ;
v_tasks_in(v_a) := v_tasks_in_rec;
v_a:=v_a+1;
end loop;
---------------end of task details------------------
--INIT_CREATE_PROJECT
pa_project_pub.init_project;
---------------------CREATE_PROJECT--------------------------
pa_project_pub.create_project(
p_api_version_number=> v_api_version_number,
p_commit => v_commit,
p_init_msg_list => v_init_msg_list,
p_msg_count => v_msg_count,
p_msg_data => v_msg_data,
p_return_status => v_return_status,
p_workflow_started => v_workflow_started,
p_pm_product_code => v_pm_product_code,
p_project_in => v_project_in,
p_project_out => v_project_out,
p_key_members => v_key_members,
p_class_categories => v_class_categories,
p_tasks_in => v_tasks_in,
p_tasks_out => v_tasks_out);
if v_return_status = 'S'
then
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET INTERFACE_STATUS ='Success' where segment1 = v_project_out.pa_project_number; ---P->pending & S-> Success
dbms_output.put_line('New Project Id: ' || v_project_out.pa_project_id);
dbms_output.put_line('New Project Number: ' || v_project_out.pa_project_number);
else
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET INTERFACE_STATUS ='Pending' where segment1 = v_project_out.pa_project_number;
raise API_ERROR;
end if;
END LOOP;
Commit;
------Handling Exception--------
EXCEPTION
WHEN api_error THEN
dbms_output.put_line('An error occured during project creation');
IF (v_msg_count > 0 ) THEN
FOR i IN 1..v_msg_count LOOP
apps.PA_INTERFACE_UTILS_PUB.get_messages(
p_msg_count => v_msg_count,
p_encoded => 'F',
p_msg_index => i,
p_msg_data => v_msg_data,
p_data => v_data,
p_msg_index_out => v_msg_index_out);
dbms_output.put_line('Error message v_data ->'||v_data);
dbms_output.put_line('Error message v_msg_data ->'||v_msg_data);
dbms_output.put_line('Error message v_msg_index_out ->'||v_msg_index_out);
dbms_output.put_line('Error message p_msg_index ->'||i);
APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
END LOOP;
END IF;
WHEN OTHERS THEN
dbms_output.put_line('An error occured during conversion, SQLCODE ->'|| SQLERRM);
IF (v_msg_count >=1 ) THEN
FOR i IN 1..v_msg_count LOOP
PA_INTERFACE_UTILS_PUB.get_messages(
p_msg_count => v_msg_count,
p_msg_index => i,
p_encoded => 'F',
p_msg_data => v_msg_data,
p_data => v_data,
p_msg_index_out => v_msg_index_out);
dbms_output.put_line('Error message ->'||v_data);
APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
END LOOP;
END IF;
end; --end procedure
END xxpa_proj_conv_pkg;
* Please tell me how to assign project specific task with the newly created projects??? *
Also please tell me how to assign multiple * Project_Relationship_Code * (ex: END CLIENT, GENERAL CONTRACTOR, PRIMARY) for a particular project during project creation?Are you not storing the project number in the staging table designed for storing the task data? You can use create_project API to create the project and tasks at the same time with one single call. You may want to try that option
-
How do we Prevent Creation of Production Orders for Phantom materials.
Dear Experts;
We have some materials which are Phantoms.
We have set "special procurement type" as 50 in MRP2 and "Strategy Group" as 59 in MRP3
These are non stchable items, but have BOMS.
We dont create orders for them, however at the mement the system allows order creation. How do we prevent creation of production orders for these items in the system.
Thanks in Advance
Richard.Dear Richard,
Check using this BADI - WORKORDER_UPDATE using method IN_UPDATE or Release by including a check if MATNR and for
WERKS combination if SOBSL = 50 from table MARC,then do not allow to save.
Check whether this works or else you have to set a plant specific status using OMS4 for not allowing production order
creation and assign this value in the material master of the phantom assemblies.
Check and revert
Regards
Mangalraj.S -
How to assign transport request for Dynamic selection in SE36
Hi Friends,
Please guide me how to transport or assign a request for the changes made in BRF selecion view.
I have assigned and added BKPF-XREF1_HD field for FB03 transaction. Its working fine as per user requirement.
I am facing probelm to assing a transport request for that. I didn't find any transport menu in se36.
So please provide me how to assign a TR which need to import into Production client.
If I have to assign or create a program (standard), then please provide me the program name.
Please reply.
Thanks & Regards
Sankar.
Edited by: sankar babu on Jul 29, 2010 12:27 PMModerator message - Cross post locked
Total Questions: 283 (131 unresolved)
Please also close your old posts and assign po1nts to helpful answers.
Rob
Edited by: Rob Burbank on Jul 29, 2010 9:50 AM -
How to assign materials to MRP Area
Dear All,
How to assign materials to MRP Area
Thanking you
Regards
PrashantHi
Go to SPRO
Production Planning>>>> Master Data>>> MRP AREAS>>>Define MRP Areas, Create New MRP AREA
Then come to Material Master ( MM02)
Go to MRP1 view
In this Tab, Go to MRP AREAS BUTTON
Here you can assign the MRP AREA to that material
For any other info, Plz revert
Regards
BRSR -
"Only assign one SAP NetWeaver product version to product system"
Greetings,
Somehow, after upgrading my PI system from NW 7.11 to NW 7.4, the SAP-XICONS component was left at the lower version. Everything else was upgraded and SUM didn't complain about this component. The component was present in the stack.xml file and the SCA was available. Yet somehow it was missed.
Now I am unable to use SUM to update the component. There seems to be no way to get the LMDB to reflect the actual versions of this system and have Maintenance Optimizer function.
After I assigned everything in the LMDB, the Verification Check says "Only assign one SAP NetWeaver product version to product system". And then MOPZ gives errors such as: "Wrong Netweaver product version found SAP NETWEAVER 7.4" and "Multiple Netweaver Product Version were found".
However, if I remove the assignment of 7.11, MOPZ is still unable to calculate the queue. It even gives the same errors.
How can I fix this? Is there some other way to generate the stack or get SUM to upgrade the component?The root cause was MOPZ marking the component incorrectly in the stack XML.
The resolution was to use telnet to 5xx08 to manually deploy the SAP-XICONS archive. -
How to assign BOM & Routing to Prod Version.
Dear Frndz,
Pls tell me how to assign BOM & Routing to Prod Version.This is to execute the REM flow.
Regards,
SriniHi,
Step1. Create Material MM01
Step2. Create BOM CS01
Step3. Create Rate Routing CA21
Step4. In MM02 for the above material, go to MRP4 View and click on production version pushbutton, and give Version Number and description and the validity dates and rem allowd indicator and then double click on the version line, it will take u to another screen, there you Select rate routing and assign the group & group counter in Planning Data and then in BOM Data u enter Alt BOM & BOM Usage details. For rem tick on REM Allowed check box and then click on Check, if all the assignment is OK then it will give you a message saying BOM & ROUTING available. Save the material master.
Regards
Vinod -
How to assign a person to work center
Hi All,
Can you please let me know how to assign a person to work center?
Regards,
NimaDear Nima,
what is the exact query
Go to
Spro > Production > Basic data > Wrok center > determine person responsible
click new entries & create
Go to CR01, Basic data tab & in the field person responsible press F4 you can get
List created in the above Spro
Regards
Madhu -
Assign HU to 2 production orders
Hello
i'am trying to assign one HU do 2 different production orders, but when i'am executing the assignement for the second production order ( tcode COPAWA) the assignement for first production order is automatically cancelled. how can i avoid that?
more i've noticed that i can assign only HU which are in production shopfloor ( storage location) . can i assign an HU which is still stored in WM storage location (knowing that the production shopfloor it is a MM HUM st loc)?
thanks LenaHello ,
Transaction COPAWA , have a error message when assigning HU to Order , already assigned .
i should deassigned first .
Is there a way to deassigne it automaticaly when assigning to new Order ?
Tks and best regards ,
Maybe you are looking for
-
Oracle 10.2.0.4 Windows Server 2003 32-bit Problem query in monthly report. Query is based on a very complex view, too complex to cleanse of proprietary info and post, so I'm not asking for a specific analysis of the view, just some ideas based on th
-
Can I use BTWiFi-with-FON free of charge while wai...
Hi, I am currently with TalkTalk but looking to come to BT because of the woeful service I got from them and I have a question I need answered before I make the switch. When I go to process my order my earliest date for an engineer to come to my home
-
hi friends, i am developing the report which displays stock overview at particular date. when we consider the MBBS( its based on table EBEW ) transaction it displays current stock overview. i am taking the data from MSEG table for current date. i cal
-
Can I gift the FaceTime app for my girlfriend's mac?
Can I?
-
Hey there, I own the Dreamweaver CC & CS6. CS6 worked. Then installed the CC App, deinstalled DW CS6 and installed DW CC. Dreamweaver CC crashes while "initializing files" (i dont even see the main menu). Now i deinstalled CC and installed the CS6 ve