How to refer to the class in regular functional module
Hi ABAP guru's
I wish to get details of GET_REQUID parameter of method IF_RSBK_REQUEST_GENERAL that is available in
class CL_RSBK_REQUEST.
I am writing a ABAP function module and I wish to use this class in that function
module. Can someone help to write this code on how to read value of GET_REQUID in my function module?
Thanks for your help in advance
Ag
Hi Allgon,
welcome to the SAP Community Network. I hope you become a valuable member by contributing regularly.
You need to appreciate a few things.
Firstly read Welcome and Rules of Engagement.
It includes the following suggestions...
Please...
- Use the correct or most appropriate forum,
- Do not cross-post or multiple-post, and
- Search for information before asking basic questions, again.
Cheers
Graham Robbo
Similar Messages
-
How to refer to the class in the regular function module
Hi ABAP guru's
I wish to get details of GET_REQUID parameter of method IF_RSBK_REQUEST_GENERAL that is available in
class CL_RSBK_REQUEST.
I am writing a ABAP function module and I wish to use this class in that function
module. Can someone help to write this code on how to read value of GET_REQUID in my function module?
Here is ny sample code which is not working--
l_r_request_main = cl_rsbk_request->N_REQUID
l_r_request = IF_RSBK_REQUEST_GENERAL->GET_REQUID( ).
catch cx_rs_not_found.
continue.
call method l_r_request->get_tstate
exporting
i_check_if_active = rs_c_true
receiving
r_tstate = l_tstate.
Thanks for your help in advance
AgHi anjali,
Tables are like multi line containers ,which can act as both import and export parameters .
means,the data in the table can be used by the function module during its execution and the same table can be populated with result after the fm execution .
you can also refer :http://help.sap.com/saphelp_erp60_sp/helpdata/en/d1/801ece454211d189710000e8322d00/content.htm
Regards,
Krishna. -
How to take back the control from RFC function module to calling program
Hi,
In our system landscape, more than 200 child systems are connected to Solution manager(SMP). I have copied a RFC enabled function module into all the child systems and calling that FM from Sol Man in sychronous mode.
Here goes my code in SolMan.
LOOP AT it_dest INTO wa_dest.
CALL FUNCTION 'Z_GET_LOGIN_DETAILS' DESTINATION wa_dest-rfcdest
EXPORTING
date_fr = s_date-low
date_to = s_date-high
TABLES
tab_data = it_val
EXCEPTIONS
communication_failure = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc EQ 0.
* Updates zuserlogon
MODIFY zt_logon_det FROM TABLE it_val.
COMMIT WORK.
WRITE:/'RFC for Destination', wa_dest-rfcdest, 'succesfully updated.'.
ELSE.
WRITE:/'RFC for Destination', wa_dest-rfcdest, ' failed.'.
ENDIF.
ENDLOOP.
Few child systems are very slow & takes more than 20 minutes(Many of the times system hangs) to return the result. But I should not wait for so long. Even if the child system doesn't return any values in 5 minutes I shoud continue with other system ignoring the current one.
I tried calling the FM in asynchronous mode(STARTING NEW TASK) but no success because only 6 DIA processes possible but as I said I have more than 200 systems connected to SolMan.
Please help me resolving this problem.
Thanks,
PrathapIf there are only few child systems with bad response time, use asynchronous call using a CALL FUNCTION func STARTING NEW TASK task DESTINATION dest PERFORMING subr or CALLING meth ON END OF TASK. Count asynchronous calls still running/waiting (increment a counter when creating a task (not the one used for task id). In the form/method performed at end of a call decrement the counter. When counter is lower than a limit, 4-5 if 6 processes (*), perform an asynchronous call else perform a synchronous call or wait until the counter falls below the limit.
Regards,
Raymond
(*) Use SPBT_INITIALIZE at start of program to get actual number of free/available processes. -
How can I hide the class file ??
Hi !
I has a question, when i write a program of Java, then use the command "javac" to compiler to class file for other people using, but the class file can be disassembled and convert to source code. How can I hide the class file and let people can not disassemble, or can not see the source code. ThinksSee these....
http://www.saffeine.com/
http://www.jarsafe.com/
I recently read this. This will help you.
http://developer.java.sun.com/developer/qow/archive/160/index.jsp
Enojy....
Rajesh -
How to access all the classes in a jar file
hai
i have a custom built JAR file which has many classes(Translets) in it . i want to access the classes inthe JAR file in a JSP page or an servlet. I have tried setting the classpaths etc , but nothing has happened.
Where should the jar file be Palced - i am using Tomcat Server.
How Can i Access the class files .. Very Urgent .. Please Help me ..
Peter IyerWhat is showing a file not found error? The web browser? if so, that's probably not a problem with the jar file.
Also, have you expanded your jar file to make sure that you jarred it up correctly? -
How SAP standard run the interest calculation in AR module
Dear expert,
would like to seek for your advise, how SAP standard run the interest calculation in AR module ?
Also advise,does the interest calculation generate the interest base on the dunning run?What are relationship between interest calculation generate ?
What are the T-code for running the interest so that able to generate the interest posting according to baseline due date?
On top of that, does SAP have standard AR interest calculation report and what are the T-code ?
Between, do you have any ideal the Interest Indicator ZB stand and reminder date it is the last reminder date,waive,KIV and charge Interest and also noted item amount mean for in the AR Interest Calculation report?
Please help.
Regards,
KarenHi,
Thank you for the promtp reply.
I still have query would like to seek for your advise.
1.Does the interest calculation generate the interest base on the dunning run?For example, the interest is only can be post/generated when there is dunning run and vise versa.
2.What are relationship between interest calculation generate ?Does interest generation depand on the dunning run?
On top of that, does SAP have standard AR interest calculation report and what are the T-code ?
3.Between, do you have any ideal the reminder date it is the last reminder date,waive,KIV and charge Interest and also noted item amount mean for in the AR Interest Calculation report?
4.For posting use F.2B and that will calculate interest on open items of customers. Does this posting is post as noted item or posting document? Beside, do we every day need to run this posting F.2B in order to update the AR interest calculation report and post the interest for the overdue invoice?
5.Do you have any reference link/document /SAP notes on calculate interest on arres F.2B?
a)How the program calculate those overdue invoice for example: does sap calculate the interest base on interest + due amount until the customer made the payment?
b) If customer made payment on the due amount and not the interest and vise versa? How theF.2B program logic work on the calculation ?
Please help.
Regards,
KH -
How can I get the name of a output module template
Hey guys,
SDK newbie here.
How can I get the name of every output module template?
Thanks
Zhiqiang LiOk. Bravo
Please mark this as 'Answered' - it will help others on the forum - -
How do I turn the icloud back up function on my ipad
how do I turn the icloud back up function on my ipad
To turn on iCloud backup, go to Settings>iCloud, sign in with your Apple ID to create your iCloud account if you don't have one yet, then tap Storage & Backup and turn on iCloud Backup.
-
How to change the status of the system programmatically with Function Module
I Was trying to change the status of the notification through STATUS_CHANGE_INTERN function module . But It is not changing the status of the notification.
Can any one help to understand what is going wrong ... or any other function module to change status of Customer complaint notification ..Hi KK,
Please can you take clues form the below discussion thread -
http://scn.sap.com/thread/775169
Thanks to all original contributors of this thread!!
NOTE: Please note that the main point explain here is that, if you are willing to change to a status Ex, NOPR, NOCO, etc then you will need to pass on the value 'I0070', 'I0072', etc. I will also go ahead and like to add one more point here to make the language check as well like "EN", 'DE', etc as these statuses are language dependent too.
Thanks,
Arijit -
How to upload Excel file in BI using function module in abap program
How to upload Excel file in BI using function module in abap program?
Hi Anuj,
To upload the file , you can try a standard program "RSEPSFTP" .
while you execute the program , a selection screen appears in which the inputs should be give as
RFC destination - The target server name
FTP command- PUT
local file - your file name
local directory - path of your local file
remote file - your target file name
remote directory - where it has to be stored
Hope this is useful for you
Thanks & regards
Anju -
What are the input parameters for Function Module
Dear Experts,
I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources.
For that i want to write a Generic Datasource with Function Module.
audat
bukrs
vkorg
vtweg
spart
aurat
auart
netwr
mwsbp
kschl zedp(consition type)
kschl zvat(condition type)
ksch zcst(condition type)
matkl material group
Here what are the Input parameters for Function Module.
Thanks in Advance.
Srinivasan.Srinivasan-
For creating a Generic extractor based on a FM, you first of all need to know what is going to be your structure.. i.e. what all fields you need to pull from what all tables. A functional consultant may help you identify the exact DB tables.
Once you know them, hand over the requirement and the pdf mentioned by Krishna to the ABAP guy, he would be able to take this up further.
Also decide 1st whether you would be using a full load or delta. There is a slight difference in the way they are built.
Let me know how it goes.
-Bhushan. -
Howt 2 delta with the extractor created on Function Module..
hi there,
can anybody tell me how to update delta with the extractor created on Function Module..
rgds,
amolrefer to the document at the below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
Generic Extractor using FM with Delta Logic
hope it helps,
rgs,
Parth.
Edited by: Partho Mukherjee on Jan 12, 2009 6:00 PM -
How to Create Customer by BAPI or by Function Module
Hi all,
I am new to this forum...
Please can anyone tell me how to Create Customer by BAPI or by Function Module.....?
I have tried many of the function modules posted in the threads.. but it couldn't help me out...> The only official solution is batchinput and idoc (CREMAS).
Note that when an IDoc exists, it is often possible to call the function module that is just behind it (see WE57 transaction). SAP would not support that direct call, but if you need to contact SAP support about an issue, you can create the IDoc manually and there's no reason that this issue doesn't arise.
The only difference with the IDocs is that you don't have any IDoc stored in the database, and even no log in database (so you won't be able to see anything in WE02, etc.).
Note that it is important to know if this function module does a database commit or not: you can look at the BDFG transaction (I assume there's no BAPI related as it is the initial assumption of my post) to see if IDoc packet processing is allowed or not: if packet processing is allowed, there's no database commit in the function module, otherwise there's one. -
Storing the output of a function module into a custom table
Hi Gurus,
Is it possible to store the output of a function module into a custom table.How can this be done?Is it complex?hi,
After u execute the FM and get values in the internal table ITAB_RESULT. Create a custom table having structure same as ITAB_RESULT call it ZRESULT.
data :wa type ITAB_RESULT.
call FM and get result it ITAB_RESULT
loop at itab_result.
move-corresponding itab_result to wa.
insert wa to ZRESULT.
endloop.
Regards,
Mansi. -
Delta Problem while extracting the data by using function module
Hi Experts,
I have extracted the data by using Function module, for delta loads I have given Calday and additive delta in Generic delta settings, in BW side I have initialized the data after that I have given delta update option in infopackage and I made process chain also, every day process chain is running successfully but it is showing zero records, but there is a data in Data source (RSA3), means delta is not working.
What is the problem,
Is there any another settings for delta loads,
Please help me to do this,
Helpful answer will be appreciated with points,
Regards,
VenkatHi,
Try this delta type :NEW STATUS FOR CHANGED RECORDS.
More information from Nagesh, this information may help
1. New status for changed Records.
2. Additive delta.
New status for changed records means
New Order
order no quantity
1000 10
order changed to quntity 8. then 2 records will posted 2 BW in first case.
1000 -10
1000 8
if you come to Additve delta.
for the same case it will send the same record as
1000 10
changed records
1000 -2
this is the difference. New status with changed records should be used only in association with ODS not cube becoz we don't have overwrite option.
Additive delta we can use for ODS and Cubes with update mode Addition.
Regards,
Satya
Maybe you are looking for
-
Error while creating pd infotype
Hi friends, I am creating PD infotype which is having same structure as 1002.here i copied module pool program of 1002 to my infotype and there i made changes to fields.when i am running it in pp02 transaction it is giving runtime
-
How to create sales order with configuration?
Hi, all! I'm trying to create sales order with multi-level BOM's explosion using BAPI_SALESORDER_CREATEFROMDAT2, but with no success. Scanning and following ton's of OSS notes and already posted answers in this forum regarding configuration in sales
-
Can Logic Pro 9 and ProTools 9 get along?
I have been using Logic Pro for several years now. I recently bought a version of ProTools 9. Will both of these programs coexsist together on the same Mac without creating problems for each other? Do I need to run them on different computers? I know
-
Is it possible to send SMS through java
Hi all I m a student and as a part of my project I need to create an SMS server(SMS gateway). Can we send SMS through Java and if yes then send me the code for the same . Also on which GSM Modem will it Work , I've heard about Nokia GSM Modem N32. Ki
-
T. Code J1ID - Display Only
Hi Gurus.... When we execute T. Code J1ID, in it we can change everything....like Permanent Account No...etc.. But I want it...Display Only.... It has another T. Code for it....or any idea for it... Plz Help.... Edited by: Prince Kumar on Feb 12, 200