Need an API to Validate the Segment Values of an GL Code Combination
Hi,
I have a requuirement wherein i need to validate the semgent values of an GL Code Combination. I want to know is there any API to Validate the Segment Values. The API should be able to validate the segment values for existence in value set, enabled/disabled, Posting flag enabled or disabled (i.e Compiled Attributes Validation).Please provide me some pointers.
Thanks & Regards,
Siva
look at FND_FLEX_EXT or FND_FLEX_KEYVAL
FND_FLEX_KEYVAL.validate_segs
Similar Messages
-
Java API to read the Encrypted Values from Windows Registry settings
Is there any Java API to read the Encrypted Values from Windows Registry settings ?
My Java Application invokes a 3rd party Tool that writes the key/value to windows registry settings under : “HKLM\Software\<3rdparty>\dataValue”.
This entry is in BINARY and encrypted with 3DES, using crypto API from Microsoft.
3rd party software to encrypt the data stored in registry it
either uses C++ code: and uses the call “CryptProtectData” and “CryptUnProtectData” or
If it is a .NET (C#) it uses the call “Protect” or “UnProtect” from class “ProtectData” of WinCrypt.h from the library “Crypt32.lib.
Note: The data is encrypted using auto-generated machinekey and there is no public key shared to decrypt the Encrypted data.
Since the data is encrypted using auto-generated machinekey the same can be decrypted from a .Net / C++ application using CryptUnprotectData or UnProtect() API of WinCrypt.h from the library “Crypt32.lib.
To know more about Auto-Generated MachineKey in Windows refer the links below
http://aspnetresources.com/tools/machineKey
http://msdn.microsoft.com/en-us/library/ms998288.aspx
I need to find a way in Java to find the equivalent API to decrypt (CryptUnprotectData) and Microsoft will automatically use the correct key.
But i couldn't find any informato related to Java APIs to enrypt or decrypt data using auto-generated machinekey.
Is there a way to read the encrypted data from Windows regsitry settings that is encrypted using the Auto-Generated Machine Key ?
Kindly let me know if Java provides any such API or mechanism for this.If the symmetric key is "auto-generated" and is not being stored anywhere on the machine, it implies that the key is being regenerated based on known values on the machine. This is the same principle in generating 3DES keys using PBE (password-based-encryption). I would review the documentation on the C# side, figure out the algorithm or "seed" values being used by the algorithm, and then attempt to use the JCE to derive the 3DES key using PBE; you will need to provide the known values as parameters to the PBE key-generation function in JCE. Once derived, it can be used to decrypt the ciphertext from the Regiistry in exactly the same way as the CAPI/CNG framework.
An alternate way for Java to use this key, is to write a JNI library that will call the native Windows code to do the decryption; then the Java program does not need to know details about the key.
That said, there is a risk that if your code can derive the key based on known seeds, then so can an attacker. I don't know what your applicatiion is doing, but if this is anything related to compliance for some data-security regulation like PCI-DSS, then you will fail the audit (for being unable to prove you have adequate controls on the symmetric key) if a knowledgable QSA probes this design.
Arshad Noor
StrongAuth, Inc. -
Hi,
Is there any standard API to get DFF segment value? (e.g. value of 'Employee Number Generation' segment in Business Group DFF)
Thanks in advanceHello Eswar,
use DataCollectionServiceInterface API 's findParametricByOperation() method -
How to validate the field values in module pool program?
Hi Guys
I am working with module pool programming.
Here I want to validate the fields like below.
with out filling all the fields if I click SAVE option it has to show a message that all fields has to be filled. This can be done by checking all the fields individually.
I think it can be done through <b>LOOP AT SCREEN ......ENDLOOP</b>. sequence.
If it is possible, can anyone help me?You need to write the Module in between the CHAIN and ENDCHAIN statment in SE51
If you send a warning or error message from a module <mod> that you called using a FIELD statement as follows:
CHAIN.
FIELD: <f1>, <f 2>,...
MODULE <mod1>.
FIELD: <g1>, <g 2>,...
MODULE <mod2>.
ENDCHAIN.
all of the fields on the screen that belong to the processing chain (all of the fields listed in the field statements) are made ready for input again. Other fields are not ready for input. Whenever the MODULE statement appears within a processing chain, even if there is only one FIELD attached to it, all of the fields in the chain (not only the affected field) are made ready for input again, allowing the user to enter new values. If the fields in the processing chain are only checked once, the PAI processing continues directly after the FIELD statement, and the preceding modules are not called again.
Look at the DEMO program DEMO_DYNPRO_FIELD_CHAIN.
ashish -
Hi All,
I have a internal table with the following fields
VAL_LOW , VAL_HIGH
and contains the following values
01 10
25 35
A1 A10
A25 A35
I have selection screen field with value 09 I need to validate this value with above the internal table that the value 09 is in VAL_LOW and VAL_HIGH.
Thanks
aRs.Dear aRs,
You want to validate --> Event :
AT SELECTION-SCREEN.
Populate the Internal Table IT_TAB with the values (01,10), (25,35) ....
Validate whether the Selection Screen field (P_FIELD) contains any values in
the IT_TAB.
LOOP AT IT_TAB INTO WA_TAB.
IF P_FIELD GE WA_TAB-VAL_LOW AND
P_FIELD LE WA_TAB-VAL_HIGH.
Message ---> "Present".
ELSE.
Message --> " Not Present ".
ENDIF.
ENDLOOP.
Regards,
Abir
Don't forget to award Points * -
Oracle Payroll Costing not picking the segment value.
Dear ALL,
I am facing an issue in my Organization that when we run costing of the payroll the cost allocation segment didn't get the correct Project Segment value.
Our cost allocation key flex segments and qualifiers are given below:
**AKS_HR_COMPANY Qualifiers Balancing,Payroll**
**AKS_HR_PROJECT Qualifiers Assignment,Balancing,Organization,Payroll**
**AKS_HR_DEPARTMENT Qualifiers Balancing,Organization,Payroll**
**AKS_HR_ACCOUNT Qualifiers Balancing,Element,Element Entry,Organization**
**AKS_HR_SUB_ACCOUNT Qualifiers Balancing,Element,Element Entry,Organization**
**AKS_HR_EMPLOYEE Qualifiers Assignment,Balancing,Payroll**
**AKS_COST_FUTURE_1 Qualifiers Balancing,Payroll**
The costing didn't pick the AKS_HR_PROJECT segment value and some times it pick '00000' which is actually not the project code. Some times the other segment like AKS_HR_DEPARTMENT and AKS_HR_SUB_ACCOUNT pick the null value in costing.
Kindly Help because its the issue of Live environment.
Regards.Dear Vignesh,
From where I check that the SLA is enabled? because I am new and not the part of implementation.
When I check the assignment process of the employee its shows the costing data but the value of project segment not sowing properly.
The qualifiers set for the project segment is as follows:
Assignment,
Balancing,
Organization,
Payroll
I saw some employees has given 00000 in the project segment on employee level. when i delete the record from employee level, the costing has to pick project segment from organization level but when I run the costing and saw the costing from assignment process screen it again shows '00000' in the project segment.
Please guide me if I am doing any thing wrong. -
The Popup dialog Page needs two times to return the selected value[10.1.3]
Hi All,
I have problem in an JSF Application that uses the EMP and DEPT tables .
the Application contains two pages
page 1 : a calling page uses EmpView as ADF Table .
page 2 : a popup List of Values (LOV) dialog page uses DeptView
These cause the popup dialog page to return to the calling page and to set the selected value into the Deptno attribute .
the calling page includes :deptno and dname columns as
<af:column headerText="#{bindings.EmpView1.labels.Deptno}">
<af:selectInputText value="#{row.Deptno}"
required="#{bindings.EmpView1.attrDefs.Deptno.mandatory}"
columns="#{bindings.EmpView1.attrHints.Deptno.displayWidth}"
action="dialog:ChooseDept1" id="deptnoField"
autoSubmit="true">
<f:convertNumber groupingUsed="false"
pattern="#{bindings.EmpView1.formats.Deptno}"/>
</af:selectInputText>
</af:column>
<af:column headerText="#{bindings.EmpView1.labels.Dname}">
<af:inputText value="#{row.Dname}" simple="true"
required="#{bindings.EmpView1.attrDefs.Dname.mandatory}"
columns="#{bindings.EmpView1.attrHints.Dname.displayWidth}"
partialTriggers="deptnoField" autoSubmit="true"/>
</af:column>
and popup dialog page includes : Submit Button to return selected value to calling page :-
<af:tableSelectOne text="Select and">
<af:commandButton text="Submit">
<af:returnActionListener value="#{row.Deptno}"/>
<af:setActionListener from="#{row.Deptno}"
to="#{bindings.Deptno.inputValue}"/>
</af:commandButton>
</af:tableSelectOne>
the problem is
I have to press ( two times ) the select button in the calling page to
return the selected value into the Dname attribute .
best regards,Hi,
However, I am using the Jdeveloper 10.1.3.3, but still getting this error. I could not find any threads related to this problem and hence I wrote up here. Anyway I have also logged an SR #7179012.993 for the same with the testcase. I hope the issue will be resolved soon.
Thanks,
Neeraj -
Set the field value, call transcation T-CODE in CRM
Hello
I face the proble as follow: select the field into the itab,and set the field itab-field to call transcation T-CODE in CRM.
exp:call T-CODE:"CRMD_BUS2000111". when I execute the program, display the opportunity value screen, not the init select&result screen.
Thanks!Please reward and close your other post regarding a similar problem.
If you don't want the initial screen, you have fill the BDC data for the initial screen and then call the transaction with mode 'E'. I gave the same solution to your previous question. -
Reports-- to validate the field values in a selection screen
How to validate a Particular field ..... in the selection screen ...!
that is how to determine the values of the field in the selction screen .....Hi,
Check the code below:
<b>at selection-screen</b>.
SELECT SINGLE * FROM MSEG WHERE
MBLNR = IMBLNR.
IF SY-SUBRC <> 0.
MESSAGE E016(PG) WITH 'Please select valid Material Document Number'.
ENDIF.
I used it in my program.
Hope this helps.
Reward if helpful.
Regards,
Sipra -
Need Java API doc for the preference Manager class
Where can I get Java Doc for the following classes
import oracle.webcenter.peopleconnections.preference.Preference;
import oracle.webcenter.peopleconnections.preference.PreferenceException;
import oracle.webcenter.peopleconnections.preference.PreferencesManager;
import oracle.webcenter.peopleconnections.preference.PreferencesManagerFactory;
Thanks,
BalaThe API is the same (that's the whole point with Java), and last time I checked there were programs on Linux that can handle zipfiles and html files. :)
So yes, use the same.
(That is, unless you have downloaded the windows help format api docs. Then you need to download the regular html ones.) -
Need a query based on the property value of the other itemDescriptor
Hi,
I have following structed repository(both items in repository) with itemDesc1 and itemDesc2. Now i have the value of prop2 (of itemDesc2 ) . Using this i want to write query (using QueryBuilder) to get the value for one of the property of itemDesc1.
<item-descriptor name="itemDesc1" >
<table name="xx" type="auxiliary" id-column-name="id" >
<property name="prop" column-name=xx" item-type="itemDesc2" />
</table>
</item-descriptor>
<item-descriptor name="itemDesc2" >
<table name=yy" type="primary" id-column-name="id">
<property name="prop1" column-name="xx" item-type="itemDesc2" />
<property name="prop2" column-name="xx" item-type="itemDesc2" />
<property name="prop3" column-name="xx" item-type="itemDesc2" />
</table>
</item-descriptor>
Thanks in advanceJack,
Simplest solution is probably a lookup table containing a list of positions and the salary level associated with each position:
The formula that retrieves the salaries from the rate table is shown above the Main table (left). Rate Table, to the right, contains the list of positions and the salary associated with each position.
Regards,
Barry -
Can we Validate the Prompt values before query execution? If Yes, How?
I have Scenario, where it prompts me for 3 values. The sum of 3 values should be equal to 100.
The query should execute only if sum of 3 values is 100 else it should popup a message with content not equal to 100 and prompt for selection.
If this cannot be achieved do we have any work around for this?Hi Kranthi,
It is not possible to pop-up a message based on prompt parameters.
One work-around to execute teh query only when sum of all 3 prompt values is 100 could be usage of derived table.
You can define your query and in WHERE condition, pull all 3 prompt values using @Prompt() and do a check for SUM=100.
If condition meets, Query will return data otherwise no data will come to report.
You can also use userresponse() to show sum of prompt values and error message on report page.
-Dhyan -
Inbound Extended Idoc, need to populate data into the segments
Hi Experts,
I am assigned with an assignment, where
IDOC: WGSREQ02
Create a FM with the following Parameters:
Export u2013 IDOC Number
Tables:
i. E1WGRK1
ii. ZRACEHD
iii. E1WGRP1
iv. ZRACE01
Get the data and populate the IDOC and generate an IDOC. pretty much new to idocs.
Please help me in coming out of this assignment. I would be very thank full to you if send me the sample code
thanks in advance.
Ram.
Moderator Message: Please understand that these are not Training Forums. Here you cannot ask for your work to be done by others.
Edited by: kishan P on Sep 2, 2010 12:23 PMHi Experts,
I am assigned with an assignment, where
IDOC: WGSREQ02
Create a FM with the following Parameters:
Export u2013 IDOC Number
Tables:
i. E1WGRK1
ii. ZRACEHD
iii. E1WGRP1
iv. ZRACE01
Get the data and populate the IDOC and generate an IDOC. pretty much new to idocs.
Please help me in coming out of this assignment. I would be very thank full to you if send me the sample code
thanks in advance.
Ram.
Moderator Message: Please understand that these are not Training Forums. Here you cannot ask for your work to be done by others.
Edited by: kishan P on Sep 2, 2010 12:23 PM -
Validate the XML tag value and display the Binding data in XDP
Hi,
I am new to Adobe Life Cycle.... and i am working on the following requirement and XML file is enclosed...
1. Need to validate the XML value of <pp> with condition
2. Basing on the value of <pp>, need to display the <ct> values in text field
If i simply bind, it takes the values from top of array and display..
Please suggest how to restrict the binding values basing on the condition.
Thanks
MadhuHi Paul,
Thank you for quick respose.
The solution which you have give me not excatly looking for.... working for the solution in alternative methods...
Regards
madhu -
How to retrive KFF segment values in each row of VO?
Hi,
I need to retrve Special Information Type values in HR screen.
There is a table based on the VO and on of the column is a flex (KFF) linked ot the same VO.
How can i retrieve the KFF segments values from each row of the table (or VO row).
The VO contains the ID_FLEX_NUM only.
Specific issue details:
It is an HR screen
page : PersonSIT Page
Region : SpecialInformationType(Table)
VO : SpecialInformationDetailsVO
flex id="HrSitKeyFlex" flexName="PEA" flexFieldAppShortName="PER" user:akAttributeCode="HR_PERSON_SIT_FLEX"
Any information is of great help
Thanks,
Kamath..Vo Query is
SELECT /*+ ORDERED */pac.analysis_criteria_id,
ppa.analysis_criteria_id old_analysis_criteria_id,
ppa.person_analysis_id,
ppa.object_version_number,
ppa.id_flex_num,
ppa.business_group_id,
ppa.person_id,
ppa.date_from,
ppa.date_to,
'DB_ROW' status,
ppa.date_from old_date_from,
ppa.date_to old_date_to,
ppa.attribute1,
ppa.attribute2,
ppa.attribute3,
ppa.attribute4,
ppa.attribute5,
ppa.attribute6,
ppa.attribute7,
ppa.attribute8,
ppa.attribute9,
ppa.attribute10,
ppa.attribute11,
ppa.attribute12,
ppa.attribute13,
ppa.attribute14,
ppa.attribute15,
ppa.attribute16,
ppa.attribute17,
ppa.attribute18,
ppa.attribute19,
ppa.attribute20,
ppa.attribute_category
FROM per_person_analyses ppa,
per_analysis_criteria pac
WHERE ppa.business_group_id = :1
AND ppa.person_id = :2
AND ppa.id_flex_num = :3
AND pac.analysis_criteria_id = ppa.analysis_criteria_id
The values from log file for a single row is as below
i = 0
row.getAnalysisCriteriaId()=68198
row.getAttribute1()=null
row.getAttribute10()=null
row.getAttribute11()=null
row.getAttribute12()=null
row.getAttribute13()=null
row.getAttribute14()=null
row.getAttribute15()=null
row.getAttribute16()=null
row.getAttribute17()=null
row.getAttribute18()=null
row.getAttribute19()=null
row.getAttribute20()=null
row.getAttribute2()=null
row.getAttribute3()=null
row.getAttribute4()=null
row.getAttribute5()=null
row.getAttribute6()=null
row.getAttribute7()=null
row.getAttribute8()=null
row.getAttribute9()=null
row.getAttributeCategory()=null
row.getBusinessGroupId()=83
row.getDateFrom()=2009-10-01 03:32:38.0
row.getDateTo()=null
row.getIdFlexNum()=50454
row.getPersonAnalysisId()=null
row.getObjectVersionNumber()=null
row.getOldAnalysisCriteriaId()=null
row.getOldDateTo()=null
row.getOldDateTo1()=null
row.getPersonId()=46788
row.getSelectFlag()=Y
row.getStatus()=NEW_ROW
Here, row.getIdFlexNum()=50454 is the id_flex_num- KFF structure code which has 4 segments.
I need to get the value for the VaueSet of Segment1
The segment values are displayed in the OAF page but i did not get how did std oracle code fetch it
Thanks,
kamath
Maybe you are looking for
-
Issues with Premiere Elements 8...
Just purchased and installed elements 8 on my rather old pc (like 5 years) which I've been upgrading constantly to avoid having to buy a new one. Everything seems to work fine, there's some slight lags when rendering clips etc, but the main issue is
-
Blackberry wireless headset HS-700 dials one number only
I just got a new wireless headset for my blackberry curve. It's supposed to be new, in box. Now that it's set up and connected, when I command it to dial a call it calls the same number ... An 870 area code number I don't know. No matter what I tell
-
Best place for DSL wireless router to aquire strongest signal
Hi all I have a Westell DSL wireless router sitting on a Kensington surge protection base with antennas pointing straight up. Is this ok? My wireless internet connection is ok for now. What's the best place for my wireless router for the strongest po
-
Disp+work.exe stopped, message server not connected.
Dear friend, I have successfully installed the SAP Netweaver 2004s for running WebDynProABAP application. Then I executed the transaction sgen for all packages. But the process seemed not completed succesfully. Then I restarted the machine. But the S
-
Server is receiving duplicated files
server is receiving duplicated files whenever we made a payment run in SAP through the F110 transaction