Authorization level check for Condition records.
Hi,
Hi Gurus,
Pls help me out in the the following scenario.
I want to activate Authorization level check for Condition records.
For example, Product price PR00 is being entered by first level.
After verification done by second level only, that condition record to be used for sales order processing.
I have gone through Process status & Release Status. But once it is Blocked i am not able to release it...
Rgds,
Amol
Amol,
Please confirm transaction code you are using in this scenario to release. I can help with this, just a little more detail.
Thanks,
Jay
Similar Messages
-
Process Status & Release Status for Condition Record
Hi Gurus,
Pls help me out in the the following scenario.
I want to activate Authorization level check for Condition records.
For example, Product price PR00 is being entered by first level.
After verification done by second level only, that condition record to be used for sales order processing.
I have gone through Process status & Release Status. But not getting full clarity on this.
Rgds,
Senni.BHi,
Please go through the following information.
[Relase Procedure for Condition Record|http://help.sap.com/saphelp_47x200/helpdata/en/a4/af9e78e69611d2ace10000e8a5bd28/frameset.htm]
[Release Procedure for PR|http://www.sap123.com/showthread.php?t=59]
Reward if helpful.
Thanks and Regards,
Naveen Dasari -
499 Step Number for condition record?
Hello Everyone,
In ECC6, Quotation print output AN00 is not showing price per unit for some items. I checked in debug, there seem to be a condition record with step number 499 (which does not have a condition type) that is missing values for XKOMV-KBERT. When I populate this value in debug, it shows up find in the output. Step number 499 is not in KONV. What logic does SAP use to come up with these values for step number 499?
I know this may sound like an ABAP question but it is not. I think some pricing is not configured right. There is a calculation type condition but it is only populating field KWERT.
TIA,
LynHi lyn
Check in your piricing procedure V/08 wheather , in the step 499 what has been maintained any text type ? and if condition type has been maintained. , check wheather condition record has been maintained or not ? and also check wheather that value is coming in the sales order or not .
check for the step 499 wheather in print feild it has been checked or not .
Regards
Srinath -
Check for duplicate record in SQL database before doing INSERT
Hey guys,
This is part powershell app doing a SQL insert. BUt my question really relates to the SQL insert. I need to do a check of the database PRIOR to doing the insert to check for duplicate records and if it exists then that record needs
to be overwritten. I'm not sure how to accomplish this task. My back end is a SQL 2000 Server. I'm piping the data into my insert statement from a powershell FileSystemWatcher app. In my scenario here if the file dumped into a directory starts with I it gets
written to a SQL database otherwise it gets written to an Access Table. I know silly, but thats the environment im in. haha.
Any help is appreciated.
Thanks in Advance
Rich T.
#### DEFINE WATCH FOLDERS AND DEFAULT FILE EXTENSION TO WATCH FOR ####
$cofa_folder = '\\cpsfs001\Data_pvs\TestCofA'
$bulk_folder = '\\cpsfs001\PVS\Subsidiary\Nolwood\McWood\POD'
$filter = '*.tif'
$cofa = New-Object IO.FileSystemWatcher $cofa_folder, $filter -Property @{ IncludeSubdirectories = $false; EnableRaisingEvents= $true; NotifyFilter = [IO.NotifyFilters]'FileName, LastWrite' }
$bulk = New-Object IO.FileSystemWatcher $bulk_folder, $filter -Property @{ IncludeSubdirectories = $false; EnableRaisingEvents= $true; NotifyFilter = [IO.NotifyFilters]'FileName, LastWrite' }
#### CERTIFICATE OF ANALYSIS AND PACKAGE SHIPPER PROCESSING ####
Register-ObjectEvent $cofa Created -SourceIdentifier COFA/PACKAGE -Action {
$name = $Event.SourceEventArgs.Name
$changeType = $Event.SourceEventArgs.ChangeType
$timeStamp = $Event.TimeGenerated
#### CERTIFICATE OF ANALYSIS PROCESS BEGINS ####
$test=$name.StartsWith("I")
if ($test -eq $true) {
$pos = $name.IndexOf(".")
$left=$name.substring(0,$pos)
$pos = $left.IndexOf("L")
$tempItem=$left.substring(0,$pos)
$lot = $left.Substring($pos + 1)
$item=$tempItem.Substring(1)
Write-Host "in_item_key $item in_lot_key $lot imgfilename $name in_cofa_crtdt $timestamp" -fore green
Out-File -FilePath c:\OutputLogs\CofA.csv -Append -InputObject "in_item_key $item in_lot_key $lot imgfilename $name in_cofa_crtdt $timestamp"
start-sleep -s 5
$conn = New-Object System.Data.SqlClient.SqlConnection("Data Source=PVSNTDB33; Initial Catalog=adagecopy_daily; Integrated Security=TRUE")
$conn.Open()
$insert_stmt = "INSERT INTO in_cofa_pvs (in_item_key, in_lot_key, imgfileName, in_cofa_crtdt) VALUES ('$item','$lot','$name','$timestamp')"
$cmd = $conn.CreateCommand()
$cmd.CommandText = $insert_stmt
$cmd.ExecuteNonQuery()
$conn.Close()
#### PACKAGE SHIPPER PROCESS BEGINS ####
elseif ($test -eq $false) {
$pos = $name.IndexOf(".")
$left=$name.substring(0,$pos)
$pos = $left.IndexOf("O")
$tempItem=$left.substring(0,$pos)
$order = $left.Substring($pos + 1)
$shipid=$tempItem.Substring(1)
Write-Host "so_hdr_key $order so_ship_key $shipid imgfilename $name in_cofa_crtdt $timestamp" -fore green
Out-File -FilePath c:\OutputLogs\PackageShipper.csv -Append -InputObject "so_hdr_key $order so_ship_key $shipid imgfilename $name in_cofa_crtdt $timestamp"
Rich ThompsonHi
Since SQL Server 2000 has been out of support, I recommend you to upgrade the SQL Server 2000 to a higher version, such as SQL Server 2005 or SQL Server 2008.
According to your description, you can try the following methods to check duplicate record in SQL Server.
1. You can use
RAISERROR to check the duplicate record, if exists then RAISERROR unless insert accordingly, code block is given below:
IF EXISTS (SELECT 1 FROM TableName AS t
WHERE t.Column1 = @ Column1
AND t.Column2 = @ Column2)
BEGIN
RAISERROR(‘Duplicate records’,18,1)
END
ELSE
BEGIN
INSERT INTO TableName (Column1, Column2, Column3)
SELECT @ Column1, @ Column2, @ Column3
END
2. Also you can create UNIQUE INDEX or UNIQUE CONSTRAINT on the column of a table, when you try to INSERT a value that conflicts with the INDEX/CONSTRAINT, an exception will be thrown.
Add the unique index:
CREATE UNIQUE INDEX Unique_Index_name ON TableName(ColumnName)
Add the unique constraint:
ALTER TABLE TableName
ADD CONSTRAINT Unique_Contraint_Name
UNIQUE (ColumnName)
Thanks
Lydia Zhang -
Hi Gurus
Plz read the Question Properly
I know that for adding a new field as key field for condition record , one needs to append the structure( main ) KOMPAZ so that the field appears in KOMP structure .
Say want Shiiping Point as one of fields in Condition Records. ....VSTEL field
Now when the field appears in KOMP , then we can CREATE CONDITION RECORD FOR THE SAME
FOR EG: *SALES ORG - DISTRIBUTION CHANNEL-CUSTOMER-SHIPPING POINT-MATERIAL..... BASED MATERIAL PRICING
WHAT I FAIL TO UNDERSTAND
1.WHY WE PASS SHIPPING POINT ( VSTEL) FIELD FROM LIKP -VSTEL TABLE TO NEW FIELD DEFINED.
2.LIKE SALES ORG/ DISTRIBUTION CHANNEL ALSO ARE DEFINED IN ENTERPRISE STRUCTURE AND VALUE IN CONDITION RECORD IS PICKED FROM THERE ONLY, WHY NOT SHIPPING POINT.
WHY THIS ??????....
Supply the new field you defined by including the following source code line in
USEREXIT_PRICING_PREPARE_TKOMP:
MOVE xxxx-VSTEL TO TKOMP-ZZVSTEL.
In order processing you find the user exit in Include MV45AFZZ, and in billing document processing you find it in Include RV60AFZZ.
Regards
Rohit> Plz read the Question Properly
I read the question properly ;-).
> WHAT I FAIL TO UNDERSTAND
>
> 1.WHY WE PASS SHIPPING POINT ( VSTEL) FIELD FROM LIKP -VSTEL TABLE TO NEW FIELD DEFINED.
The first thing you need to understand is that the condition records value is not based upon the the enterprise structure which you have defined. Rather it will pick value from the sales documents which we have created. The reason behind including this LIKP-VSTEL is that only, Just imagine, where you are using condition records??? in Sales order, in delivery, in billing..... and based on the data passed in these documents your condition records will be populated.
Again for example : you have maintained record for Sales org 1000, DC 10, division 00 shipping point 1000 then the record will come into the document provided the document should fulfill these all.
I hope this will make you understand this.
> 2.LIKE SALES ORG/ DISTRIBUTION CHANNEL ALSO ARE DEFINED IN ENTERPRISE STRUCTURE AND VALUE IN CONDITION RECORD IS PICKED FROM THERE ONLY, WHY NOT SHIPPING POINT.
No the records are only coming from the Sales documents. only.
Thanks,
Raja -
Release procedure for condition record
Hello Gurus,
please tell me how to run release procedure for condition record. especially the function of the release status and process status.
thanks very much!Hi,
Please go through the following information.
[Relase Procedure for Condition Record|http://help.sap.com/saphelp_47x200/helpdata/en/a4/af9e78e69611d2ace10000e8a5bd28/frameset.htm]
[Release Procedure for PR|http://www.sap123.com/showthread.php?t=59]
Reward if helpful.
Thanks and Regards,
Naveen Dasari -
Release Strategy for Condition Records
Hi,
This is a requirement from my client. The client needs to give 4 levels of release strategy for the condition records created. The selling price for the products will be entered by person 1. This has to be approved by the sales execute (person 2); then by the sales manager (person 3); finally by the General Manager (Person 4). The selling price of the products ranges from 10 lakhs to 40 lakhs. so, the release strategy is needed. This type of release strategy is available in MM for PR and PO. Please let me know whether similar facility is available in SD. Any alternative is also solicited.
Regards,
K BharathiHi,
Thanks for your valuable reply.
I defined 3 Processing status (Menu path: SPRO >> SD >> Basic Fn >> Pricing >> Define Processing status). They are EU-End user, KU-Key user, MD-Final authority. These processing statuses are assigned to Release status. First two processing status EU, KU were assigned to A (Blocked). The third processing status MD was assigned to Blank (Released). The purpose is: at processing status EU one person will upload the price master. Second person will check the price and will change the processing status to KU if he satisfies with the accuracy of the price master. The third person (final authority) will check the price and set the Processing status MD. Once the condition record gets the status MD, the prices can be used for creating sales order because it is released.
In the condition record for PR00, when I enterthe processing status EU or KU the release status shows 'Blocked' release statuses. When I enter MD in the processing status, the release status show 'released'.
My question is how can assign the responsibilities of changing the processing statuses EU to KU, KU to MD to two different persons.
Regards,
K Bharathi -
Hi Gurus,
In which table the Condition Records will be stored(vk11)...
thanks in AdvanceHi,
Pls check this , if you need further assistance pls do get back to us.
KONV : Conditions for Transaction data
KONP : Conditions for items
KONH : Condition Header.
Regards,
Vvieks -
User exit for condition records in purchasing contracts
I am looking for a user exit to track changes to condition records made in ME31K and ME32K (purchasing contracts) transaction. Any useful tips are welcome.
Thanks,
ShareenHello ,
Please check the below BADI defintion
ME_DEFINE_CALCTYPE
Method : DEFINE_CALCTYPE :Determine pricing type after changes to EKKO or EKPO
Hope it is helpfull .
Regards, -
Object level checking for some of the basis tcodes(internal audit)
Hi masters,
in our company every month we check access controls for some of basis tcodes,i am giving it below,is the selection for Tcode and object level values combinations are correct or is there any modifications please notify.
Tcodes Imp Auth Objects Auth fields Auth values
SCC1 S_CLNT_IMP Actvt 21,60
S_TABU_CLI CLIIDMAINT X
SCC4 S_TABU_CLI CLIIDMAINT X
S_TABU_DIS Authorization Group *
Actvt 01,02
SCC5 S_CLNT_IMP Actvt 21,60
S_TABU_CLI CLIIDMAINT X
SCC7 S_TRANSPRT Request type *
Actvt 43,60,75
S_CLNT_IMP Actvt 21,60
SCC8 S_DATASET PROGRAM *
Actvt 06,34,A7
S_TRANSPRT Request type *
Actvt 43,60,75
SCC9 S_TABU_CLI CLIIDMAINT X
S_CLNT_IMP Actvt 21,60
SCCL S_TABU_CLI CLIIDMAINT X
S_CLNT_IMP Actvt 21,60
SCU0 S_TABU_DIS Authorization Group SS
Actvt 01,02
S_TABU_RFC Actvt 3
OBR1
SM01 S_ADMI_FCD TLCK
SM04 S_ADMI_FCD PADM
SM12 S_ENQUE S_ENQ_ACT DPFU,DLOU
SM13 S_ADMI_FCD UADM,UMON
SM50 S_ADMI_FCD PADM
SM54 S_ADMI_FCD NADM
SM55 S_ADMI_FCD NADM
SM56
SM59 S_ADMI_FCD NADM
RFCA
SMLT S_LANG_ADM Actvt 02,16,61
Table *
SPAD S_SPO_DEV SPODEVICE *
SP01 S_SPO_DEV SPODEVICE *
S_ADMI_FCD SP01,SP0R
ST01 S_ADMI_FCD ST0M,ST0R
ST05 S_ADMI_FCD ST0M,ST0R
RZ04 S_RZL_ADM Actvt 1
RZ06 S_RZL_ADM Actvt 1
RZ10 S_RZL_ADM Actvt 1
RZ21 S_RZL_ADM Actvt 1
S_BTCH_JOB JOBGROUP *
JOBACTION DELE,RELE
SM49 S_LOG_COM Command *
Opsystem *
Host *
S_RZL_ADM Actvt 1
SM69 S_RZL_ADM Actvt 1
SM63 S_RZL_ADM Actvt 1
SMLG S_RZL_ADM Actvt 1
SE16 S_TABU_DIS Authorization Group *
Actvt 01,02
SM30 S_TABU_DIS Authorization Group *
Actvt 01,02
SM31 S_TABU_DIS Authorization Group *
Actvt 01,02
SPRO S_PROJECT PROJECT_ID *
APPL_COMP *
PROJ_CONF *
Actvt 02,06
S_DOKU_AUT DOKU_ACT MAINTAIN
DOKU_DEVCL *
DOKU_MODE *
SPRO_ADMIN S_PROJECTS APPL_COMP *
PRCLASS *
Actvt 01,70
S_PROJECT PROJECT_ID *
APPL_COMP *
PROJ_CONF *
Actvt 02,06
PFCG S_USER_AGR ACT_GROUP *
Actvt 01,02
S_USER_PRO Actvt 01,02
PROFILE *
SM19 S_ADMI_FCD AUDA,AUDD
SU01 S_USER_AGR *
01,02
S_USER_GRP Class *
Actvt 01,02
SU02 S_USER_PRO Profile *
Actvt 01,02
SU03 S_USER_AUT OBJECT *
AUTH *
Actvt 01,02
S_USER_PRO Profile *
Actvt 01,02
SU05
SU10 S_USER_GRP Class *
Actvt 01,02
SU12 S_USER_GRP Class *
Actvt 01,02
SU20 S_DEVELOP DevClass *
ObjectType SUSO
ObjectName *
P_Group *
Actvt 01,02
SU21 S_DEVELOP DevClass *
ObjectType SUSO
ObjectName *
P_Group *
Actvt 01,02
SU22 S_DEVELOP DevClass *
ObjectType SUST
ObjectName *
P_Group *
Actvt 01,02
CMOD S_DEVELOP DevClass *
ObjectType CMOD
ObjectName *
P_Group *
Actvt 01,02
SA38 S_PROGRAM P_Action SUBMIT,BTCSUBMIT
P_Group *
SD11 S_DEVELOP DevClass T,Y,Z*
ObjectType UDMO,UENO
ObjectName *
P_Group *
Actvt 01,02
SE11 S_DEVELOP DevClass T,Y,Z*
ObjectType DOMA,DTEL.ENQU
ObjectName *
P_Group *
Actvt 01,02
SE12 S_DEVELOP DevClass T,Y,Z*
ObjectType DOMA,DTEL.ENQU
ObjectName *
P_Group *
Actvt 01,02
SE13
SE14 S_DEVELOP DevClass T,Y,Z*
ObjectType INDX.MCID,TABL
ObjectName *
P_Group *
Actvt 01,02
SE15 S_DEVELOP DevClass *
ObjectType *
ObjectName *
P_Group *
Actvt 3
SE37
SE38 S_DEVELOP DevClass T,Y,Z*
ObjectType FUGR,PROG
ObjectName *
P_Group *
Actvt 01,02
SE93 S_DEVELOP DevClass T,Y,Z*
ObjectType TRAN
ObjectName *
P_Group *
Actvt 01,02
SE41 S_DEVELOP DevClass *
ObjectType *
ObjectName *
P_Group *
Actvt 01,02
SE43 S_DEVELOP DevClass *
ObjectType *
ObjectName *
P_Group *
Actvt 3
SE43N S_DEVELOP DevClass '
ObjectType '
ObjectName '
P_Group '
Actvt 01,02
SE51 S_DEVELOP DevClass T,Y,Z*
ObjectType FUGR,PROG,DYNP
ObjectName *
P_Group *
Actvt 01,02
SE80 S_DEVELOP DevClass T,Y,Z*
ObjectType *
ObjectName *
P_Group *
Actvt 01,02
SE81 S_DEVELOP DevClass *
ObjectType *
ObjectName *
P_Group *
Actvt 01,02
SE82 S_DEVELOP DevClass Y,Z
ObjectType APPLTREE
ObjectName *
P_Group *
Actvt 01,02
SE91
SE92
SE92N
SNRO S_NUMBER NROBJ *
Actvt 02,17,11
SQ00 S_QUERY Actvt 02,23
SQ01 S_QUERY Actvt 02,23
SQ02 S_QUERY Actvt 02,23
SQ03 S_QUERY Actvt 23
SQVI
SM35 S_BDC_MONI BDCAKTI ABTC,AONL,DELE
SM35P S_BDC_MONI BDCAKTI ANAL
SM36 S_BTCH_ADM BTCADMIN Y
SM37 S_BTCH_JOB Jobaction PROT,SHOW
Jobgroup *
SM39
SM62
SM64 S_BTCH_ADM BTCADMIN Y
SE01 S_CTS_ADMI CTS_ADMFCT EPS1,EPS2,PROJ
S_TRANSPRT Actvt *
Ttype *
SE06 S_C_FUNCT PROGRAM SAPLSTRF,SAPLSTRI
CFUNCNAME SYSTEM
ACTVT 16
S_TRANSPRT Actvt 43,60,65
Ttype *
SE09 S_TRANSPRT Actvt 43,60,65
Ttype *
S_CTS_ADMI CTS_ADMFCT EPS1,EPS2,PROJ
SE10 S_TRANSPRT Actvt 43,60,65
Ttype *
S_CTS_ADMI CTS_ADMFCT *
SPAM S_CTS_ADMI CTS_ADMFCT IMPA,IMPS
S_TRANSPRT Actvt 43,60,65
Ttype PATC,PIEC
STMS S_CTS_ADMI CTS_ADMFCT *
S_RFC Actvt 16
RFC_NAME EPSF,STPA
RFC_TYPE FUGR
Edited by: rameshbabu muddana on Mar 2, 2009 10:56 AMhi,thanks for reply "you should not care about the transaction start s_tcode at all - only check the object required"
It has made manditory policy to check for users and roles every month with given criteria of Tcode and object,now i have been given the task to check the combination of Tcode and object value combination are correct or not,please validate the combinations and suggest,we are using ECC 5.0,i had gone through wild card use (#) when we check in SUIM,i am getting confused that when i give # followed by value, data i am getting different from without #.please provide an example for SE16 with S_TABU_DIS
how to check?
i am checking in this way
S_TCODE SE16
S_TABU_DIS
Activity
Value 01or 02
Authorization Group
Value #&NC& -
Functional SPEC for Condition record
Suppose i am given a condition record for a Material PR00 as 200/- now i want to generate a report that disply pr00 200/- for this i want how to write a functional SPEC to ABAP to generate a report.
Hi Rama ,
The Functional Specification would be like this
Input Screen
Date to and from
Mtaerial to and from .
Logic would check for date and material in condition table for PR00 ( can be found from access sequence V/07 transaction ).
Obtain the condition record number and enter that number in table KONP and get field kbetr and kwert that would rate and amount and display ..
Please reward if it useful. -
Mass change for condition record
I try to change the condition record for material with validity period of one year starting next year Jan 1st. Since that material is already exists in the system with validity period of current date to 12/31/9999, it is not saving my changes. When increase price by 5%, it is not giving any problem but when I display to see the changes "Environment-Changes-Per condition record", it is giving an popup box saying "Change documents for conditions not yet save are not possible"
I try to delete material condition with longer period. It is deleting at that moment but when I come back and see still that material exists with longer period.
how do I deal with this problem to solve?
Fully rewarded for solution.
Thanks,
Manu.Hi Manu;
At any given point in time you can have only one valid condition record with a validity period.
1. Create a condition record with validity from today to 12/31/2007
2. Create a condition record with validity from 01/01/2008 to ....
You issue would be solved.
Regards. -
How to extract data for condition records with different valid periods
Dear Gurus,
There was an error in the recent condition records price upload. Now, i want to extract the data into excel file depending on different valid dates. Please let me know how can i do this... in the extracted file i would like to have fields like, valid on and valid to dates, condition type, price list type, material, condition record no. , last changed date, last changed user id etc., please suggest...thanks in advance..
rgds
surihi suresh
create a quick query (SQVI) and extract to excel table KONP
only thing you need to take care is table join for fields datab ( valid from) and tatbi (valid to) you need to take from right table which are present A-table,
Anil -
Hi All,
Which table get updated while creating/maintaining condition records(MN04/MN05/MN07)?
Regards,
-Sheetalhi,
Check the table KONH, KONP...which stores the values..
Regards
Priyanka.P -
Hi Guru,
I was viewing Purchasing condition record in MEK3.On initial screen drop down menu it is showing some condition type.I am not clear from where these condition types are picked up.
Can any one explain basis on which condition record are picked up in these drop down list as all condition type are not displayed and we do not give any pricing procedure also over there.
Regards
AtharvaHi
This is done in configuration side. MEK3 - display condition record for a condition type.
Refer IMG>MM>Purcashing>Condtions>Define price determination process>Define condition type.
Table to access - T685A.
Read the help document available in the same node.
Search in SDN for pricing procedure you will get lot of threads
Karthik
Edited by: Karthik on Jul 5, 2011 3:50 PM
Maybe you are looking for
-
Re: how to influence the rowheight in excel output
I tried to use dummy table with one row and column around the existing table with data. The properties were set as 'Autofit to Contents option' for both tables. For both tables, i specified - Table, Table Properties, Cell tab and uncheck the "Prefer
-
Iphone 5 music sync problem. Please help me.
Hi Friends, First of all, I apologize for my mistakes in English. I need some help. I can not transfer music to iphone 5. I bought the new iphone 5 and have it active on icloud. I did not choose as a new iphone. Then I wanted to take the music, but i
-
Adobe Reader 11.0.2 prints wrong chars
Sporadically but very often I get prints from various PDF documents that aren't printed correctly. Chars are shifted by one. A is a B, B is a C, etc. This seems to be a classic bug, since there is a quite recognizable pattern to be observed. If I pri
-
Synchronous messages for SOAP adapter.
Hi All, I wanna expose an interface in XI as a WebService.My requirement is to invoke a webservice which takes some input and hands it over to a DataBase and gets something from it(DB) and hands it over to the application which had called this WebSer
-
I am a system administrator in Windows and I am able to export my Bank File via the Payment Wizard in 2007A Patch 15 (uses BIS I beleive). I have a user who is a Super User in SAP, but a normal user in Windows. They have full read, write and delete t