Bom Changing Authorization (cs02,cs62)
Hi all
I am tring to block users from changing Material Bom usage 1 without ECM
but allowed them to change Order Bom any usage without ECM
I used c_stue_ber and c_stue_noh for tring block them
also i couldn't find any user exit that i can used for this validation.
there is any way for block material bom usage 1 only from changing without ECM
Please Help Thank
Hello Kobi,
In exceptional cases you can allow a BOM change without a change number
using the authorization object C_STUE_NOH for BOMs with history
requirements.
Hope it works...
Cheers, Dudle.
PS: Plz Do not forget to give rewards
Similar Messages
-
Bom Change Authorization (CS02,CS62)
Hi all
I am tring to block users from changing Material Bom usage 1 without ECM
but allowed them to change Order Bom any usage without ECM
I used c_stue_ber and c_stue_noh for tring block them
also i couldn't find any user exit that i can used for this validation.
Please HelpHello Kobi,
In exceptional cases you can allow a BOM change without a change number
using the authorization object C_STUE_NOH for BOMs with history
requirements.
Hope it works...
Cheers, Dudle.
PS: Plz Do not forget to give rewards -
Bom Changing Authorization Check (CS02,CS62)
Hi all
I am tring to block users from changing Material Bom usage 1 without ECM
but allowed them to change Order Bom any usage without ECM
I used c_stue_ber and c_stue_noh for tring block them
also i couldn't find any user exit that i can used for this validation.
can some one find a way to do check validation in the first screen in cs02
Please Help ThankNo need to do validation by using any User exits , U can maintain values in the user profile , So SAP will take care of these validations.
Regards
Prabhu -
While trying to change a BOM with transaction CS02, a runtime error appears
While trying to change a BOM with transaction CS02, a runtime error appears.
In intial screen he entered material ,plant BOM usage and date valid from after executed then id displayed item list in that he wantu2019s delete one item, he has been deleted selected item after that when he was saving he is getting runtime error
Developer trace
ABAP Program SAPLKED1_WRITE_CE4_BPS1 .
Source LKED1_WRITE_CE4_BPS1U01 Line 30.
Error Code SAPSQL_ARRAY_INSERT_DUPREC.
Module $Id: //bas/640_REL/src/krn/runt/absapsql.c#17 $ SAP.
Function HandleRsqlErrors Line 775.
RABAX: level LEV_RX_STDERR completed.
RABAX: level LEV_RX_RFC_ERROR entered.
RABAX: level LEV_RX_RFC_ERROR completed.
RABAX: level LEV_RX_RFC_CLOSE entered.
RABAX: level LEV_RX_RFC_CLOSE completed.
RABAX: level LEV_RX_IMC_ERROR entered.
RABAX: level LEV_RX_IMC_ERROR completed.
RABAX: level LEV_RX_DATASET_CLOSE entered.
RABAX: level LEV_RX_DATASET_CLOSE completed.
RABAX: level LEV_RX_RESET_SHMLOCKS entered.
RABAX: level LEV_RX_RESET_SHMLOCKS completed.
RABAX: level LEV_RX_ERROR_SAVE entered.
RABAX: level LEV_RX_ERROR_SAVE completed.
RABAX: level LEV_RX_ERROR_TPDA entered.
RABAX: level LEV_RX_ERROR_TPDA completed.
RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
RABAX: level LEV_RX_END entered.
RABAX: level LEV_RX_END completed.
RABAX: end RX_RFC
In sm21
Perform rollback
Run-time error "SAPSQL_ARRAY_INSERT_DUPREC" occurred
Short dump "090618 110101 donalda 11557 " generated
Runtime Error SAPSQL_ARRAY_INSERT_DUPREC
Exception CX_SY_OPEN_SQL_DB
Occurred on 18.06.2009 at 11:01:01
The ABAP/4 Open SQL array insert results in duplicate database records.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLKED1_WRITE_CE4_BPS1" had to be terminated because
one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
neither
caught nor passed along using a RAISING clause, in the procedure
"RKE_WRITE_CE4__BPS1" "(FUNCTION)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
If you use an ABAP/4 Open SQL array insert to insert a record in
the database and that record already exists with the same key,
this results in a termination.
(With an ABAP/4 Open SQL single record insert in the same error
situation, processing does not terminate, but SY-SUBRC is set to 4.)
How to correct the error
The exception must either be prevented, caught within the procedure
"RKE_WRITE_CE4__BPS1"
"(FUNCTION)", or declared in the procedure's RAISING clause.
To prevent the exception, note the following:
Use an ABAP/4 Open SQL array insert only if you are sure that none of
the records passed already exists in the database.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"SAPSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC
"SAPLKED1_WRITE_CE4_BPS1" or "LKED1_WRITE_CE4_BPS1U01"
"RKE_WRITE_CE4__BPS1"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.Hi ,
you are getting beacuse u are trying to do mass update to database.
Please check that below note are applicable to your system.
Note 453313 - DBIF_RSQL_ERROR_INTERNAL for mass insert
Note 869534 - AFS MRP doesn't work properly with all BOM item categories
Thanks Rishi Abrol -
Hello Experts,
I have need to change BOM Status in CS02 to be inactive when we save it .
The steps I do are :--
1. Goto CS02.enter material , plant BOM Usage
2. Click on header level ,and now whatever be the BOM status , but when we go to save it , the BOM status should be 2.
The function exits I used are :--
1.EXIT_SAPLCSBT_001
2. EXIT_SAPLCEB1_003
But , both are not triggering when I save my BOM .
So , I need your valuable guidance ,to solve this issue.
Regards,
JeetHi,
Please try to implement method 'CHANGE_AT_SAVE' in BADI 'BOM_UPDATE' .
Hope it will work.
Thanks,
Leo -
HI,
we r changing bom with change number.
we changed one bom with one change number(validty next month date).now that change number has not been used for any other bom changes.i want to restrict that change number for further use..
can i activate deletion indicator in change master????
whether it affects my changed bom.Yes, make it inactive status so that it cannot be user in other product BOm change.
Otherway use authorization group. Give the authorization to useres who should use it and donot give the authorization to musers whoc not suppose to use that change number. -
Dear All,
My client has Requirement that the BOM should not be allowed to Change ( for specific Product ) for specific Period ( Say for 3 months ) i.e the BOM of the Finish Product & the semifinish below it will not be changed for next 3 months from Today
We are using ECM for Bom change. They dont want to control by using Authorization as they have different types of products
Kindly let me know if any user exit or Badi I can use
Thanks
IshwarDear Ishwar,
In my understanding I dont think it is possible in standard SAP.And also through enhancements also I dont think it is possible to
achieve this.I will suggest you to think a lot before going for any enhancement.
Regards
Mangalraj.S -
I have material number, component number in my file. I need to change the issuing storage location for each component. I am unable to figure out the way to write a bdc. Shall i use cs02 or cs05. Also if go inside the bom change how do select a component in my BDC??
with regards
MurugeshRajeevok,
following previous instruction do the recording in LSMW.
in 4 th step of LSMW i.e. in filed mapping add a validation for Material type where you write a query on MARA to check if material type is 'Whatever you wnat'.Only do transfer_record for transaction which satisfy youir condition , for rest of them do SKIP_TRANSACTION.
let me know if any questions. -
BOM change after Purchase order creation
Dear all
My client requirement is an error message should appear when the end users are trying to change the BOM after the purchase order creation for the BOM items and the system should allow the BOM change only after the PO cancellation.
Please throw some light
regards
KumarDear Kumar,
Do you mean to say user's should not be allowed to change hte BOM items in a purchase order?or should not be allowed to change a
BOM,if there are some purchase orders for the same material?
If your requirement is to restrict the BOM change of a material using T code CS02,after purchase order creation,I dont think its
possible.
Please explain your problem little more in detail.
Regards
Mangalraj.S -
Restricting Purchase order's payment terms change authorization
Hi,
While changing the PO payment terms, system does not reset the release strategy of the released PO. Is there any way we can restrict to PO change with Payment terms change authorizations?
Regards,
SattujHi,
Then make the release indicator as 1 then you cannot change any thing first you have to unrelease and then make the required change and then release the same
regards -
Not able to change authorization in c-folder for zrole
Hi Experts,
we are implementing two envelope bidding for SRM 7.0,Here For technical Evaluator ,we have to create a saparate workarea in c-folder.The roles assiged to technical Evaluator is SAP_CFX_USER for c-folder.Now while i was creating the workarea for technical evaluator, i t was throwing me the error.Cfolder.NoAuthorization.Owner....To remove this Error i assiged
a authorization object 'ACO_SUPER'..now i was able to create the folder but the problem is..Technical Evaluator is having administration authorization for Public area.
And i am not able to change the authorization..I tries using CFX_ACO_API_ACTIVITIES_SET and by passing 'Read' auth in badi parameter ct_cfx_auth but it is not chaging..
I am totally out of clues what to do?????please suggest..Hi,
Can I know how you were able to change authorizations for the cFolders?
Ganapathi -
Customized report for BOM changes
Hi PP Gurus,
My client is not having ECM. he want to create one Z report for BOM changes. I checked tables MAST, STKO, STPO, CDPOS and CDHDR. In CDPOS I can see replaced component and replced quantity. But if I deleted any component or inserted any new component I can not see this in any table. Please suggest me how can I track such changes without ECM.
Jayesh Narvankar
SAP PPDear ,
You can try to develope a report with the help of you ABAPer with following FM /BAPI :
CSAP_MAT_BOM_MAINTAIN
CSAP_MAT_BOM_OPEN
CSAP_BOM_ITEM_MAINTAIN
CSAP_MAT_BOM_CLOSE
Refer this experts theards on this issues : Deletion of BOM item using BAPI/FM
If you need to go ahead with ECM , you refer our earlier posting in the same issue :
Changes in Production Orders
Regards
JH -
No authorization to change authorization data
Hello,
When trying to change an opportunity in our CRM system we get this error message only for one partner.
"No authorization to change authorization data"
Our user has SAP_ALL, SAP_NEW and we don't find anything in st01.
Any idea for this issue? Could it be an HR authorization object missing? Or a CRM one?
Thanks in advance.
Best Regards,
OlivierSometimes error messages are misleading or returned from other users's contexts (rfc, service calls, etc) or even hardcoded in worste cases.
You will need to debug it and stop on the message number to see where it is coming from and why.
Cheers,
Julius -
Dear all
We are using change number to chang BOM. We want to develop a report for all BOM change history. Is there any function module can use? From table CDPOS is difficult to know what have been changed.
Thanks
HailiangHi,
As others have questioned Why CS80 is not suitable ??
Other possibility would be:
Make a work instruction or mandatory to maintain the description and details of the change in the "BOM Long text".
U can see the long text indicator in BOM,if checked than u will come to know the details.
Caution: Works fine only if everyone follows maintaining the long text for any changes.
Regards,
Prakash -
BOM change track report.
Hello All,
I have a requirement where I need to develop a report that represent following fields of BOM change history.
1. Material (Along with description if possible)
2. Changed By
3. Change On
4. Change Details (Entry, Delete, and replacement data for the item)
5. Header level change (Change in Base quantity, from to lot size, Bom activation/deactivation)
6. Plant (Most Important)
I have checked to get it through CS80 Change Documents for Material BOMm but it'svery lengthy task and can't do it one by one.
I have gone through these tables
STKO --- BOM - header
STPO --- BOM - item
STAS --- BOMs - Item Selection
STPN --- BOMs - follow-up control
STPU --- BOM - sub-item
STZU --- Permanent BOM data
But not getting any clue.
NOTE:- I have not implemented the Change document mgmt system (CC01,CC02) and if I do such so then what about the existing changes already done in the system. So, I know it can be achieved by implementing Change mgmt but practically it's not possible for me.
kindly help!!!!!!!!!
-- JimmyDear Jimmy,
I dont think it's possible to prepare a report using the tables or CS80 for the same,without having Engineering Change
Management.
Check and revert back.
Regards
Mangalraj.S
Maybe you are looking for
-
Error while posting FF67 "Manual Bank Statement"
Hi all, I have a problem when I was posting u201CManual Bank Statementu201D In Transaction Code: FF67 when I am posting the following error is coming: u201CBank account does not existu201D Message no. FV003 Diagnosis The bank account number
-
I've imported an older Flex 3 project into Flash Builder 4 Beta 2 and have the 'Use Flex 3 compatibility mode' is turned on. All is fine until I select 'MX Only' as the Component Set. Switching from 'MX + Spark' causes the Design View to become compl
-
Hi Experts, We are doing MIRO against a Purchase order. The FI document is genrated 001 89 GMOH 601235 GSM FWP CWIP 2,352,190.00 002 96 GMOH 600086 WRX - GR/IR CLRNG AC 2,328,140.00- 003
-
How do I make a video clip appear smaller in Adobe Premiere 6.5?
Hello, I am attempting to make a video clip appear smaller with a black background, the way movies often do when they show out takes at the end during the credits. I'm sure this is something pretty simple, but I can't seem to figure it out. Any assis
-
How to disable a field on the basis radio button value selected.
hello to all, i am facing one problem.I have declared two selection screen blocks. In one i hvae declared two radio button r1 -Fiscal year and r2--Datewise. And in another selection screen block all i/p fields. like plant. date.year etc. Now if user