Function Module to get ABAP source code for a specific version
Hi all
Is there a function module that I can use to get the source code of another function module at a specific version?
For example, can I call a function module passing in "FM_NAME" and "FM_VERSION" and have it return the lines of code associated with that object?
Thanks in advance.
Stuart
Thanks guys
That's incredibly helpful! I have one more question that I just thought of last night...
Is there a way to hook into the code activation process? I want to be able to take a snapshot of the ABAP source code at each point when it is activated for use in another system, but need to be able to intercept this event and get the source code at that point in time.
Any ideas?
Thanks!
Similar Messages
-
Functional Module:Need some sample source code.
Hi All,
I have created a customized table u2018ZStock_Order_Dealeru2019 with the following fields:
Stock_Order_Dealer
Dealer Number
S2D order Number
Line item Number
Material Number
Ordered Quantity
Batch Number
Received Quantity
S2D from D2G
Receiving Date
I need to create a remote enabled function module in CRM system to fetch the u2018Batch Numberu2019 and u2018Received Quantityu2019 fields when the Material Number is fed to it.Please note that the input and output should be tables.
Could some one please give some sample source code for this.I used table types and select queries to resolve this problem.
-
I need to know the differnece between the Numeric Limit Test between the TestStand version 3.0 to 3.1. If there is any differnec in the source code how to find it out? If somebody has the code can you share it?
Thanks,
JeyanHi,
I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
What has prompted this question?
Regards
Ray Farmer
Regards
Ray Farmer -
How to get full source code for Oracle ADF?
Hi,
I 'm referring to the following URL http://download-west.oracle.com/docs/html/B25947_01/intro003.htm and it has mentioned that full source for Oracle ADF is available :
"Full source for Oracle ADF is available to supported customers through Oracle Worldwide Support. The full source code for the framework can be an important tool to assisting you in diagnosing problems and in correctly extending the base framework functionality for your needs."
Does anyone know how to obtain such information from Oracle support? Is this from metalinkOne possible snag in the process is that you will have some legal paperwork to sign. Depending on your company's policies, this could pose a problem.
Erik -
Function module to get the BOM details for a material-plant combination
hi
Is there any function module to get the BOM details such as
BOM Usage -STLAN
Alternative BOM -STLAL
Items -POSNR
Required Quantity-EMENG
Resulting Quantity-MENGE
Unit of measure -BMEIN
Base unit of measure-MEINS
for a given material-plant combination
if so please suggest me some FMs.................
Awaiting for ur reply..............try the below fm it may be useful for you
DATA : BEGIN OF I_BOM OCCURS 0.
INCLUDE STRUCTURE STPOX.
DATA : END OF I_BOM.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
DATUV = SY-DATUM
MEHRS = 'X'
MTNRV = P_MATNR
WERKS = P_WERKS
TABLES
STB = I_BOM
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
CONVERSION_ERROR = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
just befor use it check your application area.for my case it is PP01. you can find it in CS12 when you are exploding the bom the value you are giving in BOM application that is the value for CAPID.
Just go to se37 and checkout the fm it has lot of options here I am using the minimum things.
regards
shiba dutta -
Function module to get the payment details for PO
Hi,
Is there any standard function modlue to get the payment details for specific purchase order or is there any table where we can get the payment details till date.
My requirement is purchase order wise how much already paid to vendor and what is the balance amount to be paid vendor.
thanks in advance....
Regards,
SreeHello
BAPI_PO_GETDETAIL will help you.
Look at structures PO_ITEM_HISTORY and PO_ITEM_HISTORY_TOTALS
Also you may use table EKBE -
Where can I get the source code for sun classes?
Hello,
When ever you download sun's j2sdk, the archive always contains the source code for the entire sdk in a zip file called src.zip except the sun.xxx classes like sun.awt.print.PrintDialog or sun.awt.font.FontResolver.
For debugging purposes I need, if availabe, the source code of these classes which are not present in the src.zip.
Please can someone tell me if theses classes are available as source and can point me where I can find it cause I am searching for it but can't find it on the net.
Thank you
CarolinHey ChuckBing
And your way is the only way, right? No.What on earth is eating you? Highly sensitive today?
Where is the problem? There are two solutions of the question.
The one link I posted points directly to the sun source download link. The "readme" explains, yippie, the sun sources are contained. Easy, isn't it?
With the other one, you have to navigate at least through two other pages before you might find the link and only if you recognize that "Download JDK 5.0 source via SCSL/JRL" means the sun source code and not the sources contained in the JDK download. This is what I thought as I've seen this link the first time. Unfortunately there is no "readme".
I prefer the easy way, I dont want to earn a doctorate. Ok, you can say dont "play the woman", but I'm a woman and a blonde too;-)
But, let us stop the idle discussion here, please!
Nevertheless, thanks to you and [email protected] for answering. -
Function module to get GR IR details for Purchase Order
Hi
Is there any function module available in SAP to get the list of Goods Received and Invoice Reciept for a purchase order.
One way to create a custom fuction to fetch the details from MSEG and BKPF.
Can somebody suggest a better solution.
Thanks in advance.
Ruhi HiraHi,
u can get the GR/IR Information from purchase Order history table EKBE..The field VGABE will contain value for GR/IR as '1' and '2'.
Regards,
Nagaraj -
Function module to get actual salary paid for a particular period
Hi All,
I have a requirement to build a report on the monthly superannuation contributions the company makes to the employee [Australian Payroll], along with a few other information. We are on a weekly payroll and make super contributions once a month.
Is there any Function module or table that stores the pay results for a period [from which I can calculate the superannuation amount] or superannuation pay ?
Or is there an alternative way of approaching to get the information ?
Thank you,
SatishI used table hrpy_rgdir to get sequence number for the given pernr, payroll area and dates.
Using the sequence number, I am calling Function PYXX_READ_PAYROLL_RESULT to extract the payroll results.
SELECT * INTO CORRESPONDING FIELDS OF TABLE it_hrpy_rgdir
FROM hrpy_rgdir
WHERE srtza = 'A'
AND paydt IN sopaydt
AND abkrs IN soabkrs
AND pernr IN sopernr.
LOOP AT it_hrpy_rgdir.
PERFORM get_rt USING it_hrpy_rgdir-pernr it_hrpy_rgdir-seqnr.
ENDLOOP.
*& Form get_rt
* text
* -->PERNR text
* -->SEQNR text
FORM get_rt USING pernr seqnr.
CLEAR: it_payroll_result.
CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
EXPORTING
clusterid = 'RQ'
employeenumber = pernr
sequencenumber = seqnr
CHANGING
payroll_result = it_payroll_result
EXCEPTIONS
illegal_isocode_or_clusterid = 1
error_generating_import = 2
import_mismatch_error = 3
subpool_dir_full = 4
no_read_authority = 5
no_record_found = 6
versions_do_not_match = 7
error_reading_archive = 8
error_reading_relid = 9
OTHERS = 10.
ENDFORM.
For any period, the function module just returns sy-subrc = 6 [no_record_found].
We are on Australian Payroll. Could you please let me know what I might be missing or is there an alternative way of getting the information ?
Thank you -
Function module to change the reason code for status in a Opportunuity/lead
Hi,
What is the function module to change the opportunity reason. I was able to change the status using the crm_order_maintain but How can I change the reason for that opportunity.
Thanks
naveenYou can use CRM_ORDER_MAINTAIN and populate the parameter IT_SERVICE_OS
or use BAPI_OPPORTUNITY_CHANGEMULTI and populate the parameter SERVICE_OS.
BR,
Florin -
Function module to get list from CDHDR for MATERIAL
Hello,
I am searching for the function to get a list of CDHDR-entries for a material in transaction MM03.
My debugging was not successful. So I hope someone here has the answer.
What is the name of the function that SAP uses in TA MM02/MM03 to get the list of CDHDR-entries for a material number and from where (include) is it called?
I found already the function to get the related CDPOS entries, starting from the list with CDHDR entries in the transaction.
This is CHANGEDOCUMENT_READ_POSITIONS.
But here I am definitely too late, because I am searching for the reasn why one of my changes entered in CDHDR is not selected!
Thank you in advance for the answer!
Best regards
DirkHello Suhas,
yeah, I used MM04 from your answer and found the same!
Thank you! This will help me!
It is PERFORM relevanz_pruefen
called after the FM which kills some of my entries.
Now I can find a solution for my issue!
Best regards
Dirk -
Could not find source code for Storefront application of CRS in ATG 10.0.1
Hi All,
I am trying to find the source code of Storefront application of CRS in ATG 10.0.1. This is needed to try all the multi-site features in the default website first before doing the same on our application. I want to create a similar setup like MotorpriseJSP application on ATG 10.0.1.
Let me know if there are any options to get the source code for storefront app.
Thanks,
Kishore Kumar.Hi
You can find the source code for the CRS applicaiton under
ATG10.0.1\CommerceReferenceStore\Store\EStore\src
Thanks
GS -
Function Module to get Old materials
Hello,
Is there any function module to get all old materials for a material from MARA?? There can be many old materials for a material
If not, What logic should I apply to get all old materials?
Thank you.
APBISMIT will only give one lastest old material. But the this old material can have numerous other old materials.
AP -
Function module to get vendor-CNPJ by vendor number
Hello SAP Experts,
Is there any function module to get vendor CNPJ number (For Brazil) by vendor number? If not, is there any alternative to get the CNPJ by vendor number?
Thank you,
Magesh.Can you check below FM
J_1B_NFE_IN NF-e incoming
J_1BNFE_GET_CUSTOMER_FROM_CNPJ Derive vendor from CNPJ
J_1BNFE_GET_ORGDATA_FROM_CNPJ Derive company / plant from CNPJ
J_1BNFE_GET_VENDOR_FROM_CNPJ Derive vendor from CNPJ -
Html code(source code) for a web page
hi all
i want to get the source code for a web page throgh
my java program .please can you tell me how to do it.
thanksgive this a try.
import java.awt.*;
import javax.swing.*;
import java.net.*;
import java.io.*;
public class JApplet1 extends JApplet
public void init()
getContentPane().setLayout(null);
setSize(470,391);
JButton1.setText("google.com");
getContentPane().add(JButton1);
JButton1.setBounds(12,12,120,24);
getContentPane().add(JScrollPane1);
JScrollPane1.setBounds(12,48,444,336);
JScrollPane1.getViewport().add(JTextArea1);
JTextArea1.setBounds(0,0,440,332);
SymMouse aSymMouse = new SymMouse();
JButton1.addMouseListener(aSymMouse);
javax.swing.JButton JButton1 = new javax.swing.JButton();
javax.swing.JScrollPane JScrollPane1 = new javax.swing.JScrollPane();
javax.swing.JTextArea JTextArea1 = new javax.swing.JTextArea();
class SymMouse extends java.awt.event.MouseAdapter
public void mouseClicked(java.awt.event.MouseEvent event)
Object object = event.getSource();
if (object == JButton1)
JButton1_mouseClicked(event);
URL u;
URLConnection conn;
InputStreamReader in;
BufferedReader data;
String line;
StringBuffer buf = new StringBuffer();
void JButton1_mouseClicked(java.awt.event.MouseEvent event)
try{
u = new URL("http://www.google.com");
conn = u.openConnection();
in = new InputStreamReader(conn.getInputStream());
data = new BufferedReader(in);
while((line = data.readLine()) != null)
buf.append(line + "\n");
JTextArea1.setText(buf.toString());
}catch(Exception e){}
}
Maybe you are looking for
-
Is there a way to play to 2 blue tooth devices at the same time?
is there a way to play to 2 blue tooth devices at the same time from my ipad?
-
Camera roll empty but shows 6.1 gb. Restored to original settings after backing up. When I restored the backup camera roll still shows 6.1 gb and is still empty. I imagine that the backup contains some corruption
-
Alerts with variables from the messages payload without BPM?
Hi, experts: Is it possible to define a alert category with variables from the messages payload(for example:order_id ) without BPM? Regards Yu Ming
-
Hi everybody, on this forum i cannot find a procedure to manually delete a DB. I've got 2 database installed on a Linux server and i'd like to get rid of one.. What can I do to completely delete a database? I haven't got any utilities (like dbca).. H
-
Hello, I am trying to create a series of scripts to be used in a template that add/insert formatted text at a cursors location. So far, I have created the following script: app.selection[0].paragraphs[0].insertionPoints[0].contents = 'Voiceover' This