How to programmaticaly retrieve Module Parameters
Hi everyone,
I'd like to know how to programmaticaly retrieve all the parameters that are defined in a sequenceCall step (in module window) :
* Parameter Name
* Type
* Value
I'm using TS API with Labwindows and i have a Step handle using :
TS_SequenceGetStep (gSeqObj, &errorInfo, iIndex, iStepGroup, &gStep);
I suppose i should get a module handle but i don't know what to do next with the module Handle
If someone could help me i would appreciate.
Thanks a lot !
I think this is the API that you are looking for. "Step.Module.AsSequenceCallModule.Prototype". You can use the handle of the step you get using TS_SequenceGetStep. This should give you the parameters container.
Thanks
Similar Messages
-
Receiver Mail Adapter Module Parameters
Hello PI Experts,
Can anyone pls provide me Mail adapter module parameter details for xml to txt file conversion. I have found a few but none of them are working, can you pls provide me some active links.
Thanks,
SriI need MAIL Adapter module transformation parameter for converting my attachment from xml to text file -
I have gone thro few forums and modified my comm channel, but still getting xml file as an output attachment instead of a text file.
Can anyone please suggest me how to change the module parameters to covert from xml file to text.
I have added these module processing - please help.
Processing sequence
localejbs/AF_Modules/MessageTransformBean - Local Enterprise Bean - XML2Plain
sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean - Local Enterprise Bean - Mail
Module configuration
XML2Plain - xml.endSeparator - 'nl'
XML2Plain - xml.fieldNames - Field1,Field2,Field3
XML2Plain - xml.fieldSeparator - | |
XML2Plain - Transform.Class - com.sap.aii.messaging.adapter.Conversion
XML2Plain - Transform.ContentDisposition - attachment;filename="extract_p.txt"
XML2Plain - Transform.ContentType - xml/plain;charset='UTF-8";name="extract_p.txt"
XML2Plain - xml.recordsetStructure - Details
Thanks,
Sri -
Howt to retrieve the parameters sent from an iView in WDA
Hi,
I´m sending some parameters form the Portal iView containign the WDA component, how can I retrieve the parameters sent in to my webdynpro ABAP development.
Kind Regards,
Gerardo JHi Gerado,
Go to the window in your WD ABAP component.
Declare those parameters as importing type in HANDLEDEFAULT method.
You will receive the values at runtime in these parameters.
Please check this wiki also. It tells about reading URL parameters in WD ABAP but it will work the same way for iView paramters.
[http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoreadURLparametersinWebDynproforABAP|http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoreadURLparametersinWebDynproforABAP]
I hope it helps.
Regards,
Sumit -
Function Module that will retrieve the parameters for a given function Modu
Hi
We have a requirement where we will be calling Function Module that will be maintained in a table entry. How we will determine what is the parameters that is required by this function module. Is there a FM that will suffice the requirement.
Thanks in advance
arghadipHi,
You have to write a custom code for that. Use the table FUPARAREF to retrieve the parameters for a function module. Give function module name as input.
Pls reward points if solved your issue.
Regards,
Renjith Michael. -
How to use SET & GET Parameters in Module Pool
Hi Friends,
Can anyone please tell how to use SET / GET parameters and PARAMETER ID for a text box (Input / Output field ) in module pool? What is the purpose and where do we need to do coding for it?
Note : I will definitely give the marks for good responses.
Thanks in advance,
PradeepHi Pradeep,
You can save values in the SAP memory using a parameter ID. These
are user and terminal-session specific, but available to all internal and
external sessions.
SET Parameter copies the corresponding field contents into the SAP
System memory in the PAI processing block.
GET Parameter copies the corresponding field contents from the SAP
memory at the end of the PBO processing block, after data has been
transferred from the program, if the screen field still has its initial value
You can link an input/output field to an area of the SAP memory in the
ABAP Dictionary.
When you use an input/output field that is defined in the ABAP
Dictionary, its parameter ID is displayed in the Dictionary attribute
Parameter ID in the Screen Painter.
Usage
SET PARAMETER ID: CAR FIELD space,
CON FIELD space,
DAY FIELD space.
Here is the link that explains the usage of GET/SET in detail
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm">http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm</a>
Regards,
Sharadha -
How to access module parameters?
Hi,
I'm developing own module for XI File Adapter.
I found in the weblogs how to get source file name. Thanks.
But how do I get custom parameter specified for the module?
Where could I check all readable parameters, apart from source file name? For instance source dir?
Thanks.Hi
The parameter "moduleContext" in the process (moduleContext,inputModuleData) method has a method getContextData(String name)....
This can be used to read the module configuration parameters.
For the filename, i believe you are doing the following:-
using the getSupplementalData(String param) of inputModuleData with the value for param being 'module.parameters' to get a hashtable and out of the hash table you are reading an entry for "FileName"
So let me suggest you a wild try...Did you try checking for "SourceDirectory" in the hashtable?
You could also get all the keys/values in this hashtable and put it somewhere in the xml and see what all parameters are there in message monitoring(This is just a suggestion for a simple debugging...).
Thanks & Regards,
Renjith -
How can I retrieve the "Basic" menu on Lightroom 5? I accidentally bumped something while working in the Develop module of Lightroom 5, and now the Tone Curve menu is directly under the Tool Bar, with no option to click on "Basic."
Right-click on Tone Curve and choose basic again or press Ctrl+1 in Develop.
On Mac (Control-Click or Cmd+1) -
How to retrieve export parameters using startrfc?
When using the standard SAP client program <b>startrfc</b> to remotely call an ABAP function in SAP, is it possible to retrieve the export parameters?
The startrfc program only seems to allow you to send an import parameter (using the E option) and to send/retrieve a table, using the T option.
For example, the function BAPI_USER_EXISTENCE_CHECK exports the parameter RETURN of type BAPIRET2. How can you retrieve this export parameter using the startrfc program?HI Linda,
Create an export variable and in the parameter reference give the field reference of the field like this VBELN[], then this forms a structure parameter...
Then place all your recorded SAPGUI/TCD with in Message/EndMessage Block, and make a rule as an expected message, something like this...
MODE MSGID MSGNR MSGV1
'E' '/DBM/COMMON' 467 E_VBELN
MSGID & MSGNR might differ in your case use them accordingly, also check the previous log and make sure that the order number is MSGV1, if it is in MSGV2, place the variable E_VBELN in the MSGV2 field of the message Rule.
This should generally fetch you all the order numbers...
But in some situations it didnt work in my case, so here is the second solution...
MESSAGE ( MSG_1 ).
SAPGUI/TCD RECORDING
ENDMESSAGE ( E_MSG_1 ).
DO ( &TFILL ).
IF ( E_MSG_1[&LPC]-MSGID = '/DBM/COMMON' AND E_MSG_1[&LPC]-MSGNR = 467 ).
E_VBELN[V_COUNT]-TABLE_LINE = E_MSG_1[&LPC]-MSGV1.( V_COUNT Should also be declared, but as a local variable)
V_COUNT = V_COUNT + 1.
ENDIF.
ENDDO.
This was you will get all the order numbers in one variable, which you can access in any script while looping the varable based on its length..
Check and modify accordingly.
Hope this helps..
Best regards,
Harsha
PS: award points if this answer helps solve your issue. -
How to Add function modules to retrieve current month
how to Add function modules to retrieve current month from TVARV variables (currently we have functions to do close month).
Hi
Double click on the CODE for the line..
SET PF-STATUS 'XYZ'.
It will open the Menu Painter (SE41). Click on the Function Keys Tree Node and And assign the
Function Keys and Function codes for the Menu Items.
Hope this would help you.
Murthy -
How to configure Application module pooling?
I want to know wheather bc4j container itself manages Application module pooling if yes then please tell me is there any file to set parameters for congiguration like one which we have for apache web server.
If no then please let me know how to create applicatiom module pooling.
Thanks in advance.Application module pooling is configurable through an application module configuration. In order to edit an application module configuration you may right click an application module and select Configurations...
The BC4J data web beans and the BC4J JSP datatags are both application pool clients. The BC4J documentation includes descriptions of the application pool properties. The documentation also includes a code sample which illustrates how to write your own pool client. -
Problem in using function module parameters in abap program
i want to use the coding present in on one of the function module 'AS_API_INFOSTRUC_FIND' i got the problem using the function module parameters in my abap program.
these are the parameters inside fm
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_FIELDCAT) TYPE AIND_FCAT
*" VALUE(I_FIELDS) TYPE TABLE OPTIONAL
*" VALUE(I_OBLIGATORY_FIELDS) TYPE TABLE OPTIONAL
*" EXPORTING
*" VALUE(E_INFOSTRUC) TYPE AIND_DESC
*" REFERENCE(E_ALL_FIELDS) TYPE TABLE
*" REFERENCE(E_MATCHING_FIELDS) TYPE TABLE
*" EXCEPTIONS
*" NO_INFOSTRUC_FOUND
i want to declare E_ALL_FIELDS parameter in my abap program,
i have declared as
data: E_ALL_FIELDS TYPE TABLE.
but the system throws error that
'type of field 'TABLE' is generic .no table line has been specified'.
i want to use it in my abap program how can i declare in my abap program .You have to declare the table using any specific type.
The type table in the FM is generic so you can pass any type you need.
For instance:
TYPES: BEGIN OF ty_fields,
fieldname LIKE dfies-fieldname,
END OF ty_fields,
TYPES: TY_T_GLU1 LIKE GLU1 OCCURS 0,
ty_t_fields type ty_fields occurs 0.
DATA: lt_info_struct_fields TYPE ty_t_fields WITH HEADER LINE,
lt_matching_fields TYPE ty_t_fields WITH HEADER LINE.
CALL FUNCTION 'AS_API_INFOSTRUC_FIND'
EXPORTING
i_fieldcat = ft_fieldcat-fieldcat
i_fields = ft_fields_filled[]
IMPORTING
e_infostruc = lv_info_struct_name
e_all_fields = lt_info_struct_fields[]
e_matching_fields = lt_matching_fields[]
EXCEPTIONS
no_infostruc_found = 1. -
Type conflict in function module parameters
Hi All,
i hve to pass dynamic field <dyn_field> into function module parameters but it's giving a dump for type conflict.
where VALUE2 data type in 'AUTHORITY_CHECK' is UST12-VON but if i define <dyn_field> type UST12-VON . then it'll give dump in *ASSIGN COMPONENT SECURITY_TABLE-FIELDNAME of structure <wa> to <dyn_field> *.
SECURITY_TABLE-FIELDNAME data type is different with UST12-VON .
pls guide me how to pass *<dyn_field> in fm parameters.
FIELD-SYMBOLS: <dyn_field> type any.
LOOP AT <DYN_TABLE_IN> INTO <WA>.
ASSIGN COMPONENT SECURITY_TABLE-FIELDNAME of structure
<wa> to <dyn_field> .
CALL FUNCTION 'AUTHORITY_CHECK'
EXPORTING
USER = QUSER
OBJECT = SECURITY_TABLE-AUTHOBJCT
FIELD1 = 'ACTVT'
VALUE1 = '03'
FIELD2 = SECURITY_TABLE-FIELDNAME
VALUE2 = <dyn_field>Hi anuj ,,
Can you explauin the solution ..
Regards -
How to Use Function Module READ_TEXT
Hi
Anyone give me code or link or example for how to use function module READ_TEXT
and what are the parameters which we have to pass in module.
Regards.
MohsinHi,
refer the given below code.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = 'KOPF'uF0E0 these details we will get thru transaction , where we enter these details.
language = 'EN'uF0E0 these details we will get thru transaction , where we enter these details.
name = TNAME "table name
object = 'AUFK' " these details we will get thru transaction , where we enter these details.
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
IMPORTING
HEADER = HTEXT
tables
lines = LTEXT
* EXCEPTIONS
* ID = 1
* LANGUAGE = 2
* NAME = 3
* NOT_FOUND = 4
* OBJECT = 5
* REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks
Arun -
How comples return types and parameters are mapped
Hi all!
I want to know how complex return types and parameters in a java interface gets mapped to wsdl? for example how would the wsdl for the following interface shall look like:
interface ComplexReturns{
java.util.Date getLuckyDate(java.util.Date DoB);
myPack.MyClass getMyClass();
}Hi,
- In your application module, make a public method that returns an arry, for example an arry of strings[]
public String[] returnTwoVals(){
String[] returnvals = {"1","2"};
return returnvals;
}- expose this method in the application module
- in the user interface drag/drop the returnTwoVals method on a page and choose to create a button.
- double click the button to generate the binding code
public String commandButton_action() {
BindingContainer bindings = getBindings();
OperationBinding operationBinding =
bindings.getOperationBinding("returnTwoVals");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty()) {
return null;
return null;
}- you can access the values in the arry by adding this code after the Object result =...
String[] vals = (String[])result;
System.out.println(vals[0] + " - " + vals[1]); -
How can I retrieve the inbound XML messages (invoices) by ABAP program?
Where are the inbound XML messages (invoices) saved in XI box?
How can I retrieve the inbound XML invoices in XI box by ABAP program?
Is there any method/BADI/function module to retrieve these XML invoices, so I can output these XML invoices in an ABAP report?
Thanks in advance for your help!Hello Fisher,
This Webblog will help you.
/people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
From this blog you will understand the code behind SXMB moni .. which performs the selection from database. You can write a report as well.
Cheers,
Himadri
Maybe you are looking for
-
Blackberry having trouble playing youtube videos
I own a blackberry curve 8530 and its having trouble playing youtube videos. It plays youtube videos up to 59 seconds and then it stops. It gives me the same error message saying: "An error has occured attempting to play the media". I have tried turn
-
Budget Question - negative assigned value
Hi FI experts, We have IM module deployed in our system and we use WBS elements for budget tracking purposes only. A project was created in 2009 with WBS element, say WBS09, which was assigned certain budget. In the same year there were some expense
-
Ipod_control\itunes\temp file corrupt
hey, please someone help me. My ipod is working but i can not update anything. when i connect ipod on my computer its says, "ipod_control\itunes temp file is corrupt and ureadable please run the chkdsk utilities". i did everything. i run the chkdsk,
-
Auto-capitalization does not work with Keyboard Dock attached.
I purchased the Apple iPad Keyboard Dock with my iPad. Auto-capitalization works fine with the on screen keyboard, but when I connect the keyboard dock, it does not work.
-
Hi, I would like to add a custom field in the account distribution form. I did not see the Account Distribution form in the IPM BPEL processes. Where is this form located? Can i customize this form? Thanks, Lakshmi.