How to give declare input...
Hello all,
I have a doubt in the below declare input.
DECLARE
l_pk1_value fnd_attached_documents.pk1_value%TYPE:= '11038';(Invoice_id)
l_filename VARCHAR2(240) := 'Home_Screen2.pdf';
l_seq_num NUMBER;
Above declaration I am giving 'Home_Screen2.pdf' manually, which is taking from select FILE_NAME from fnd_lobs where PROGRAM_NAME= 'FNDATTCH'.
How can I make automate this?
Thanks and Regards,
Muthu
You have to do it in the begin block..
DECLARE
l_pk1_value fnd_attached_documents.pk1_value%TYPE:= '11038';
l_filename VARCHAR2(240);
l_seq_num NUMBER;
begin
select FILE_NAME
into l_filename
from fnd_lobs
where PROGRAM_NAME= 'FNDATTCH';
end;Or encapsulate the logic to get the file name in a function, and use it in the declaration section
DECLARE
l_pk1_value fnd_attached_documents.pk1_value%TYPE:= '11038';
l_filename VARCHAR2(240) := your_package.your_function('FNDATTCH');
l_seq_num NUMBER;Edited by: jeneesh on Mar 2, 2013 11:30 AM
Similar Messages
-
In BSP how to give the input field as mandatory?
Hi friends,
In BSP how to give the input field as mandatory?
In BSP i want to validate the input field (example checking the material no is valid or not)
if this material no doesnot exit means i want to pass error message.What is the code for that.
Moosahi
try this
in LAYOUT
<htmlb:inputField id = "vname" disabled = "False" value = "<%= v_visitor %>"/> <font color="red" size="2"><b><%= page->messages->assert_message( 'vname' ) %></b></font></td>
in DO_HANDLE_EVENT
in oninputprocessing
CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
DATA: event TYPE REF TO CL_HTMLB_EVENT.
event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
IF event->name = 'button' AND event->event_type = 'click'.
DATA: button_event TYPE REF TO CL_HTMLB_EVENT_BUTTON.
button_event ?= event.
ENDIF.
case event->id.
when 'select'.
if v_visitor = ''.
page->messages->add_message(
condition = 'vname'
message = 'Visitor Name can not be blank'
severity = page->messages->CO_SEVERITY_ERROR ).
ELSE.
here u can write ur when ur field getting filled
endif.
endcase.
endif.
give marks if it is helpful
thanks -
How to give multiple inputs to syn BPEL process in Jdeveloper
Hi,
I am new to BPEL . I have created programs which takes single input and after processing displays single output. I want to give more than one input at run time (for ex. employee name,age, salary ) and want to display Multiple output after processing them Instead of Just one that I am doing currently. How I can do that using Synchronous BPEL process . Can some one tell that What will be learning time for BPEL using google and forums, for a 3 year exeperienced person in JAVA and new to BPEL.
Yogendra RishishwarHi,
You just need to change the XSD of your process.
Someone posted something similar last week : How to change the input and output schema in BPEL process
Hope it will help you ..
romain. -
How to give digital inputs to ni 6501
I am trying to give a digital data to a port of ni 6501... Can some one exlain in which format this datas shuld be given in a C++ code
Hi,
You just need to change the XSD of your process.
Someone posted something similar last week : How to change the input and output schema in BPEL process
Hope it will help you ..
romain. -
How to give two Input File from Adapter Framework to EJB Modules
hi,
i'm using one EJB Module in SAP XI, which converts EDI file
format to XML file format. But now i'm facing a problem, that is,
in SAP XI we can able to give one file as an Input at a time, but
in my case it is <input_file_name>.edi, but my issue is i need
to refer another file also, if it is possible.?
then,
What and how we can able to use this, any clue
inputModuleData.getSupplementalData("<Name>");
or else,
we can able to achieve this through Configuration settings,
Option: addAdditionalFile
please send your suggestion as well.
thanks,
rajeshhi check the development manual for reference
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f76f9f90-0201-0010-bf84-d0409ea425f1
Note: reward points if solution found helpfull
Regards
Chandrakanth.k -
How to give user input in flsh animation??
i m a student of engineering and my project is to create animation of dc motors whose parameters can be controlled by user input
means current,voltage and speed of the rotor...how con i do it...
m totally new iin this field and learning flash...
and can i make these type of animation in flash professional CS5???What you should probably consider is using Slider components to control each of the parameters. There should be examples of how to use them in the help documentation.
-
Hi,
I just deployed my synchelloWorld BPEL process. I tested it from console, its working fine with HTML input.
Any idea what whould be the input if I want to test the BPEL process from console using XML input?
Thanks,
Debojyotycheck out $BPEL_HOME\integration\orabpel\samples\demos\LoanDemo\LoanFlow\bpel.xml
open it and check out defaultInput property.
<loanApplication xmlns="http://www.autoloan.com/ns/autoloan">
<SSN/>
<email>[email protected]</email>
<customerName>dave</customerName>
<loanAmount>1000</loanAmount>
<carModel>BMW</carModel>
<carYear>2003</carYear>
<creditRating>0</creditRating>
</loanApplication> -
How to give all input parameter in creation of po via bapi
sir plez tell clear process of create po via bapi, i have done upto "BAPI_PO_CREATIVE1, then what to do, plez stepwise explain
thank QDear Baskhar,
After BAPI_PO_CREATE1, you have to run BAPI_TRANSACTION_COMMIT to post
the data.
For example, from SE37:
You can goto menubar: Function Module
Test-> Test sequence,
Fill in BAPI_PO_CREATE1 then follow by BAPI_TRANSACTION_COMMIT .
Best Regards,
Ian Wong -
How to give input to 3d surface interms of cylindrical coordinates(r,theta,z)
hi,please let me know how to give input to 3d surface interms of cylindrical coordinates(r,theta,z)how to give input to 3d surface interms of cylindrical coordinates(r,theta,z)
Hi,
This is the functions you should be using:
Also, please have a look at the NI Example Finder, i think the 1st and the 4th example will be of interest to you.
Hope this helps...
.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/ -
How to give input parameter to Bapi when executing a method.
Hi All,
I have 1 input field and 1 button.I've defined a model node and inside that model attribute in my view.If I enter something in the Input field the value should go to the particular model attribute I defined.How to pass that input parameter.I have a action like this....
public void onActionGetDateDetails(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionGetDateDetails(ServerEvent)
wdThis.wdGetGetDateDetailsCustController().execute_Bapi_Get_Date_Details("");
// while executing the above method I have to pass the input parameter typed in the input field.
Structure of my context :
Bapi_Date_Details
>Network List(Model Node)
|
-->Network (Model Attribute)
//@@end
Help me to solve this.
Thankx in advance.
Regards,
Karthick.K.EHi Karthick,
You can associate an input field's value to a BAPI in two ways:
1) binding the input UI element's 'value' directly to the BAPI's input attribute that you want to set. This is the methos Noufal suggested. In this method, make sure you initialize the attribute through the following lines of code in the doInit() method, else, the input field will be disabled.
<b><Bapi_name>Input input = new <Bapi_name>Input();
input.set<Attribute_name>(new <dataType>);</b>
2) The second method is settting the input's 'value' to some other attribute(say 'abc') and giving this value to the input parameter just before calling the RFC.
input.set<Attribute_name>(wdContext.currentContextElement.getAbc());
Hope this helps,
Best Regards,
Nibu -
Declaring input parameter for flag in procedure!!!!!
hi,
can anyone tell how to declare the flag i,e true or false as an input parameter in the procedure.
here is the code wat i have
create or replace procedure test
cur_out out sys_refcursor
as
begin
open cur_out for
select field1
from Test
where REPORTING_FLG = 'y' --(here i want the user to select 'Y' or 'N' )
ORDER BY field1;
end TEST;
In the where condition i want the user to select the 'y' or 'N'. So i have to give input parameter i guess. So could anyone let me know how to give input parameter for flag.
Urgent PLZ!!!
Thank u in Advance.May be this way:
Create or Replace procedure test (cur_out out sys_refcursor,flg in varchar2)
as
begin
open cur_out for select field1 from Test
where REPORTING_FLG = flg
ORDER BY field1;
end TEST;
We can only pass Input parameters! -
How to get User input in JTextField?
How to get User input in JTextField? Can u anyone give me some code samples? thanks
read the API!!!
-
How to give error message for the screen element text field when wrong i/p
How to give error message for the screen element text field when wrong i/p
when wrong input given
eg.
I have a text box with SBOOK-CARRID
so when user give wrong entry in text box i.e LG
then I should give some error stating that the the input is invalid or not available ,
now it showing the error of standard messages,
i want manual message to be displayed when error comes.
Thank you,
Regards,
Jagrut Bharatkumar ShuklaHi all,
Thank you for your valuable reply,
but the thing is that its a screen field,
i.e text box not a selection screen
i created in screen layout
with name sbook-carrid
now i want to get error message display if wrong i/p is given
thank you.
Regards,
Jagrut bharatkumar Shukla, -
How to give Service locator in flash builder 4.5
hi friends,
In flex 3.0 we are giving service locator like this
<?xml version="1.0" encoding="utf-8"?>
<cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:cairngorm="com.adobe.cairngorm.business.*">
</cairngorm:ServiceLocator>
How to give in flash builder 4.5 i tried in same way it is not recognizing ServiceLocator.
How to do in 4.5Ya i tried by keeping <fx:Declarations> part but still it is throwing error,
In flex3 we are making a component ex: <mx:canvas> and changeing that component to
<cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:cairngorm="com.adobe.cairngorm.business.*">
</cairngorm:ServiceLocator>
if any one used 4.5 with cairngorm let me know
thanks -
How to make a Input Field with multiple lines?
hey folks,
i need to make a popup window or a dynpro with 2 input fields, where the user can write on multiple lines. why isnt there such an input field in the screen painter? how can i make this? if i can do this with a dynpro it would be nice but a popup with that feature would be better. didnt found any infos anywhere except for that thread, but its answer didnt work with my dynpro:
How to make a input/output field with multiple lines
thx for any helping answeri made it just like in that thread but there is an error message telling that gv_custom_container is not declared.
* MODULE status_0110 OUTPUT
MODULE status_0110 OUTPUT.
CREATE OBJECT custom_container
EXPORTING
container_name = 'TEXT_CONTROL'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
CREATE OBJECT text_editor
EXPORTING
parent = gv_custom_container
wordwrap_mode = cl_gui_textedit=>wordwrap_at_windowborder
wordwrap_to_linebreak_mode = cl_gui_textedit=>false
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
gui_type_not_supported = 5.
SET PF-STATUS 'STATUS_0110'.
SET TITLEBAR 'TITLE'.
ENDMODULE. "status_0110 OUTPUT
Edited by: rafe b. on Oct 26, 2009 2:56 PM
Maybe you are looking for
-
Quicktime not playing correctly in html popup
Hi, I have been crazy trying to fix this problem and I didn't find the solution. I have just updated my system to Firefox 3.5.3 anq QuickTime 7.6.4 My site loads popups with quicktime .mov files inside. The problem is the funcionality of the quicktim
-
Hello, I've noticed that some people get upset when someone mentions javascript in this forum. Is there another forum where I could ask questions on javascript? Thanks. To those who don't get upset, here is my question: With these items: a button, a
-
Problem in navigatiion between Tabs in Tabstrip control
Hi experts, I have an issue when working on tab strip. That is, i m having few text fields in Tab1 and a table control in Tab2. Now when i enter values in table control in Tab2 and again if i click Tab1, tab 1 is not getting displayed. Still Tab2 is
-
Hi i am unable to publish a wad template to the portal. In WAD when i click on Publish - to Portal, i am getting the "Export to Portal Content Directory (PCD) as iView". I click on Folder Selection, and in the "select a Folder" dialog box, i select
-
Till now I use an Audigy2 and I have internal connection from my CD-DVD to SB card via CD-IN or SPDIF, I want to change to a new Xi-Fi SB card but I saw that are not more present that internal connection, why ? Are not more necessary ? Thanks Luca