Parameters RCVPFC and SNDPFC in function module MASTERIDOC_CREATE_CLFMAS
hi ,
I am using the function module MASTERIDOC_CREATE_CLFMAS to trigger the idoc CLFMAS ,
While exporting parameters to this function i need to pass RCVPFC(Partner function of receiver) and SNDPFC(Partner function of sender) but i cannot understand what to pass in these parameters.
Can anybody tell me what are these parameters.
thanks,
loveena.
have a look at this
http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/frameset.htm
My R/3 Source System got in-Activate....... How do i get it Activate..?
Regds
Abhishek
Similar Messages
-
Calling and executing a function module in the Portal iview development
Hello Portal development gurus...
I am very new to portal iview development and am learning a lot of stuff.. I now have a requirement to do the following:
1. I need to use the NWDS to create java code in developing an iview
2. I need to call and execute a function module and display the parameters pulled in from the function module onto a Jsp.
3. I need to create an iview based on this deployed component.
Could anybody please explain me how to do the coding on this front?
I appreciate if anybody can share documentation about this kind of a development.
As always, points galore for useful and helpful suggestions.
Regards,
~~~LBHi,
Firstly Have you searched in SDN for the same, anyhow please go through the link to work on the requirement
[/docs/DOC-8061#15|/docs/DOC-8061#15]
Go through the thread which will talk in detail
[https://forums.sdn.sap.com/click.jspa?searchID=19551584&messageID=6348955|https://forums.sdn.sap.com/click.jspa?searchID=19551584&messageID=6348955]
Hope this helps.
Cheers-
Pramod -
Guidence regarding creating a test data and running any function module
hi pals,
can you plz tell me how to create a test data, commit and run any function module, in details(step wise) ??Hi yawmark,
I appologise for including a poor code example ealier on, i had to come up with something quick. I will however, visit the sugeted sites you mentioned, thank you.
I did however, create a simple class that compiles and can be used to set, return, reset and print a few details about a person. I hope that is of better use than my previous example. here it is:
public class SimplePerson {
int age = 0;
String firstName = "";
String lastName = "";
/** Creates a new instance of SimplePerson */
public SimplePerson() {
/** Sets the age of this person */
private void setAge(int takeAge){
age = takeAge;
/** Returns the age of this person */
private int getAge(){
return age;
/** Sets the First Name of this person */
private void setFirstName(String takeName){
firstName = takeName;
/** Returns the First Name of this person */
private String getFirstName(){
return firstName;
/** Sets the Last Name of this person */
private void setLastName(String takeName){
firstName = takeName;
/** Returns the Last Name of this person */
private String getLastName(){
return firstName;
/** Resets the details of this person back to back to
* the default form.
private void resetAll(){
age = 0;
firstName = "";
lastName = "";
/** Prints all the details this person has */
private void printAll(){
System.out.println("Age: " +Integer.toString(age)
+ "\n First Name: " + firstName
+ "\n Last Name: " + lastName );
}Cheers mate -
Custome BAPI - declare ITAB and define the Function Module and Subroutine
Hello Experts
I want to create a Custom BAPI and it has the following scenario:
1) a Function Module which collects some records into it internal table, say ITAB
2) a Subroutine which moved the records from ITAB to BAPI table
Now, I want to declare ITAB and define the Function Module and Subroutine.
Where and How can I do this?
Plz suggest.
Regards
BDHi,
1) Got to SE37 and create an RFC .
2) Declare the ITAB directly in the TABLES tab of the FM.
3) Inside the FM source Code tab, collect all the data using SELECT query and directly or by using logic, put the data into the
ITAB.
4) Since the data collected is directly put into the itab you dont need a subroutine to be written.
5) If subroutine is a necessity, then just write PERFORM SUB ROUTINE NAME.
AND DEFINE THE FORM ENDFORM OF THE SUBROUTINE AFTER THE ENDFUNCTION OF THE FM
Let me know if any issues....
Regards,
Vimal. -
Difference between BAPI Function Module and Remote Enable Function Module
Dear Experts,
I want to know the main difference between BAPI Function Module and Remote Enable Function Module ?
One main difference that I know is BAPI FM are declared in Methods of Business Object ie BAPI are methods of BOR where as Remote Enabled FM are not. What are other differences? Is it possible to convert a Remote Enable FM to BAPI FM .
regards
ManishHello,
Did u create any ZBAPI?
The Procdure for Creating the Customer BAPI is Create a Remote Enabled Function module and then goto the tcode BAPI.
Once u go in to that just take the Project tab and enter the details.
by this way u can create a Customer BAPI.
With Regards,
Sumodh.P -
Hi all ,
could anyone tell me what is the use of following two Export parameters in function module CONVERT_TO_LOCAL_CURRENCY and why they are used for ,
1. FOREIGN_FACTOR (Factor for the foreign currency units) and
2. LOCAL_FACTOR ( Factor for the local currency units ) .Hi Ramya ,
Thanks for your reply . But i would like to know what is the use of those two parameters and in what calculation it is used.
The value which is to be converted is passed through 'foreign_amount ' parameter and it is returned after convertion by
'local_amount ' parameter in the function module 'CONVERT_TO_LOCAL_CURRENCY' . Other than this if we want to change the currency of another variable which is not passed to this function module how can i do it ? Is it enough if i multiply that variable with the FIXED_RATE parameter which is returned by this function module as its value is same as exchange rate or do i need to
use FOREIGN_FACTOR and LOCAL_FACTOR also for this calculation?
Edited by: archana_nayak on Apr 25, 2010 9:52 AM -
Problem with String parameters while Calling RFC enabled Function Module
Hi all,
I execute BAPI(RFC enabled Function Module) from my WebDynpro Application and retrieve data from R/3.
To fetch the data I pass few String parameters to BAPI from my Dynpro Application.
Now the problem is that while making this call, the parameters are automatically converted to UpperCase. And I want those parameters in the original case at R/3.
I am not able to find out whether this conversion occurs at Dynpro side or R/3 Side.
Should i configure my BAPI(RFC enabled Function Module) or is there some option on the Dynpro Side to preserve the Case of the String?
Please help me.
Thanks,
DarshilHi Darshil,
I'm not sure whether you have experience with ABAP or you are a Java Programmer, but we cannot set that flag permanently.
Now, if you are saying that the domains are marked with the <i>Lowercase</i> attribute, then it means that the final table field will be capable of holding Case Sensitive data.
I have a hunch that the case-conversion is happenning at the Web-Dynpro side. Or, the application logic converts the string to UPPERCASE explicitly.
By the way, which BAPI are you talking about ?
Regards,
Anand Mandalika. -
What parameters should I pass to function module CHARACTERISTIC_VALUE_GET
Hi all,
please give the details about the function module "CHARACTERISTIC_VALUE_GET",
In import parameters
I_APPLC
I_TABNM
I_REPID
is coming and I don't know what value I put in it to run it.
thanks in advance.
manoj.Hi PG ,
Both excel and word formats are Microsoft propertiery formats , so you cannot use a "x-string to string" FM to covert them to string because , the data in them is not exactly in xstring formats.
There are many threads on this topic..you should be able to find them.\
Here is one such thread [link|Re: Can plain text be extractted from word doc in OfficeControl?].
Thanks,
Aditya.
Edited by: Aditya Karanth on Nov 12, 2010 12:56 PM -
Difference between BAPI and remote enabled function module
Hi!
what is the difference between remote enabled function module and
BAPI.
How do we use remote enabled function module .
thanks
AmitPlease search the forum before asking basic questions.
-
Comparing OO ALV and ALV using Function modules
Hi All,
Please provide me what are the advantages of developing ALV using Objects compared to creation using function modules. What are the disadvantages of creating using the conventional FM way.
I have not worked much on ALV using Function modules, have been developing using standard abap classes. I wanted to have an detailed understanding and differences between the two.
Please provide your views on the same.
I have searched SDN forum, but didnt find much information, so it will be of great help if you provide some inputs.
Thanks & Regards,
Navneeth K.Hi, Navneeth,
With ALV functions, you can everything that you would do otherwise with the OOPS ALV. However , I don't think you can possibily have more controls in case of alv function because it occupies the entire screen and the function only calls 2 screens internally ( screen numbers 500 and 700 (for popup alv)).
But with OOPS on the other hand, you can have many controls on one screen, for example, you can have 2 ALV lists, or a splitter control with one of them having a Tree control and the other alv grid/list, pictures etc.
So the sole motive of the function is if you want to display a list, but when developing a serious application, I would go for OOPs ALV.
regards,
Advait -
BOM and PM Assy Function Modules
Hi.
I need to fetch some data related to BOM and PM Assembly and display in ALV, where I want to use FM, but Im not sure which FM I can use as there are many FMs when i searched in SE37, Im giving the list of required output please give me name of FM or guide me how can I find appropriate FM:
1-Materials assigned to BOM
2-Materials not assigned to BOM
3-Functional Location and equipment BOM
4-PM assemblies with out materials assigned
5-PM assemblies with materials assigned
6-PM assy not assigned to FL, Equipment or Task list
7-PM assy assigned to FL or Equipment
8-PM assy assigned to Task lists
9-All PM assy
Thank you in advance.Hi Shiva
I had already found around 14 fields from CS_BOM_EXPL_MAT_V2, and CSS4 FG also.
Can you please let me know how can i find a RELEVANT funtion module, in the sence, now i want to find function module for Functional Location and Task List so which function group i should check? -
Web Dynpro Java Internationalization and backend ABAP function modules
Friends,
I have a requirement where I want my Web Dynpro Java application to support BRAZIL and CHINESE.
I have been through the sample programs and tutorials and I understand how to support my application in these 2 languages. The challenge I am facing is how to communicate the language to the backend code (ABAP function modules) so that the function modules can written language specific error messages and texts.
I searched SDN but could not find anything. Your help is appreciated.Prashant,
When you are configuring JCo connection in WebDynpro Content Administrator, just left language settings blank for metadata connection (you may do the same for data connection). Now WD will supply language of currently logged-in user when obtaining connection settings from system landscape and you'll get necessary functionality.
By default locale of user determined by parameter sap-locale (sap-locale=de_DE for example), settings of user's browser and lastly preferences of user stored in UME.
Btw, BRAZIL (or Portugees for this matter) is not fully supported language by SAP, so R/3 side may be not translated or partly translated.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
What's needed to qRFC enable (and call) a function module?
Hi people,
I have a function module that I want to call using qRFC. However, I'm not sure how to go about this. What i can find in documentation is the following:
- function module needs to be RFC enabled (of course)
- function module needs to be called in update task
However, I have the feeling there should be more to it than just this. Can anyone point me in the right direction?
Thanks,
RI guess you will have to make use of the following function modules to define the queue name:
TRFC_SET_QUEUE_NAME
TRFC_SET_QUEUE_RECEIVER_LIST (inbound queue)
TRFC_SET_QUEUE_NAME_LIST (outbound queue)
Also, the call would be like
call function u2019Z_QRFC_FUNCTIONu2019
destination 'DESTINIATION'
in background task ( as separate unit )
exporting ...
tables ...
etc...
Also, you can check this link
http://help.sap.com/saphelp_nw04s/helpdata/en/62/73241e03337442b1bc1932c2ff8196/content.htm
Hope this helps. -
E-Recruitment and Questionares (Standard function modules)
Hi,
On HR E-Recruitment I am trying to get a function which I can used to read answers from a given questionnaire. For example for every candidate applying for a requisition/position I want to be able to find which questionnaires they have completed and what answers they have given to a given question. I am hoping that there is a standard function for this. please point me in the right direction.
If there is no standard solution have any one of you guys done this sort of thing before.
Regards and many thanks in advance for your help.
Andy.Hello Tania,
using class cl_hrrcf_qa_bl is really the easiest way as otherwise you would have to read quite a number of tables. I have never had any substantial troubles w/ this class. You might either have not passed the correct parameters or miss some overall configuration, e.g. no candidate for your user.
Best approach here is in my opinion to check what the cx_hrrcf exception tells you. If you cannot see this in the debugger just add the following to your test program.
DATA:
lr_exc TYPE REF TO CX_HRRCF.
TRY:
* your code
CACTH cx_hrrcf INTO lr_exc.
cl_hrrcf_exception_handler=>write_exception_log( ex = lr_exc ).
ENDTRY.
This will write the error to the application log where you can check it in T-Code SLG1.
Best Regards
Roman
Best Regrads
Roman -
'Control parameters' when call the smartform function module
Hi all,
I want to know what we have to export as value to control papameter while calling the fm of smartform.
Plz also let me know the various parameters in CONVERT_OTF.
Thanks in advance.WA_CONTROL_PARAMETERS-GETOTF = 'X'.
the above is needed if you want OTF data, to convert it to PDF
WA_CONTROL_PARAMETERS-LANGU = 'E'.
Language of smartform
WA_CONTROL_PARAMETERS-DEVICE = 'PRINTER'.
*default o/p device
WA_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
if you dont want the pop up screen , that asks you for printing make the value as 'X' .
other wise make it as space or clear it.
WA_CONTROL_PARAMETERS-PREVIEW = SPACE.
if u want the print preview , make it as 'X' , otherwise SPACE
Below code shows how you can convert the OTF data to PDF data.
calling the smartform.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'Z_SMARTFORM'
IMPORTING
FM_NAME = WF_FUNCMODULENAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
CALL FUNCTION WF_FUNCMODULENAME
EXPORTING
CONTROL_PARAMETERS = WA_CONTROL_PARAMETERS "Control Params
OUTPUT_OPTIONS = WA_OUTPUT_OPT "Output Options
WF_CARRID = WF_CARRID
WF_CONNID = WF_CONNID
WF_FLDATE = WF_FLDATE
IMPORTING
DOCUMENT_OUTPUT_INFO = WA_DOCUMENT_OUTPUT_INFO
JOB_OUTPUT_INFO = WA_JOB_OUTPUT_INFO
JOB_OUTPUT_OPTIONS = WA_JOB_OUTPUT_OPTIONS
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
ARCHIVE_INDEX = WA_ARC_IDX
IMPORTING
BIN_FILESIZE = WF_NUMBYTES
TABLES
OTF = WA_JOB_OUTPUT_INFO-OTFDATA[]
DOCTAB_ARCHIVE = TB_DOCTAB_ARCHIVE[]
LINES = TB_LINES[]
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3.
Maybe you are looking for
-
Iii m nt able to conect my i phone 5 to my laptop
hello guys plsss let me know how to connect an apple i phone 5 to my laptop ii m getting trouble in connection it doesnot show any sign of connection nd it is also not charging when i plug the code into laptop
-
Using ModelsUnderRay Collision detection
Ok first things first. I know you guys who have been reading my other post is going to get confused after reading this post so let me make myself clear. First yes I was previously trying to Havok, but I could not get my car to work with it. So This i
-
Hi Gurus, I need some clarity in Vendor Foreign Payment. We booked vendor invoice for $100 @ Rs.45 In our books we made payment of $100 that time rate is Rs 46, system automatically took Rs 1 to exchange rate fluctuation Now when bank made the paymen
-
All of the demo EJBs that use BMP won't commit their chainges. Even the transactional beans that use a UserTransaction actually never get commited to the database. What causes this? I not the examples but the database is causing this behavior to any
-
Error in creating an Oracle WebLogic Server domain
Hi Everyone, Am getting this following error when I tried to create a Weblogic Server Domain,Kindly help.I displayed the screen shot below,