Purpose of this function module?
Hi Abapers,
Please let me know the purpose of this function module.
RH_START_EXCEL_WITH_DATA.
regards,
vijay
Hi vijay,
1. Suppose i want to show some data
DIRECTLY IN EXCEL,
from my internal table.
2. Just copy paste in new program.
(it will show data from T001 Table,
directly into excel)
3.
report abc.
data : itab like table of t001 with header line.
select * from t001 into CORRESPONDING FIELDS OF table itab.
CALL FUNCTION 'RH_START_EXCEL_WITH_DATA'
EXPORTING
DATA_FILENAME = '\ABCdd.XLS'
DATA_TABLE = ITAB[]
WAIT = 'X'
DELETE_FILE = 'X'
EXCEPTIONS
NO_BATCH = 1
EXCEL_NOT_INSTALLED = 2
INTERNAL_ERROR = 3
CANCELLED = 4
DOWNLOAD_ERROR = 5
NO_AUTHORITY = 6
FILE_NOT_DELETED = 7
OTHERS = 8.
regards,
amit m.
Similar Messages
-
Purpose of this function module:HR_BEN_MAP_SELOPT_TO_DYNSEL
Hi,
I could see in many benefit standard programs using the function module HR_BEN_MAP_SELOPT_TO_DYNSEL. I just want to know purpose of this.
This FM does not have any documentation to know what it is.
Please share if you know why and how it works.
Thanks,
Ravi.Speaking as someone who happens to be named Michael Broughton ;), let me note that I did not depend on trying to parse the OWB runtime repository to determine the last run status for a given mapping. I used a set of our own tables that we use to audit various processes that run against our database.
Similar to you, we had the notion of a master process and sub-processes. So, our load could be described as:
Insert master process row with status "Started".
For each mapping to execute:
insert a sub-process row with status "started"
if the last run of the master process ran to "COMPLETE", or the last run of this master process ran to "FAILED" but there is no row for this sub-process with status "COMPLETE", then we need to run the process. run it and update the sub-process row with the return status. If status <> OK, then update master process to status "FAILED" and exit.
otherwise, If we determined that the mapping did not need to be executed, then update the sub-process row with status "COMPLETE"
We put in the stubs for the processes whether we need to run them or not so that if the load fails multiple times, each run will contain the complete list of mappings that were completed.
In point of fact, if you insert the stubs when skipping over mappings during a restart then you can condense the "do I need to run this time" logic to: Run allways unless the last master process run failed but this process succeeded.
How you want to code that query will depend entirely on how you are saving your data.
Hope this helps. I'd offer code snippets but I away from my work 'puter 'til next week.
Mike -
Pls explain me the use and purpose of following Function modules
pls explain me the use and purpose of following Function modules
1. G_MAX_PERIOD_AND_OFFSET_GET
2. DEQUEUE_E_TABLE
3. FI_COMPANY_CODE_CHECK
4. G_PERIOD_GET
5. alv_display_function
6. G_SET_GET_ID_FROM_NAME
thanks ,
phyrose1. <b>G_MAX_PERIOD_AND_OFFSET_GET</b>
For given No. of period & periods it gives the offset
<b>2. DEQUEUE_E_TABLE</b>
To Unlock the table records
<b>3. FI_COMPANY_CODE_CHECK</b>
To validate Company Code
<b>
4. G_PERIOD_GET</b>
Returns no. of Posting period & Special period for give company code, posting date & ledger
<b>5. alv_display_function</b> -
No such FM exists
<b>
6. G_SET_GET_ID_FROM_NAME -</b> Use this module to derive the internal set Id from the name that appears on the user interface, for example, in order then to import the set (see the function group documentation).
The function module first determines a candidate list of sets based on the set name and the class that might have been specified that could match the set name. The class can also be masked (e.g. 000+ for all FI-SL sets, including dynamic sets). -
Hi,
Can any one please explain the following doubts...
1) What is the purpose of the function modules BAPI_IOBJ_GETDETAIL, BAPI_MDPROVIDER_GET_MEMBERS and when will they be used in BW, the purpose.
2) What are the different function modules useful in tracing the performance on the BW Side?
Thanks & Regrads,
Dinakar.HI,
BAPI_IOBJ_GETDETAIL:
To get the information about the InfoObjects.
BAPI_MDPROVIDER_GET_MEMBERS:
when you call BAPI_MDPROVIDER_GET_MEMBERS, BI hierarchies with
time-dependent names or time-dependent structures are also evaluated with the
current key date.
Check this thread and the link
List Of BAPIs used for Extraction..?
http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c1993c54966f3ae10000000a114084/frameset.htm -
Hi Friends
I am having performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA) and one my client got over 8 thousend employees . This function-module taking forever to read the data. is there any other function-module to read the absences data IT2001 .
I did use like this .if i take out this F.M 'HR_TIM_REPORT_ABSENCE_DATA_INI' its not working other Function-module.please Suggest me .
call function 'HR_TIM_REPORT_ABSENCE_DATA_INI'
exporting "Publishing to global memory
option_string = option_s "string of sel org fields
trig_string = trig_s "string of req data
alemp_flag = sw_alemp "all employee req
infot_flag = space "split per IT neccessary
sel_modus = sw_apa
importing
org_num = fdpos_lines "number of sel org fields
tables
fieldtab = fdtab "all org fields
field_sel = fieldnametab_m. "sel org fields
To Read all infotypes from Absences type.
RP_READ_ALL_TIME_ITY PN-BEGDA PN-ENDDA.
central function unit to provide internal tables: abse orgs empl
call function 'HR_TIM_REPORT_ABSENCE_DATA'
exporting
pernr = pernr-pernr
begda = pn-begda
endda = pn-endda
IMPORTING
SUBRC = SUBRC_RTA
tables
absences = absences_01
org_fields = orgs
emp_fields = empl
REFTAB =
APLTAB =
awart_sel_p = awart_s[]
awart_sel_a = awart_s[]
abstp_sel = abstp_s[]
i0000 = p0000
i0001 = p0001
i0002 = p0002
i0007 = p0007
i2001 = p2001
i2002 = p2002
i2003 = p2003.
Thanks & Regards
Reddyguessing will not help you much, check with SE30 to get a better insight
SE30
The ABAP Runtime Trace (SE30) - Quick and Easy
what is the total time, what are the Top 10 in the hitlist.
Siegfried -
How can i use this function module
Hai
How can i use this function module /SAPHT/SALES_ORDER_READ, already apply the some parameters in this function module, but it shows the error , please tell me, how to declare the parameters in this function module ,
thanks
neelimaHi
For a particular sales order,you have to pass the order number and the item number in the sales order.
It will display the rest of the values which u can capture them using internal tables.
Regards,
Vishwa. -
Documentation about this function module
ineed Documentation about this function module RP_ANSAL_FROM_PERNR
Hi Avinash,
Have a look at the function group program documentation.It gives an idea of what the function module does.
Short text
Annual Salary Functionality (ANSAL)
Description
This function group contains different functionality for calculating the annual salary, and calculating a period salary from the annual salary.
The function group evaluates different tables and features:
Tables
T503 defines whether an employee is paid on an
hourly basis or per period
T510W defines the time unit
T511 determines the relevant module from the annual
salary wage type, rounding, etc.
T539J defines the valid wage types for calculating
the annual salary
Features
ANSAL defines the annual salary wage type
PFREQ number of periods per year
Old U510F -> use T510F ?
Thanks
Lakshman -
hi,
can anyone explain the use of this function module, i coudn't find any documentation .
This function module prints the data selected in selection screen.. but i want a breif explanation y we use this and wat for is this....
FM_SELECTION_CRITERIA_PRINTHi,
1. Suppose the requirement is to know the parameters/select-options selected on the selection screen, on the list output (report).
Because once we are on the report output , we wouldnt know the selection parameters made. The only way is to go back & check. Instead of going back we can use this FM to know even when we are on the o/p.
2. Also to take a print of both the report output& selection parameters.
Reward if useful.
Thanks
SMS -
How to use this function module on abap hr GET_PDSNR_RANGE
how to use this function module on abap hr GET_PDSNR_RANGE
thankx.PASS INETRNAL TABLE WITH SOME DATA TO TABELLE FOR GENERATING PDSNR SEQUENCE
-
How to make this function module as RFC to get data from different system?
Hi
I am trying to use following function module . This function module is used to copy data from one cube to another cube within same system however I need a this should happen across two different system. How can I use this function module to make it remote call to different system and do the same function what it is doing ?
Name of function module -
RSDRT_INFOCUBE_DATA_COPY
Any help would be really helpful
AGHI,
let us say you want to copy the data of a cube in system A to a cube in system B .
1) create a RFC function module in system B (in this function module call the function module RSDRI_CUBE_WRITE_PACKAGE to update the data), this RFC function module should have same parametersa as RSDRI_CUBE_WRITE_PACKAGE .
2) write a program in system A .. read the data from the infocube using the function module RSDRI_INFOPROV_READ and call the RFC function module in system B that you have created..
for the details of the parameters to pass to these two function modules use the RSDRT_INFOCUBE_DATA_COPY and get the required code
Thanks
mahesh -
Use of this functional module HR_EMPLOYEE_ENQUEUE
what is use of this function module HR_EMPLOYEE_ENQUEUE.
thanks in advanced.before doing the changes in EMP records ,first u have to Lock the PERNR then only SAP will allow u do the changes.
ENQUEUE is nothing but a lock.
Regards
Prabhu -
Whether this function module K_DOCUMENT_UPDATE can send IDOC to Non SAP Sys
Hi,
I know function Module K_DOCUMENT_UPDATE can sent IDOC to R/3 systems.
1.Whether this function module can sent the IDOC to Non SAP System?.
2.How to make sure, that the function module can sent IDOC to Non SAP System?.
Please advise.Thanks.
Regards,
DineshHi Dinesh,
Inside this function module K_DOCUMENT_UPDATE there is a FM available
CALL FUNCTION 'K_DOCUMENT_SEND'
EXPORTING
I_LOGSYS = LOGSYSTEM
I_COBK = COBK
TABLES
T_COEP = LT_COEP
T_COEPL = LT_COEPL
EXCEPTIONS
This FM is responsible to send IDOCs to the defined logical system LOGSYSTEM. No matter this logica; system is SAP or non-SAP IDOC will be sent. Prerequisite are,
1) RFC connection exist between system
2) Partner profile is configured between the system.
Regards
Ram -
Email message redirect - purpose of this function??
I had always thought that the message redirect function in Mail was effectively a shortcut to start a new message with the identical body to a message already in my inbox.
As a result I've had quite a disaster. I customized some Apple stationery with Christmasy photos to send holiday greetings to some prospective employers whom I recently interviewed with. To avoid having to re-import the photos over and over, I BCC'd myself on the first email and used Message Redirect, then changed the greeting and recipient email for subsequent recipients.
HOWEVER, I've now discovered that the messages when delivered show the previous recipient in the TO: field for some reason. There was no indication that this would happen when the message was being drafted. This is mortifying because these employers likely know each other and now they know who else I've been interviewing with. WHY apple WHY?Hi,
This Function module is used for (Extended program check for ABAP/4 programs).
This same same as the extended program check of the SE38 program.
Open any program in ABAP editor.
Goto program->check->extended program check.
Select the check boxes and execute. It displays all the error and warning of the selected crieteria. Now you can check all these error conditions. The FM is for achieving the same functionality
Regards,
Nagaraj -
How to add "CC" field in this function module SO_NEW_DOCUMENT_SEND_API1
Hi,
I have a receiver field in this function module SO_NEW_DOCUMENT_SEND_API1.
But i wanted to add a CC field also to this.. How do i do it???
Thanks & regards,
Aswinwhen you add the receiver entry in the receivers table, just make the parameter copy as 'X'. This will put the receiver in CC.
And if you want to put it in BCC use the parameter Blind copy.
Regards,
Lalit Mohan Gupta -
What is this function module used for? -QKRT_MEAN_VALUE_SHEWHART
What is this function module used for? What does a K-factor mean?
What is this function module used for? What does a K-factor mean?
Maybe you are looking for
-
How often does the m7 take a steps measurement?
I have an iPhone 5s. I checked my steps in the health app and if I am to believe what I saw, the m7 takes 5 or 6 measurements per minute (that part I believe) and the hard part is that I took 200 or so steps in 1 minute. How often is the iPhone takin
-
Thinkpad T61p is incompatible to Windows 7 x64
Dear Lenovo Support, i never had that kind of crap with any other thinkpad i bought. Today i tried to update my Thinkpad T61p (6457-7XG) to Windows 7 x64 which is already long enough on the market to update all drivers from your site. Remember: It ha
-
If database field increases in size, how to change report to display this increase?
Hello Everyone, I'm working with Oracle Reports 10g and have a report that was already created. I need to increase the size of a field from 50 to 200 in width to accomadate a database change. When i click on the field and choose properties,
-
RFC_SENDER_XI : RFC Dest Error
Hi All I am configuring the RFC Destination on the ECC6 of typer TCP/IP to communicate RFC to XI, when i create the RFC destination RFC_SENDER_XI of type TCP/IP i am getting error Error Details SAP gateway connection failed. Is SAP gateway starte
-
Newbie functional question on MM Invoice Verification
Dear forumers, How can I check for a completed status of an invoice verification in the SAP MM module? I was told that this can be checked from the RBKP-RBSTAT field. Is it also right to say that RBSTAT = 'B' to indicate that the invoice verification