HR Functional Module Help
Hi Experts
how can i get the HR data for current year ,uptoday and fromtoday. can anyone please supply for me functional module names .
Thanks & Regards
Rags
Hi reddy
i could not use that one coz i am working on OM (Orgnisationa management). i am using infotype 1001 for the output and table hrp1001 . please see the code below and change it . please help me . check the case when 3 , 4 ,5 and 6.
*& Form data_selection
text
--> p1 text
<-- p2 text
FORM data_selection .
case date_selection .
when '1'.
pchbegda = sy-datum.
pchendda = sy-datum.
when '2'.
CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
EXPORTING
IV_DATE = sy-datum
IMPORTING
EV_MONTH_BEGIN_DATE = pchbegda
EV_MONTH_END_DATE = pchendda .
when '3'.
delete ITAB where begda np w_year.
when '4'.
DELETE ITAB where begda gt sy-datum.
when '5'.
delete itab where begda lt sy-datum.
when '6'.
delete itab where begda not in so_datum.
ENDCASE.
ENDFORM. " data_selection
Edited by: raghava reddy on Jul 27, 2008 6:57 PM
Edited by: raghava reddy on Jul 27, 2008 6:59 PM
Similar Messages
-
Function module help: bapi_acc_gl_posting_post.
what is the use of this function module -> bapi_acc_gl_posting_post.
Can i use this function module to post invoice without creating po and how.
If there is a code which has already done this, it would help. Please provide code also.
I am passing this data at document header:
GW_DOCUMENTHEADER-obj_type = 'BKPFF'.
GW_DOCUMENTHEADER-obj_key = '0100000090W1002006'.
GW_DOCUMENTHEADER-obj_sys = 'Q10CLNT100'.
GW_DOCUMENTHEADER-ac_doc_no = '0100000090'.
Points will be awarded for any help.
with regards
mandeep
Message was edited by: Mandeep
Mandeep Pal SinghHi
The BAPI "BAPI_ACC_GL_POSTING_POST" can be used for Accounting: General G/L account posting
FYI :
Method
AcctngGLPosting.Post
Accounting: General G/L account posting
Functionality
You can use this method to update business transactions in Accounting which mainly affect the general ledger and are definitely not updated in subledgers which are relevant to the balance sheet.
An example of this is a provision posting for an expected guarantee service.
This can be produce debit or credit entries to balances which are not managed in one of the subledgers relevant to the balance sheet. This is especially applicable if the balances cannot be represented as assets, customers/vendors, materials, loans, etc.
An example of this is a provision posting for an expected guarantee. However, this can also involve depreciation or write-ups in which values have a higher level of summarization than in the corresponding subledger relevant to the balance sheet in which they are managed.
An example of this is foreign currency revaluation for receivables/ payables caused by considerable exchange rate fluctuations which is not updated in accounts payable or accounts receivable.
A similar transaction may come about when revaluating balances for raw materials if the revaluation takes place at a corresponding level of summarization.
The third cateogry is the reclassification of items to balance sheet accounts or income statement accounts, which is only undertaken in the general ledger in order to balance accounts (values are then finally reassigned to financial statement items).
Example: Reclassifying balances of receivables with different return times for the balance sheet.
Restrictions:
This object cannot be used to update business transactions which are normally posted to one of the subledgers which affects the balance sheet (such as a billing document; for this see the business object AcctngBilling).
This is especially applicable if the reason the relevant subledger cannot be updated is because it is an external system or is not in use.
Notes
If the currency fields have been entered in the CurrencyAmount parameter, the system runs a complete check for the document. Otherwise only the account assignment objects are validated.
Messages are displayed in the Return parameter. You will find the return values and their meanings in the documentation for this parameter.
Further Information
For further information, see the documentation on "Interfaces to Accounting" in the R/3 Library (under "Cross-Application Functions -> Interfaces to External Systems").
For further Info ..plz goto transanction BAPI ..
Choose Accounting -general -- > Accounting interface --> AcctngBilling from the split tree...
Regards
Pankaj -
Error accessing function module: HELP
TO ADMINISTRATORS: PLEASE DO NOT DELETE. ADVISE WHICH FORUM TO POST.
Good Day to all SAP Gurus,
I need your help in resolving / understanding an error.
Envirornment - SAP IDES 4.7
While posting any document through FBCJ (Cash Journal), f.26 (incoming payment), f.22 etc., the below mentioned error is appearing.
Error accessing function module: FMFK_FIKRS_READ
Parameter: IP-FIKRS IP_FMA_OBJNR
When I click help (?), the following detailed message appears.
Diagnosis
The application has accessed a Funds Management or Cash Budget Management module with parameters missing or defective.
Can someone please help on this?
Points guaranteed.
Regards
Jamil1. Please do not offer points for replies. This is clearly mentioned in the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]. It is considered impolite and is the quickest way to have someone flag your message using the Abuse Button which usually means that the post will be deleted.
2. Per the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement], please title your subject appropriately. In particular, words such as "help" don't provide any insight into your message either when viewed directly or via search. This too is a possible Abuse violation and may be deleted by the other Moderators. A more appropriate title would be "posting Cash Journal document results in error XX-YYY (FMFK_FIKRS_READ)"... and it would help the others who would attempt to reply to your message if you provided the specific message number.
3. The financials forum is for functional questions. Since you are asking about a FM I'd recommend posting this question in one of the [ABAP Forums|/community [original link is broken];. Posting in the wrong forum won't lead to an abuse report but the message is likely to be locked to discourage other users to post in the correct forum.
Edited by: Nathan Genez on Oct 10, 2008 2:20 PM -
Can anybody help Me with the FUNCTION MODULE NAME for printing Handling Unit details (HU) ??
thank you.Hi Shakti,
try any of these FM's
GET_IM_PACK_HU
GET_IM_PACK_MAT
GET_IM_PACK_PACK
GET_IM_PACK_SN
GET_UNPACK_HU
GET_UNPACK_MAT
GET_UNPACK_PACK
GET_UNPACK_SN
GET_WM_PACK_HU
GET_WM_PACK_MTCOM
GET_WM_PACK_PACK
GET_WM_PACK_SN
Regards,
Vijay -
Hi Guys,
I develop a function module to sum of two float values.
so in import parameters i declare two variables with float data types in function modue as below
number1 type float
number2 type float
other variable to hold sum of two above variables as below
result type float
in source code
result = number1 + number2.
but if i pass values of two variables(number1,number2) as 5 , 5
result = 1.000000(where as result shoudl be 10.0000)
and also i can't pass more than one digit value for variables
pls suggest me where can i declare float variables size in import and export tabs of fucntion moduel.Hi,
Result is absoluteky fine, either you can add some different format in write statement for the desirable output or you can assign the total to non float variable and test the result as explained above.
Various output options can be
write: sum exponenet 1 decimal 2
etc.
Do f1 on write for various other options.
Pooja -
hi friends,
can anyone help me in how to transfer datas from table control to customer master table BAPIKNA101_1 through BAPI_CUSTOMER_CREATEFROMDATA1.
All your answers are appreciated.
thanks in advance.
shan.Thanks bharathan,
let me try and i will get back you.
shan
Message was edited by:
sivakumar palaniswamy
Message was edited by:
sivakumar palaniswamy -
Not able to use Commit after the function module STATUS_OBJECT_CREATE
I am using function module STATUS_OBJECT_CREATE
CALL FUNCTION 'STATUS_OBJECT_CREATE'
EXPORTING
CHGKZ = 'X'
CLIENT = SY-MANDT
OBJNR = LV_OBJNR3
OBTYP = 'IWE'
STSMA = 'ZS_RE_01'
IMPORTING
OBJNR = LV_OBJNR3.
STONR = LV_STONR.
IF SY-SUBRC = 0.
COMMIT WORK.
ENDIF.
i am getting error after the COMMIT WORK .
I am not getting any issue in the function module .after the function module i am using the COMMIT WORK and i am getting the following error message
Category ABAP Programming Error
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
ABAP Program SAPLBSVU
Application Component CA-GTF-TS-SMT
Date and Time 03/17/2014 07:01:29
|Short text |
| The ABAP/4 Open SQL array insert results in duplicate database records. |
|What happened? |
| Error in the ABAP Application Program |
| |
| The current ABAP program "SAPLBSVU" had to be terminated because it has |
| come across a statement that unfortunately cannot be executed. |
|What can you do? |
| Note down which actions and inputs caused the error. |
| |
| |
| To process the problem further, contact you SAP system |
| administrator. |
| |
| Using Transaction ST22 for ABAP Dump Analysis, you can look |
| at and manage termination messages, and you can also |
| keep them for a long time. |
|Error analysis |
| An exception occurred that is explained in detail below. |
| The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught |
| in |
| procedure "STATUS_UPDATE" "(FUNCTION)", nor was it propagated by a RAISING |
| clause. |
| Since the caller of the procedure could not have anticipated that the |
| exception would occur, the current program is terminated. |
| The reason for the exception is: |
| If you use an ABAP/4 Open SQL array insert to insert a record in |
| the database and that record already exists with the same key, |
| this results in a termination. |
| |
| (With an ABAP/4 Open SQL single record insert in the same error |
| situation, processing does not terminate, but SY-SUBRC is set to 4.) |
|How to correct the error |
| Use an ABAP/4 Open SQL array insert only if you are sure that none of |
| the records passed already exists in the database. |
| |
| If the error occures in a non-modified SAP program, you may be able to |
| find an interim solution in an SAP Note. |
| If you have access to SAP Notes, carry out a search with the following |
| keywords: |
| |
| "SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB" |
| "SAPLBSVU" or "LBSVUU01" |
| "STATUS_UPDATE" |
| |
| If you cannot solve the problem yourself and want to send an error |
| notification to SAP, include the following information: |
| |
| 1. The description of the current problem (short dump) |
| |
| To save the description, choose "System->List->Save->Local File |
| (Unconverted)". |
| |
| 2. Corresponding system log |
| |
| Display the system log by calling transaction SM21. |
| Restrict the time interval to 10 minutes before and five minutes |
| after the short dump. Then choose "System->List->Save->Local File |
| (Unconverted)". |
| |
| 3. If the problem occurs in a problem of your own or a modified SAP |
| program: The source code of the program |
| In the editor, choose "Utilities->More |
| Utilities->Upload/Download->Download". |
| |
| 4. Details about the conditions under which the error occurred or which |
| actions and input led to the error. |
| |
| The exception must either be prevented, caught within proedure |
| "STATUS_UPDATE" "(FUNCTION)", or its possible occurrence must be declared in |
| the |
| RAISING clause of the procedure. |
| To prevent the exception, note the following: |
|System environment |
| SAP Release..... 702 |
| SAP Basis Level. 0010 |
| |
| Application server... "sds6ci" |
| Network address...... "11.224.101.53" |
| Operating system..... "Linux" |
| Release.............. "2.6.18-194.el5" |
| Hardware type........ "x86_64" |
| Character length.... 16 Bits |
| Pointer length....... 64 Bits |
| Work process number.. 17 |
| Shortdump setting.... "full" |
| |
| Database server... "gctsdb01lds.hsi.hugh" |
| Database type..... "ORACLE" |
| Database name..... "DS6" |
| Database user ID.. "SAPDS4" |
| |
| Terminal.......... "GCTEMP02VDI" |
| |
| Char.set.... "C" |
| |
| SAP kernel....... 720 |
| created (date)... "Sep 14 2013 05:28:14" |
| create on........ "Linux GNU SLES-9 x86_64 cc4.1.2 use-pr130820" |
| Database version. "OCI_102, 10.2.0.5.0, V2, default" |
| |
| Patch level. 500 |
| Patch text.. " " |
| |
| Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*" |
| SAP database version. 720 |
| Operating system..... "Linux 2.6, Linux 3" |
| |
| Memory consumption |
| Roll.... 1317248 |
| EM...... 0 |
| Heap.... 0 |
| Page.... 0 |
| MM Used. 1242912 |
| MM Free. 53400 |
|User and Transaction |
| Client.............. 160 |
| User................ "DV018458" |
| Language key........ "E" |
| Transaction......... "SE38 " |
| Transaction ID...... "5323C30FC9364665E10000000BE06533" |
| |
| EPP Whole Context ID.... "002655EE0F241ED3ABB7D81260A28C44" |
| EPP Connection ID....... 00000000000000000000000000000000 |
| EPP Caller Counter...... 0 |
| |
| Program............. "SAPLBSVU" |
| Screen.............. "RSM13000 3000" |
| Screen Line......... 2 |
| Debugger Active..... "none" |
|Information on where terminated |
| Termination occurred in the ABAP program "SAPLBSVU" - in "STATUS_UPDATE". |
| The main program was "RSM13000 ". |
| |
| In the source code you have the termination point in line 60 |
| of the (Include) program "LBSVUU01". |
| The program "SAPLBSVU" was started in the update system. |
| The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in |
| procedure "STATUS_UPDATE" "(FUNCTION)", but it was neither handled locally nor |
| declared |
| in the RAISING clause of its signature. |
| |
| The procedure is in program "SAPLBSVU "; its source code begins in line |
| 1 of the (Include program "LBSVUU01 ". |
|Source Code Extract |
|Line |SourceCde |
| 30| LOOP AT jsto_upd WHERE chgkz = 'X'. |
| 31| CHECK: jsto_upd-chgnr > '000', |
| 32| jsto_upd-stsma NE jsto_upd-stsma_old. |
| 33| CLEAR jcdo_tab. |
| 34| MOVE-CORRESPONDING jsto_upd TO jcdo_tab. |
| 35| MOVE-CORRESPONDING chdat TO jcdo_tab. |
| 36| jcdo_tab-stsma_new = jsto_upd-stsma. |
| 37| APPEND jcdo_tab. |
| 38| ENDLOOP. |
| 39|* Änderungen zu Einzelstatus (Insert) |
| 40| LOOP AT jest_ins WHERE chgkz = 'X'. |
| 41| CHECK jest_ins-chgnr > '000'. |
| 42| CLEAR jcds_tab. |
| 43| MOVE-CORRESPONDING jest_ins TO jcds_tab. |
| 44| MOVE-CORRESPONDING chdat TO jcds_tab. |
| 45| jcds_tab-chind = 'I'. |
| 46| APPEND jcds_tab. |
| 47| ENDLOOP. |
| 48|* Änderungen zu Einzelstatus (Update) |
| 49| LOOP AT jest_upd WHERE chgkz = 'X'. |
| 50| CHECK jest_upd-chgnr > '000'. |
| 51| CLEAR jcds_tab. |
| 52| MOVE-CORRESPONDING jest_upd TO jcds_tab. |
| 53| MOVE-CORRESPONDING chdat TO jcds_tab. |
| 54| jcds_tab-chind = 'U'. |
| 55| APPEND jcds_tab. |
| 56| ENDLOOP. |
| 57|* Verbuchung Statusobjekte |
| 58| DESCRIBE TABLE jsto_ins LINES sy-tabix. |
| 59| IF sy-tabix > 0. |
|>>>>>| INSERT jsto CLIENT SPECIFIED |
| 61| FROM TABLE jsto_ins. |
| 62| ENDIF. |
| 63| DESCRIBE TABLE jsto_upd LINES sy-tabix. |
| 64| IF sy-tabix > 0. |
| 65| field-symbols <fs_jsto_line> like jsto_upd. |
| 66| loop at jsto_upd assigning <fs_jsto_line>. |
| 67| IF <fs_jsto_line>-chgnr = '000'. |
| 68| <fs_jsto_line>-chgnr = '999'. |
| 69| ENDIF. |
| 70|* on change of status profile delete user status related to old profile |
| 71| IF <fs_jsto_line>-STSMA NE <fs_jsto_line>-STSMA_OLD. |
| 72| DELETE FROM JEST CLIENT SPECIFIED WHERE |
| 73| MANDT = <fs_jsto_line>-MANDT AND |
| 74| OBJNR = <fs_jsto_line>-OBJNR AND |
| 75| STAT LIKE 'E%'. |
| 76| DELETE FROM JCDS CLIENT SPECIFIED WHERE |
| 77| MANDT = <fs_jsto_line>-MANDT AND |
| 78| OBJNR = <fs_jsto_line>-OBJNR AND |
| 79| STAT LIKE 'E%'. |i tried with out using commmit but it is not creating Status.
When i see the function module help and they are trying to COMMIT
FU STATUS_OBJECT_CREATE
Short Text
Create Status Object
Functionality
The function module generates a status object.
Take the object number from the object number management (function modules OBJECT_NUMNBER_GET_xx).
If no object number is given, the module takes a temporary object number that must be replaced later (function module STATUS_OBJECT_SWITCH_NUMBER).
Example
Creating an internal order with number 100123 (object type "ORC") for status profile "STATSCHEM" with final object number
call function 'OBJECT_NUMBER_GET_OR'
exporting
aufnr = '100123'
importing objnr = objektnummer.
call function 'STATUS_OBJECT_CREATE'
exporting
objnr = objektnummer
obtyp = 'ORC'
stsma = 'STATSCHEM'.
commit work.
Creating the same order with a temporary object number
data: objectkey like ionra.
* TBO00-REFSTRUCT for object type 'OR' is 'IONRA'
objectkey-aufnr = '100123'.
call function 'STATUS_OBJECT_CREATE'
exporting
i_objectkey = objectkey
obtyp = 'ORC'
stsma = 'STATSCHEM'.
importing
objnr = objektnummer.
call function 'OBJECT_NUMBER_GET_OR'
exporting
aufnr = '100123'
importing objnr = objektnummer_neu.
call function 'STATUS_OBJECT_SWITCH_NUMBER'
exporting
objnr_old = objektnummer
objnr_new = objektnummer_neu.
commit work.
Notes -
<b>Hi
Function module for the Ibase create .
thank</b><b></b>Isn't this requirement similar to the one you posted yesterday?
As I mentioned there, didn't below mentioned function modules help?
BAPI_IBASE_CREATE
IB_IBASE_CREATE
IB_IBASE_CREATE_INITIAL
CRM_IBASE_COMP_CREATE
CRM_IBASE_CREATE
IB_COM2_CREATE_IBASE
IB_COM_CREATE_IBASE_INITIAL
Regards,
Kaushal -
Usage of function module Material_Read
hi
Can anybody explain me how to use function module Material_Read with various necessary parameters .
You can also mail me on [email protected]
Thanx n Regards
JiteshYou check the function module by checking the function module help in SE37.
The following is the details of Function Module Material_Read
Call
CALL FUNCTION 'MATERIAL_READ'
EXPORTING SCHLUESSEL = MTCOM
IMPORTING MATDATEN = View table
RETURN = MTCOR
TABLES SEQMAT01 = Internal table
( EXCEPTIONS Material_not_found = 4
Plant_not_found = 8 . )
Exceptions statement useful only for required tables (see below).
Required tables
If a table flagged as a required table does not exist, the function module terminates at this point and issues an error message. The error message can be suppressed with the exceptions statement, in which case a return code in SY-SUBRC is given instead. In both cases (with or without EXCEPTIONS), the function module does not return any data in the event of an error. You can inactivate all required tables for the view dynamically (as a whole, not individually) by setting the flag MTCOM-NOMUS.
Return codes
If the function module ends without an error message, a return code flag can be interrogated for each table in structure MTCOR; for example, MTCOR-RMARD = X means that the function module tried to read table MARD, but did not succeed. If the flag is not set, the table was read successfully or the function module did not try to read table MARD at all (because the table is not contained in the view or because no storage location was specified).
MTCOR-LVORM
This flag is set if the object is flagged for deletion.
MTCOR-PSTAT/MTCOR-FSTAT
If you specify a maintenance status in MTCOM, for example, MTCOM-PSTAT = BDE, the system checks whether the object has been maintained by the user departments Accounting (B), Material Requirements Planning (D), and Purchasing (E). As a result:
Field MTCOR-PSTAT contains the user departments that have maintained the object; for example, MTCOR-PSTAT = B means that the object has been maintained by Accounting, but not by MRP or Purchasing.
Field MTCOR-FSTAT contains the user departments that have not maintained the object, but that could have maintained it; that is, the system checks whether the user department is allowed by the material type.
Note
This check takes time (performance). If it is not required, the function module should always be called with MTCOM-PSTAT = space.
MTCOM-NOVOR
If a plant has been specified, but no valuation level or sales organization, the function module automatically adopts (for the plant specified) the corresponding values for the valuation level and sales organization in table T001W. You can inactivate this function by setting the flag MTCOM-NOVOR.
Locking materials
If materials are locked by function module MATERIAL_READ, MATERIAL_READ_MAKF, or by other function modules of function groups MATL or MAKF, the information on which materials were already locked is buffered for performance reasons. This buffer is reset or ignored if the two indicators (MTCOM-)KZSPR and (MTCOM-)KZRFB are set. You can also use function module MATERIAL_RESET_ENQ_BUFFER or MATERIAL_RESET_ENQ_BUFFER_MAKF to completely reset this buffer. This can, for example, be necessary if function module DEQUEUE_ALL has been executed.
Parameters
SCHLUESSEL
MATDATEN
RETURN
MATPER
SEQMAT01
Exceptions
ACCOUNT_NOT_FOUND
BATCH_NOT_FOUND
FORECAST_NOT_FOUND
LOCK_ON_ACCOUNT
LOCK_ON_MATERIAL
LOCK_ON_PLANT
LOCK_ON_SALES
LOCK_ON_SLOC
LOCK_ON_BATCH
LOCK_SYSTEM_ERROR
MATERIAL_NOT_FOUND
PLANT_NOT_FOUND
SALES_NOT_FOUND
SLOC_NOT_FOUND
SLOCNUMBER_NOT_FOUND
SLOCTYPE_NOT_FOUND
TEXT_NOT_FOUND
UNIT_NOT_FOUND
INVALID_MCH1_MATNR
INVALID_MTCOM
SA_MATERIAL
WV_MATERIAL
WAART_ERROR
T134M_NOT_FOUND
Reward Points if useful. -
The performance of SELECT_TEXT function module
hi all,
i have customize report program when i execute it by giving the inputs in selection screen it is taking around 6 minutes to display the output list. iby using se30 and st05 i found out that
the function module " SELECT_TEXT " is consuming more time
below is the function module can one help me in miimizing the performance the sy-subrc = 0 after the FM is called. but the only problem is it is fectiching 576,800 records consuming more time . can any one help me ?
CALL FUNCTION 'SELECT_TEXT'
EXPORTING
client = sy-mandt
id = '0001'
language = sy-langu
name = f_tdname
object = c_tdobject
TABLES
selections = tab_rbkp_text.If you explain further why you are that function module then we can give other options
this is what the Function module help lists
SAPscript: Select text
+The SELECT_TEXT creates a table with the text headers of all text modules which correspond to the requirements specified in OBJECT, NAME, ID, and LANGUAGE. The entries in the parameters OBJECT, NAME, ID, and LANGUAGE can also be generic.+
The search area can be limited further via the parameter TEXTMEMORY_ONLY or DATABASE_ONLY. -
Help in Creation of a Function Module.
Hi Abapers,
I am new to ABAP and hardly have knowledge abt it. I need to create a Function Module which is of the type RFC. Pls provide me information and steps to create the same.
Many thanks in Advance.Hi Pooja,
Please follow the below steps to create a function module :
1. Goto Transaction code : SE37.
2. Create a Function Group first.
a) From the Menu Bar Choose Goto -> Function groups -> Create group.
b) Specify the function group name and a short text.
c) Choose Save.
When you create a new function group, the system automatically creates a main program containing two includes. Like any other programs and includes, you can display them in the Repository Browser.
3. Now create a Function Module.
4. Enter the function's name in the field Function module.
5. Choose Create.
6. In the Enter function group dialog box, enter the function group to which you want to assign the function module.
7. In The Attributes Tab select Remote Enabled Module (since you want a RFC function module ).
8. Give the Import and Export parameters and exceptions(if any).
9. Write the functioning part of the fuction module in the Source code tab.
10. Save and Activate your function Module.
Now go ahead and use your function module where ever you want.
Hope it helps.
Reward if helpful.
Regards
Hemant Khemani -
How to debug a remote function module in calling system? Help!
Hi Experts,
I have a ABAP report (in System A) from where I am calling a remote function module which exists in a different system B.
ABAP Program(System A)<----calls--
RFC(System B)
Can I debug the RFC funnction module in system A using ABAP debugger? In other words if i put a breakpoint on the "call function" statement then in debug mode I want to see that the control is going to system B and I should be able to process the FM code line by line. Is this possible?
Is there any special transaction or settings?
Is there any alternative?
Please help
Thanks
Gopalhello,
Try this method.
first check whether RFC connection is working b/w 2 systems.
if connection is working, then do like this.
In System B , put endless loop in FM before some main select statement.
like
DATA : v_a TYPE c VALUE space
DO .
IF v_a = 'X'.
EXIT.
ENDIF.
ENDDO.
the above code will be endleep loop.
In system A, when cursor goes to CALL FUNCTION DESTINATION 'XXXXX'.
u shud be logged in system B. the moment control comes to system B.goto tcode SM50 . check ur username . choose that particular checkbox then in menu bar --> program/session --> Program --> Debugging.
i hope it will help u.
try & let us know.
Thanks,
Manjunath MS -
Urgent help in function modules
Hi Gurus,
Please send me the names of the related function modules of ISU.also if possible send examples or tutorials of FM creation and the coding involved in it.
My email is [email protected]
All Replies will be rewarded.Check the links below for details about creating Function Modules:
http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
http://www.erpgenie.com/abap/functions.htm
Check this link for how to create the function module exit..
http://sap.niraj.tripod.com/id62.html -
Required help on Function Modules and Bapis
Web portal publishing of ERS invoice letters. This involves modification in the BAPI screens to show the invoice PDF instead of printing??
can anyone help me in fixing this issue.hi Anjaneyulu,
open the t-code --> and go to menu system->status-->select the program and open the program-->
selct the tree structure----in the left side the includes screen and function module everthing will show..
or
open the t-code --> and go to menu system->status-->select the program and open the program-->
go to attributes and select the Package..
next----
go to se80--> enter the package --> and dispalay it shows the list of Program , include transaction function modules and bapi's under the pakage
Regards,
Prabhudas -
Problem with calling a report from a function module. Please help! URGENT!
Hi Experts,
I have a scenarion like this:
XI -
> Function Module -
> ABAP Report
From XI I am callingf a function module in another R/3 system. This function module inturn calls a ABAP report using SUBMIT statement. The function module and the report reside in the same R/3 system.
I am calling the report like this:
SUBMIT yseg_save_bp_data WITH SELECTION-TABLE rspar
AND RETURN.
The problem is when I run the function module directly in the R/3 system then it calls the report without any problem.
On the other hand, when I call the function module from XI then the report is not called. On debug mode I found that the program exits just at the Submit statement. Why is this strange problem?
What mistake am I doing? Is there any limitations or restrictions with SUBMIT statement.
What is the correct way of using submit statement in this scenario?
Kindly help me!
Thanks
GopalHi Rao,
I have created the FM as remote RFC. Infact XI is able to call the FM. Only problem is when it reaches the point where the report is called via SUBMIT it exits.
Help me please!
Thanks
Gopal
Maybe you are looking for
-
Media not working:please help
okay so, my blackberry will not play my videos, youtube videos, the ringtones that came with the phone, flixter videos, or any kind of media, a message pops up when i try to select a ringtone that says invalid ringtone selsction. a security wipe did
-
IWeb Mobileme gallery cannot be found
I use iphoto to publish my pictures to my MM gallery this all works a treat and i can view them without a problem. When i want to share these pictures i always used iWeb and then the Mobileme widget, but lately it cannot find any MM galleries the lis
-
Lion, Font Book & Adobe Font Folio
Howdy All, I have a brand new Mac mini with Lion installed (of course) and I'm having a bear of a time loading the Adobe Font Folio. In general, I'm having a really hard time with Font Book on other Lion, late vintage, machines. I've tried every coun
-
Cannot stop this thread...
Hello, I have the following code:boolean kill = false; public void go() { while (!kill) { sleep(3000); //do stuff. public void stopThread() { kill = true; }This code doesn't stop it. I cannot seem to stop this thread with the b
-
Where can I find primier CS5 trail installation?
Hello, I'm a studnt. has a 32 bit computer looking for a trail version that will feet my computer. where can I find primier CS5 trail installation? best regards, nana