How to define RFC parameters
Hi Experts,
i am using a RFC FM to from SRM system to ERP system. in ERP system the RFC FM parameters refer to some structures or tables which are not in SRM system.
but i should transfer these parameters in SRM system to call this RFC.
can anyone tell me how to define the parameters in SRM system?
Hello,
I also had to work with RFC to call SRM function module from an ECC system. I recommend you very strongly to create your own RFC function module in SRM and your own DDIC structures in both systems with just the fields you need. This custom SRM RFC function module, map the parameters to the standard 100+ field DDIC structure and call the SRM function module (not using RFC at this time of course).
Why did I say "very strongly" : DO NOT duplicate the 100+ field DDIC structure from SRM to your RFC client system (by transport or manual copy), because some support packages add fields to some include structures of the complex structure, and they are inserted somewhere in the middle, and so it probably makes obsolete your duplicated DDIC structure.
Hope it's clear
sandra
Similar Messages
-
How to define initialization parameters in iWS6.0sp2
I need to define an initialization parameter in iWS6.0sp2, this parameter will be used by all my servlets in an web application.
parameter name: paraName
parameter value should be a string: "c:/xxx/xxx/xx"
I want to get this parameter in my servlet using :
getInitParameter("paraName")
it looks like I need to define it in the web-apps.xml, but not sure.
Can somebody tell me where and how to define it. Thanks in advance.
JohnHi,
You can define initargs in servlets.properties file and refer that from web-apps.xml.
check this link for more details
http://docs.iplanet.com/docs/manuals/enterprise/50/servlets/war.htm
Regards
T.Raghulan. -
How to define FORMAL parameters for TABLES in OOPS?
Hello Experts,
Below is the custom code, would like to put in a user-exit
PERFORM my_routine
IN PROGRAM my_report
TABLES standard_sap_vbap_tab
USING standard_sap_variable
CHAGING standard_sap_variable
Pls. let me know How to write the FORM in perspective of data objects defination in OOPS for the above routine.
FORM here_pl_let_me_know_how_to_define_the_data_objects
ENDFORM.
Thank you
Moderator message: please search for available information/documentation before asking.
Edited by: Thomas Zloch on Nov 10, 2010 3:40 PMThis is a very basic question. F1 help on statement form will do.
-
How to define this FORMAL parameters for a std. SAP itab?
Hello Experts,
Am writing a custom PERFORM in a standard SAP include-RVCOMFZZ by using modification assistant, like below,
RVCOMFZZ:
PERFORM my_routine IN PROGRAM my_report USING com_vbapvb.
(here com_vbapvb is a TABLES parameter with STRUCTURE of vbapvb in the std. sap FM).
my_report:
FORM my_routine USING here_I_want_to_know_the_data_object
ENDFORM.
Here pls. let me know How to define the FORMAL parameters of my_routine? I tried with different options, but did not worked out. Preferable let me know in OOPS concepts (not using TABLES)
Thank youHi,
here is example how to write you structure content regardless what com_vbap has field list.
PERFORM my_routine IN PROGRAM my_report USING com_vbapvb.
FORM my_routine USING here_I_want_to_know_the_data_object.
field-SYMBOLS: <field> type any.
do 100 times.
assign COMPONENT sy-index of structure ls_VBAPVB to <field>.
if sy-subrc = 0.
write:/ <field>.
else.
exit.
endif.
enddo.
ENDFORM.
Bye Jan -
How to define parameters with radio button
HI
How to define parameters with radio button, but that radio button should display in front of the variable name not after variable name. and under that radio button variable I hve to define parameters, select-options and some other radiobutton varibles.
I don't know how to paste figures here, otherwise i will provied u the figure for more details.
Regards.PARAMETERS : r1 RADIOBUTTON GROUP radi.
Go to --> text elements --> selection text
R1 <your text>
You can change the program selection screen lay out in screen painter (se51) .
screen number for your selection screen is 1000.
Regards,
Santosh reddy
Edited by: Santosh Reddy on Dec 9, 2008 11:21 AM -
How to create RFC function module and how to call this function module
Hi,
i want to know step for creating RFC function module and then How to use this function module from some other sap system.
Thnaks,
jigarJigar,
To implement a remote function module in ABAP, perform the following steps:
Register the module as remotely callable in the RFC server system.
In the function module Administration screen (transaction code SE37), set the field Can be called via REMOTE CALL. Registering a module as remote causes an RFC stub to be generated for it.
Write the code for the function module.
Create the destinations.....................
Displaying, Maintaining and Testing Destinations
To display, create or modify destinations, choose Tools ® Administration ® Administration ® Network ® RFC destinations or enter transaction code SM59.
Remote Destinations are stored in table RFCDES. The RFCDES table describes logical destinations for remote function calls.
It is not possible to maintain the RFCDES table directly.
You can also access logical destinations via the Implementation Guide (IMG) by choosing Tools ® AcceleratedSAP ® Customizing ® Execute Project ® SAP Reference IMG.
In the Implementation Guide, expand the following hierarchy structure:
Basis
Application Link Enabling (ALE)
Sending and Receiving Systems
Systems in Network
Define Target Systems for RFC Calls
Displaying Destinations
The initial screen for this transaction displays a tree:
Different connection types (i.e. partner systems or programs) are possible. For further information, see Types of Destinations.
To display all information for a given destination, double-click it, or place the cursor on it and press F2 .
To search for a destination, press the Find button and specify your selection. You get a list of all entries matching your selection. Place the cursor on the one you want, and press F2 or simply double-click the destination. All information for the given entry appears.
Creating Destinations
On the destinations overview screen (transaction code SM59), the connection types and all existing destinations are displayed in a tree structure.
All available connection types are explained in Types of Destinations.
To create a new RFC destination, press the Create button. A new screen is displayed with empty fields for you to fill in.
If you want to create a new destination
As you create a remote destination, you can specify a particular application server or a group of servers for a balanced distribution of system load.
For details of the destination parameters, see Entering Destination Parameters.
Changing Existing Destinations
On the destinations overview screen (transaction code SM59), the connection types and all existing destinations are displayed in a tree structure.
You can display all information for a given destination by double-clicking it or pressing F2 on it.
To change an existing destination, double-click it, or place the cursor on it and press the Change button.
For details of the destination parameters, see Entering Destination Parameters.
Testing Destinations
To test a destination, choose the appropriate function from the Test menu.
Connection (also available via the Test connection pushbutton)
Authorization (checks logon data)
Local network (provides a list of application servers)
You can use the CALL FUNCTION statement to call remote functions, just as you would call local function modules. However, you must include an additional DESTINATION clause to define where the function should run:
CALL FUNCTION RemoteFunction
DESTINATION Dest
EXPORTING
f1 =...
f2 =...
IMPORTING
f3 =...
TABLES
t1 =...
EXCEPTIONS......
The field Dest can be either a literal or a variable: its value is a logical destination (for example, "hw1071_53") known to the local SAP System. Logical destinations are defined in the RFCDES table (or the TRFCD table in R/2 Systems) via transaction sm59 or the following menu path: Tools ® Administration, Administration ® Network ® RFC destinations. You can also access logical destinations via the Implementation Guide (IMG) by choosing Tools ® Customizing ® Enterprise IMG. In the Implementation Guide, you can then choose Cross-application components ® ALE ® Communication ® Define RFC destination.
The remote function call concept, for example, allows you to access a function module in an R/2 System from an ABAP program in an R/3 System. If you want to read a customer record from your R/2 Systems database, create a remotely callable function module in the R/2 environment which retrieves customer records. Call this function from your R/3 System using a remote function call and listing the destination for the target R/2 System:
Pls. reward if useful -
How to hide dynamic parameters values in the URL with Reports 6i
Hi,
I want to know a way of hiding the parameters values when asking for a report through the web.
Now I'm using the Reports 3.0.5.8 with a Cartridge defined in the Oracle Web Application Server 3.0.1.0.1. When you ask for a report with the parameters DESTYPE = cache and DESFORMAT = pdf, it is fully generated and in the Address or Location box of the browser, you can see http://webserver/cache/report.pdf (where cache is the virtual directory defined in the OWAS in which the .pdfs are cached). So, users cant see the Url used to generate the report.
Im trying to upgrade this configuration to Reports 6i with Cgi in a web server. I generate reports with no problems. The problem I have is I cant find how to hide the parameters values as before. I mean, when I ask for a report, once its generated I can see http://webserver/cgi-bin/rwcgi60.exe?server=ServerName&report=report.rdf&userid=user/pass@connection&destype=cache&desformat=pdf&P1=value1&P2=value2 in the Location box. It allows user to ask for another report changing the values of the parameters. I use these parameters to execute some query written in the Data Model. For example, imagine that the P1 represents the company id, the user (that is supposed to see only data of its company) can change this id, ask for a new report and see data of another company.
Ive already tried to use the key mapping option, but its not useful to me because the parameters values are dynamic and its impossible to define different entries in the cgicmd.dat for each possible value. The option of loading the parameter form before running a report is not useful to me either, because there exists specific screens for this purpose.
Is there any solution?
Thank you.
Marma Bonfiglio.Hi Rakesh,
I am using BI 7.0
The last option I have is 'Hide' for 'Calculate single values as' .
I have the below options for 'Calculate single values as'
1. Normalise according to Next group level Resul.
2. Normalize according to Overall Result
3. Rank number
4.Olympic Rank Number
5.Maximum
6. Minimum
7.Counter for all detailed values
8.Counter for all detailed values that are non zero
9.Moving average
10.Moving average That is Not zero ,null or Error
11. Hide.
So could you please tell me where i can find 'suppress result' option for the keyfigure .
Many thanks -
How does works default parameters in a program with logical database PNP?
Hi Friends,
I have a basic program, i need to filter info with period parameters in a program that uses logical database PNP, but it doesn't work.
If i use "person selection period" that it's suposed to filter info according to infotype 0001 (as the sap help says), it doesn't work, i use: PNPBEGPS = today and PNPENDPS = today, and the result it's a lot of registers that doesn't meet that criteria.
Also i tried with: data selection period, today, up to day, current month. And the result it's with the same problem.
How does works period parameters in a program with logical database PNP?
This it's the program example, i use the default category.
REPORT ZRPHRTEST.
tables: pernr.
infotypes: 0001.
start-of-selection.
get pernr.
write: pernr-pernr, p0001-begda, p0001-endda.
end-of-selection.
write 'fin'.Hi,
Define pernr table under tables statement then and use GET PERNR event.This get event is followed by End-Of-Selection.
Syntax: Tables pernr.
Get pernr.
Try, activate and test. This should solve your problem.
Regards,
Abhijeet -
How to send input parameters to a file adapter module
Hi all,
i have a requirement like , i need to pick a file from a file server based on a condition. that condition we write in adapter module (in file sender channel).
the condition needs some input , so how can we send input parameters to adapter module.
please suggest me some way,
thanks in advance
jhansihi jhansi,
u define the parameters to send to a module in 'module configuration' (in module tab) by giving the key to identify the module for which u r giving giving the parameters.
for details refer this:
Adapter module
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81
This is all u have to do
http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm
[reward if helpful]
regards,
latika. -
How to define the application parameter 'sap.xss.BaseConfigurationID'
Hello All,
I am developing a webdynpro ESS custom self service application. I have completed the development of the DC. But at the end when I am creating the application for the DC, I am not able to figure it out how to define the application parameter 'sap.xss.BaseConfigurationID' for the application. I have defined remaining all the parameters as specified in the following link.
[http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/3b95dab4ab1800e10000000a1553f6/content.htm]
Could any one please detail the process to define the parameter 'sap.xss.BaseConfigurationID' ?
Thanks a lot.
Regards,
Seshu.Pick a representative file.
Get info. (Command-i)
There you will see a place "Open with" where you can select the application for that file.
Hit the "Change all..." button to do this for all files of this type.
charlie -
How to define a BW/BI system in Portal using BI SAP Query Connector.
Hi,
How to define a BW/BI system in Portal using BI SAP Query Connector.
Portal>System Administration>System Configuration-->Portal Content >New System (from PAR)>com.sap.portal.systems.bi-->
How to retrive the parameters required from a BI 7.0 System.
ThanksHi,
You can refer to this link:
http://help.sap.com/saphelp_nw70/helpdata/EN/c9/b0c8ce704d40fbb18312f8e65b4b0b/content.htm
Hope it will be helpful.
Best Regards,
Assaf Klieger -
How to define a text index in data modeler
Hello,
how to define a text index (indextype is ctxsys.context) in data modeler?
The SQL-command would be:
create index P1_TEXT_BESCHR_SPRACHE on P1_PDM_MODUL_SPRACHE(BESCHREIBUNG) indextype is ctxsys.context
parameters ('lexer global_lexer language column LANGUAGE format column FORMAT STORAGE PDMSTORE')
online
Thanks in advance for any help.
MonikaHi Monika,
After creating relational model, you'll have to create physical one. In physical model there is index properties dialog, where you can adjust context index properties. -
Defining more parameters than a query needs
Hi.
When I run the following code, I get the error "ORA-01036: illegal variable name/number" .
The problem is that I currently define more parameters than the query needs. Thats because I don't know how many bind variables the query uses, and I would not like to parse the query ...
I don't understand why I have to define exactly the same number of parameters, and in the exact order ... It doesn't make sense. As bind variables have names, there should be no problem passing more parameters or parameters in a different order: the binding should be done by name...
I'm currently using Oracle10g, ODP.NET and .NET Framework 2.0.
I would appreciate any help ...
Thank you.
Ricardo Coimbras
===== BEGIN VB.NET CODE =====
Sub Execute_Query(ByVal SqlString as String)
Dim ObjCmd As OracleCommand
Dim DataAdap As OracleDataAdapter
Dim outDsCorpo As DataSet
Dim Constroi_Conn_String_Oracle As String
Dim mObjConnOracle As OracleConnection
Constroi_Conn_String_Oracle = "User ID=uuu" & _
";Password=ppp" & _
";Data Source=bd" & _
";Pooling=false"
mObjConnOracle = New OracleConnection(Constroi_Conn_String_Oracle)
mObjConnOracle.Open()
ObjCmd = mObjConnOracle.CreateCommand()
ObjCmd.CommandType = CommandType.Text
ObjCmd.CommandText = SqlString
ObjCmd.Parameters.Add("p1", OracleDbType.Char, 3, "001", ParameterDirection.Input)
ObjCmd.Parameters.Add("p2", OracleDbType.Char, 3, "001", ParameterDirection.Input)
DataAdap = New OracleDataAdapter(ObjCmd)
outDsCorpo = New DataSet()
DataAdap.Fill(outDsCorpo)
GridView1.DataSource = outDsCorpo
GridView1.DataBind()
DataAdap = Nothing
ObjCmd = Nothing
mObjConnOracle.Close()
mObjConnOracle.Dispose()
mObjConnOracle = Nothing
End Sub
Execute_Query "select * from map.t_mapa_def where mapa_def_cod = :p1 order by mapa_def_cod"
===== END VB.NET CODE =====Hi,
BindByPosition is the default behavior as per the docs, and you can change that by setting cmd.BindByName=true which adds a little bit of extra overhead.
That wont fix the error seen when binding a random number of parameters to the statement though. You need to bind the correct number and types of parameters.
Greg -
How to define the memory leak in stability test
Hi
Usually, we run our system with 70% CPU load for 72 hours for stability test (on solaris 10), because some plugin of our system is using mtmalloc, and we use prstat to monitor the memory of each plugin. But because of the complex memory usage of our application, we don't know when the application will use the Max memory, and because of the "mtmalloc", the memory showed by "prstat" will not released but continually increased.
So fro the test point of view, there is the risk of memory leak, but actually, there may be no memory leak, so my question is how to define the memory leak in such condition.kevin wrote:
Thank you for the input and all the info.
isn't java heap the same as memory allocated to the java process in my weblogic
starup script ?The heap is sized by the -Xmx and -Xms parameters you pass on the java
command-line. The permanent generation is separate.
>
let me also download jprobe and try to run it and see what it gives me.
I'd start by running with -verbose:gc. I'd want to know whether you're
running out of heap or permgen space.
-- Rob
kevin
Rob Woollen <[email protected]> wrote:
Unfortunately memory leaks are not fun to track down even with tools.
I'd first suggest determining whether you're running out of space in
the
permanent area (where classes are loaded), or you've exhausted the java
help space.
I'd start by adding -verbose:gc. Look at the gc messages right before
you hit the OutOfMemoryError. If there's plenty of space left, I'd
suspect you're running out of perm space. Search these newsgroups and
the web for MaxPermSize, and you should see plenty of info.
If you're running out of java heap, tools like jprobe and OptimizeIt
are
helpful. If you can tell me a little more about your application and
how you're testing it, I can offer some more tips.
-- Rob
kevin wrote:
Iam new to JAVA and weblogic. I have an application that runs out ofmemory time
and again.
please let me know how to pin point this problem and moreover, howto interpret
or understand that there is a problem. I have downloaded JPROFILE tool,but it
is very confusing to understand what is goin on in this tool.
If somebody can let me know how to interpret and understand the memoryleak, that
will be great !!!
thank you. -
How to define categorywise charge account in Inventory or Purchasing respon
Hi Oracle Gurus,
Please advise on below Query:
while raising PO, if we select item in puchase order system automatically defaults material charge account from organization parameters.
my requirement is: I want to define charge account sepeartely for each category type ex: bags category one GL account and Computer category one account number, based on category of item account should be charged to respective account.
If I select respective category item system should automatically deafult respective charge account in purchase order.
please advise how to define this charge account cateogry wise and default in purchase order.
Quick responses is highly appreciated.
thanks in advance.Please do not create duplicate threads -- How to define categorywise charge account in Inventory or Purchasing respon
Maybe you are looking for
-
Unable to connect playbook to PC windows 8
I tried all the possiblites and updated with the latest software tried installing and uninstaling & restarted and connected many times but no use blackberry is not replying at all to any mails
-
can i put in a scsdi card in a hp touchsmart 520pc
-
Okay, so I forgot my password and so I restored it through iTunes, it downloaded the update but when it came to restore, I got an alert which said "This iPad could not be restored. An unknown error occured(21)" and my iPad is stuck in recovery mode a
-
How can i test the MaskedTextBox in Unit Testing?
Hi, I am develop one sample, in this i am using MaskedTextBox. Now i want to assign value and test that value. How can i assign value and test that? Regards, Bhadram.
-
I deleted a trace file that grew too large on a pc that is offline. Has been offline since 2012. It uses software to make badges and to take pictures for those badges. The software - I think, is backed up locally with SQL 2005. I know NOTHING about S