How to pass po number to API
Hi All,
Can you please let me know how to pass po_number(Purchase Order Number) while creating an assignment. i'm using hr_asignment_api to create assignments. Or do we have any other way to pass PO_NUMBER value to any API.
Thanks,
Anil
Hi jackytam ,
/people/yeusheng.teo/blog/2008/01/05/ordering-unit-vs-order-pricing-unit-in-srm-sus
you make get some pointers
regards,
Neelima
Similar Messages
-
How to Pass personal number(pernr) to the ESS Webdynpro ABAP Application
Hi,
How to pass personal number of employee to the standard ESS webdynpro ABAP application as application parameter of iview.
Thanks
SrikanthHi
For WebDynpro application in iView there is a property to set Parameter for WebDynpro application.
Handel these passed parameters in Default plug of Interface Controller.
Note string passed as parameter in iview is case sensitive.
Try this code to get URl of Deployed application
String appURL = null;
try {
WDDeployableObjectPart currentAppPart =wdThis
.wdGetAPI()
.getComponent()
.getApplication()
.getDeployableObjectPart();
appURL = WDURLGenerator.getApplicationURL(currentAppPart);
} catch (final WDURLException ex) {
wdComponentAPI.getMessageManager().reportException(
new WDNonFatalException(ex),
false);
Mandeep Virk -
How to pass kerberos ticket at api level?
Hi,
Am relatively new in the domain of Java Security, JAAS and JGSS. After reading the tutorials and examples, I was able to do authentication and message transfer using Kerberos LoginModule. All the examples demonstrates message transfer and credential passing at socket level.
But in normal scenario's a server application exposes its APIs and the clients invokes remote methods on the server instead of sending data at a socket level.
My question is can I use kerberos and JGSS to pass security context at api level without adding an arguement for security context in each api call?
In simple terms, Is it possible to implicitly pass user credential's to server at each api call instead of exchanging/encrypting data at socket level?
Is there any other mechanism that meets this kind of requirement?
Thanks,
KapilSeema, could you please elaborate on how GSS context is established?
The examples show that context is established after series of message passing between client and server inside a while loop
while (!peerContext.isEstablished()) {
byteToken = peerContext.initSecContext(byteToken, 0, byteToken.length);
if (byteToken != null) {
outStream.writeInt(byteToken.length);
outStream.write(byteToken );
outStream.flush();
}//if
if (!peerContext.isEstablished()) {
byteToken = new byte[inStream.readInt()];
inStream.readFully(byteToken );
}//if
}//while (!peerContext...)Is there any other way to establish GSS context ?
Thanks & Regards,
Kapil -
How to pass Idoc number to workfow
Hi all,
How to pass triggered Idoc number to the workfow ?
I wanna to display the Idoc number in mail, when error occur in posting, but workflow is trigarring but I am not able to get the Idoc number, even I given key element as idoc reference to the EDIDC-DOCNUM in the Business object ( z object).
Please let me know how to solve this...
Thanks yaar..
HPHi Hp,
Check the Workflow log or the event log?
Check the binding between event container to workflow container?
Thanks and Regards
Balaji E. -
How to pass serial number read from a PCB.
Hi,
I have a question:
How do I pass serial number read from a PCB so it will be embedded in Test Report file name for that test sequence. I am running Sequence in “New Execution" - Single Pass.
My test report file after I run test does not have serial number: “TEST_Rev6_Report[NO_UUT_SERIAL_NUM0][2 32 24 PM][4 26 2013].xml” but my Report Header has serial number present.
Thank you,
HenryThe attached screenshot shows how to set your report options, make sure you have the <TestSocket> and <UUTStatus> macros included in the Report File Path otherwise the serial will not be filled in the filename (Generate path is called a second time from the Single Pass -- Test Socket Entry Point sequence).
I used the ParallelModel.seq to test it.
The attached sequence file shows how to set the serial number.
Search for "Specifying Report File Paths by Expression" in the help for more macros.
Attachments:
Sequence File 2.seq 5 KB
Screenshot.png 57 KB -
How to pass variable number of parameters to a FORM.
Hi,
What is the correct syntax to pass variable number of parameters to a subroutine?
PERFORM TEST TABLES BRETURN USING TEST_NAME CHANGING MY_OUTPUT.
FORM TEST TABLES RETURN STRUCTURE BAPIRET2
ITAB STRUCTURE ITABLE_LINE OPTIONAL
USING VALUE(NAME) TYPE STRING
CHANGING VALUE(OUTPUT) TYPE STRING.
The above code does not work. How can we specify an optional parameter?
Thanks and Regards,
Sheetal
Message was edited by: Sheetal PisolkarHi,
I am trying to use a subroutine instead of function.A FUNCTION understands optional keyword.
How can this work for a FORM?
CALL FUNCTION 'TEST'
EXPORTING
MY_OUTPUT = 'output'
IMPORTING
TEST_NAME = 'mytest'.
FUNCTION TEST
* EXPORTING
* VALUE(OUTPUT) TYPE STRING
* IMPORTING
* VALUE(NAME) TYPE STRING
* TABLES
* RETURN STRUCTURE BAPIRET2 OPTIONAL
* ITAB STRUCTURE ITABLE_LINE OPTIONAL
ENDFUNCTION.
PERFORM TEST USING TEST_NAME CHANGING MY_OUTPUT.
FORM TEST TABLES RETURN STRUCTURE BAPIRET2 OPTIONAL
ITAB STRUCTURE ITABLE_LINE OPTIONAL
USING VALUE(NAME) TYPE STRING
CHANGING VALUE(OUTPUT) TYPE STRING.
ENDFORM.
Is this be possible?
Thanks
Sheetal. -
How to pass version number from source location to records center?
When designing our record management approach, one of the requirements from business is to pass the version number from the source location to records center. They need to know which version has been declared as a record for the same document.
Is there a way to implement this (OOB)? Thank you.Hi,
Based on your description, my understanding is that when you sent a document to records center, you want to pass version number from source location to records center.
When a document is sent to the records Center, we keep its version number as assigned in its original document library as metadata that is submitted along with the document to the Records Center (in the “Properties” sub-folder of the document library in
the Records Center).
Automatically synchronizing that version number directly into the versioning system in the Records Center is something we should probably consider for a future version, but even in the current version we definitely don’t lose that information.
Hope this helps clarify.
Refer to the following article:
http://blogs.msdn.com/b/recman/archive/2006/08/24/715883.aspx
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to pass version number of process using API's
Locator locator = new Locator("default","bpel");
IDeliveryService deliveryService = (IDeliveryService) locator.lookupService(IDeliveryService.SERVICE_NAME );
// Construct a normalized message and send to Oracle BPEL Process Manager
NormalizedMessage nm = new NormalizedMessage();
nm.addPart("payload", xml);
// Initiate the BPEL process
deliveryService.post("AsyncProc1", "initiate", nm);
When I run this code, I get the following error:
09/03/31 15:07:46.953 workflowform: Servlet error
ORABPEL-02178
Process not found.
The BPEL process "AsyncProc1", revision "" has not been loaded. Either the process was not initialized properly or the process has
been disabled.
Please consult your administrator regarding this error. The application server logs may provide more information regarding this error
I had created many versions of the same process. I need to use version 4.0 of this workflow. Is it possible to pass the version number while initiating the process?
Thanks.Hi Badri,
I think you can identify the bpel with different versions as follows:
bpelprocessName_1.1 or bpelprocessName_v1.1
either one of these should be correct.
Thanks
Saikrishna -
How to pass more number of parameters in procedure
How can we send 1000 parametrs in a procedure?
is there any other method to pass parameters without defning 1000 parametrs
Any example really helpfulI know it's a hint, but have you ever known it to be ignored? Can you provide a working example showing it being ignored?Well it is not hard to demonstrate it being ignored, but these restrictions, while not obvious, are relatively well documented.
What does not appear to be documented is the behaviour when calling from 3GLs (or does this qualify as an external procedure call?) where I believe the hint is also ignored.
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2261
"The use of NOCOPY increases the likelihood of parameter aliasing. For more information, see "Understanding Subprogram Parameter Aliasing".
Remember, NOCOPY is a hint, not a directive. In the following cases, the PL/SQL compiler ignores the NOCOPY hint and uses the by-value parameter-passing method; no error is generated:
1. The actual parameter is an element of an associative array. This restriction does not apply if the parameter is an entire associative array.
2. The actual parameter is constrained, such as by scale or NOT NULL. This restriction does not apply to size-constrained character strings. This restriction does not extend to constrained elements or attributes of composite types.
3. The actual and formal parameters are records, one or both records were declared using %ROWTYPE or %TYPE, and constraints on corresponding fields in the records differ.
4. The actual and formal parameters are records, the actual parameter was declared (implicitly) as the index of a cursor FOR loop, and constraints on corresponding fields in the records differ.
5. Passing the actual parameter requires an implicit datatype conversion.
6. The subprogram is called through a database link or as an external procedure."
For example, consider rule #2 above and compare output of first block (with unconstrained NUMBER datatype) with second (with constrained NUMBER datatype).
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> SET SERVEROUTPUT ON;
SQL> <<anonymous_block>>
2 DECLARE
3 variable_name NUMBER := 0;
4
5 PROCEDURE procedure_name (
6 parameter_name IN OUT NOCOPY NUMBER)
7 IS
8 BEGIN
9 dbms_output.put_line ('#2 variable_name => ' || variable_name);
10 parameter_name := parameter_name + 1;
11 dbms_output.put_line ('#3 variable_name => ' || variable_name);
12 END procedure_name;
13 BEGIN
14 dbms_output.put_line ('#1 variable_name => ' || variable_name);
15 procedure_name (variable_name);
16 dbms_output.put_line ('#4 variable_name => ' || variable_name);
17 END anonymous_block;
18 /
#1 variable_name => 0
#2 variable_name => 0
#3 variable_name => 1
#4 variable_name => 1
PL/SQL procedure successfully completed.
SQL> <<anonymous_block>>
2 DECLARE
3 variable_name NUMBER (10) := 0;
4
5 PROCEDURE procedure_name (
6 parameter_name IN OUT NOCOPY NUMBER)
7 IS
8 BEGIN
9 dbms_output.put_line ('#2 variable_name => ' || variable_name);
10 parameter_name := parameter_name + 1;
11 dbms_output.put_line ('#3 variable_name => ' || variable_name);
12 END procedure_name;
13 BEGIN
14 dbms_output.put_line ('#1 variable_name => ' || variable_name);
15 procedure_name (variable_name);
16 dbms_output.put_line ('#4 variable_name => ' || variable_name);
17 END anonymous_block;
18 /
#1 variable_name => 0
#2 variable_name => 0
#3 variable_name => 0
#4 variable_name => 1
PL/SQL procedure successfully completed.
SQL> -
How to pass Employee number of MSS - Employee Search to Start Process
Hi All,
Just like HR admin role, Employee Information number is getting passed in Display Processes, Start Processes, and Personnel File, we have to make same scenario working for MSS also.
In MSS, General Information Page, when manager selects the Employee, then that Employee Number should get passed in Display Personnel File and also in Start Process.
I am new to HR module so I have not explined the requirement properlly, but Experts may be knowing this. Please help.
Regards,
NikeshHi Siddharth Rajora,
I have actually 2 doubts..
1. You mean to say this can be done and is already implemented, but I think it will only work if we put "Display Personnel File and Start Process" under "Related Activities" area right ?
2. But user wants these views in the Detailed Navigation, so if he selects PERNER from general Information Page, and then if he clicks on "Start Process (under Detailed Navigation)" , then it shud show list of processes for that Employee.
Can you please guide me properly. -
How to pass Employee number of MSS - General Information to Start Process.
Hi All,
Just like HR admin role, Employee Information number is getting passed in Display Processes, Start Processes, and Personnel File, we have to make same scenario working for MSS also.
In MSS, General Information Page, when manager selects the Employee, then that Employee Number should get passed in Display Personnel File and also in Start Process.
I am new to HR module so I have not explined the requirement properlly, but Experts may be knowing this. Please help.
Regards,
NikeshHi Siddharth Rajora,
I have actually 2 doubts..
1. You mean to say this can be done and is already implemented, but I think it will only work if we put "Display Personnel File and Start Process" under "Related Activities" area right ?
2. But user wants these views in the Detailed Navigation, so if he selects PERNER from general Information Page, and then if he clicks on "Start Process (under Detailed Navigation)" , then it shud show list of processes for that Employee.
Can you please guide me properly. -
How to pass any number of parameter in a sequence call
Hi,
I have a sequence that aims to do the same job for one or several same elements typed. eg:
subsequenceA :
foreach element in (all elements array)
//do the job
endfor
now in my caller I would like to call subsequenceA in several ways :
subsequenceA(firstElement)
subsequenceA(firstElement, secondElement)
subsequenceA(firstElement, secondElement, .... , lastElement)
Is it possible ?
Another question : is it possible to do a call of subsequence in a pre-expression ?
Solved!
Go to Solution.Yes, build an array of strings and pass them as string-array. Maybe you want to add a numeric parameter "array size", but that is optional as the subsequence can easily get that information from the array itself.
Norbert
PS: Don't mark an answer as solution as long as you have questions left on that topic.
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
How to select data from a table by passing document number from another tab
How to select data from a table by passing document number from another table.
for eg:-
I want to display name, adres, region from ADRC table
by using field delivery document number
Kind Regards,
Shanbagavalli.SHi Shanbagavalli,
There are multiple solutions to this questions a few i will try to answer and then you can take the best required for your requirements.
**Consider that you have a Internal table having document number from other table..
SELECT NAME ADRES REGION FROM ADRC
INTO IT_ADRC
FOR ALL ENTRIES IN IT_DOC
WHERE DOCUMENT_NO = IT_DOC-DOCUMENT_NO.
**Consider that you have 1 document number then
SELECT NAME ADRES REGION FROM ADRC
INTO IT_ADRC
WHERE DOCUMENT_NO = W_DOCUMENT_NO.
Hope this solves your problem.
Regards,
Kunjal -
How to limit the number of downloaded videos in parallel to one.i want my iPad itunesu to download only one video at once at time and when finished from downloading it to pass to the second queued one.
@Tylerdowner: hmm.. maybe yes.. I just want to use the DOWNTHEMALL AddsOn for the saving file not the default download.. because my costumer download MP3 files and save it 3 or more files at a time so my Internet Connection goes down :( so I just want to limit them to save 1 file at a time.
or if there is another way to limit it to 1.. please tell me :( -
How do I pass the number of print copies to AcroExch.AVDoc
Hi,
I have the following function to print a pdf file, but I don't seem to be able to specify the number of copies I want to print, please help! How to set the number of copies to print, thanks a lot!
Sub PrintPDF(ByVal pdfFilePath As String, ByVal numCopyToPrint As Integer)
'AcroPDF1.Application
Call GetCommandBarNames
Dim myAcroApp As AcroApp
Dim myAVDoc As AcroAVDoc
Dim PDDoc As AcroPDDoc
Dim numPages As Integer
Dim IsSuccess As Boolean
Set myAcroApp = CreateObject("AcroExch.App")
Set myAVDoc = CreateObject("AcroExch.AVDoc")
myAVDoc.Open pdfFilePath, ""
Set PDDoc = myAVDoc.GetPDDoc
numPages = PDDoc.GetNumPages
myAcroApp.Show
'MsgBox "numpages = " & numPages & ", numcopies = " & numCopyToPrint
'myAVDoc.PrintPages 1, numPages, numCopyToPrint, True, True
myAVDoc.PrintPages 1, numPages, 2, True, True
'Close the PDF
myAVDoc.Close True
myAcroApp.Hide
myAcroApp.CloseAllDocs
myAcroApp.Exit
'Cleanup
Set PDDoc = Nothing
Set myAVDoc = Nothing
Set myAcroApp = Nothing
End SubYou cannot. (Note to other readers: this is an API to Acrobat, not
Adobe Reader)
Aandi Inston
Maybe you are looking for
-
Set default value for OAMessageLovInputBean
I have DFF(standard) enabled on the page. The requirement is to disable / hide one of the flex fields on the page. Since the field is read only, I am trying to default the value in CO using below code OAPageLayoutBean page = oapagecontext.getPageLayo
-
How to create document in process chain
Hi, can u plz tell me how to create document in process chain and wat i need to edit the text for particular info package when document.
-
Find and replace string in file
hi, i need to find and replace text (string) data in about 100+ files, i've decided to write a small java program to do it but i'm stuck on how to replace. here is what i'm heading towards: class ReplaceString { BufferedReader in; BufferedReader
-
Addition to my earlier post on TV shows on Ipod, I have noticed lately, when I sync my Ipod, some of the files listed under TV shows, disappear from the Ipod, although they are still in Itunes, and NOT selected for deletion. Is this an extra feature
-
literally just got my iphone 5s out of the box, i'm setting it up with the language settings and wifi. i chose the preference to restore my icloud from my previous phone and now it has been at the same point for an hour what do i do