Modify TRIP through function module( HRTRV_IF_MODIFY_TRIP )
Hi Experts,
I am trying to modify existing trip for employee through function module HRTRV_IF_MODIFY_TRIP in se37 in this i am passing employee no, trip no, framedata and in changing parameter fcode as "MOD". There is also a field as trip_guid whos value i don't know so left it blank. When i execute it in return table show message as "No suitable trip schema could be found".
Can any one help me in this case. Our java developer using this fmi to change a trip.
Thanks And Regards
Ranjeet Singh
Hi,
The system tries to read a valid trip schema in table T706S and no relevant entry found.
Sujay
PS: Please don't post all bold
Edited by: Sujay Venkateswaran Krishnakumar on Oct 15, 2010 4:54 PM
Similar Messages
-
Printing ALV Report output through Function Modules
Hi All,
I want to print my ALV Grid output through function modules/statement (not through print option in menu).
This is because, i am generating a PDF from spool when user clicks on a button. If any changes happened in the ALV output layout, they will be captured in spool through printing it.
So can you please tell me how to print the ALV Output through FMs or sending the ALV output to spool.
Thanks & Regards,
Senthil.
Edited by: senthil nathan on May 17, 2010 2:49 PMHi Dev,
Thanks for the reply.
I want to print the ALV when the user clicks on a button in toolbar. Lets say the user has made some changes to the layout, (E.g hiding a field) and when i print that output it should use the changed layout, If i use the FM suggested by you, i cant acheive this.
If you try to print this manually, the system uses the changed layout and not the original. Thats why i want to know FMs/statement to print.
Regards,
Senthil. -
Save EAN11 field while creating POrder creation through Function module
Hi All,
I want to update EAN11 field in material master while creating Purchase Order through function module. I am using function module BAPI_PO_CREATE1 for creating purchase order. There are no structures in the PO creation FM in which EAN11 field is there. I have also tried using function module MEPO_DOC_ITEM_PROCESS for updating EAN11 field. It is not working. Please suggest some method to do that.
Note: I am receiving EAN11 through an external system by proxy.
Thanks,
ChinmayHi,
Use BAPI_MATERIAL_SAVEDATA to updat ean numbers for materials.
tables INTERNATIONALARTNOS is used to update EAN.
Regards,
Shanmugavel Chandrasekaran -
How Procurement cost can be captured in product master through functional module?
Hi
I have following Queries
1) How Procurement cost can be captured in product master through functional module in SAP APO?
2) How we can transfer procurement cost to product master in SAP APO through BAPI?
Thanks
PoornaHi Poorna,
Could you please check FM /SAPAPO/DM_PRODUCTS_POST.
Table it_matloc of this FM can used to update Cost . -
Binding Data through function module in adobe to display charts
Hello Gurus,
This is the requirement :-
Through function module output i have to display the chart.
For ex:-In sales order transaction there is a field called status.For every order there is status (open, complete, inprocess). Display the chart based on the order status that how many open, complete and inprocess are there.
Thanks,
Karanpost Adobe related questions to RIA forum at
User Interface Technology -
Exporting Custom table through function module
<b>How can i Export Custom table through function module.</b> when we add some table in the function module table tab it asks for a ref. table which is some table in database .. but i want to add some custom table with some user defined column names..how can i do this
<b>n plz tell me how to loop thru select options</b>
i have to loop thru select option and assign all the values to a variable.
plz help me out
Message was edited by:
Karan ChopraHi Karan,
Do one thing, Just in the tables tab give the name of the table and don't write anything else. no TYPE and no ANY.
Hope it will resolve issue.
reward points if useful.
Regards,
Atish -
Where-Used List: Modifying SAP standard function module
Hi,
We have decided to modify SAP standard function module SD_SCHEDULING. But before that, we need to understand what impact this modification will have in the system. We will also estimate the risks with this modification.
Therefore, I have taken Where-Used List for this function module. We are aware that this list is not comprehensive.
Do you know any other way we could use to understand better what impacts this kind of modification may have? My colleagues say that this is the only way.
Thanks in advance for your help.
Regards,
Jarmo TuominenHi Jarmo,
Try this
1). Goto Se16 and check the contents of table 'CROSS'.
2). Enter 'F' in the first selection screen field
3). In the NAME field enter the Function module SD_SCHEDULING and execute.
4). The list will give you where all the FM has been used.
Kindly note this is almost the same as doing a where used list. The where used list will only work correctly if the 'Update Navigation Index' works correctly in your system. So just to ensure the result of your where used list you can follow the above steps. This does not require the Update Navigation Index.
Hope this helps
Cheers
VJ -
Possible to trigger output type through Function module?
Hi,
Is it possible to trigger output type through Function modules or through some codings or any standard FM's?
Regards
Bala.You did not specify what area you need to retrigger an output type for, but here is a sample to retrigger a delivery output.
CALL FUNCTION 'BAPI_LIKP_PROCESS_MSG_DIRECT'
EXPORTING
DYNAMICOUTPUTDEVICE =
processing = PROCESSING
SORTMESSAGE = 1
TABLES
deliverynumber = delnbrs
outputtype = outputs
messageprotocol = bapimsgprot
return = bapiret2.
Thanks -
Generic Extraction business Requirement, through function module,
Generic Extraction business Requirement, specifically through function module and source code in function module.
Dear Karthik,
Go to transaction SBIW -> Generic Datasource -> Maintain Generic Datasources -> Choose Master/Transaction Data -> Maintain proper entries (Application Component, Descriptions) -> Extraction by FM if you want to extract using FM.
Maintaining Generic DataSources - Independently of application, you can create and maintain generic DataSources for transaction data, master data attributes or texts from any kinds of transparent tables, database views, InfoSets of the SAP query or using a function module. As a result, you can make use of the generic extraction of data.
Creating a Generic DataSource
1. Select the DataSource type and give it a technical name.
2. Choose Create. The creating a generic DataSource screen appears.
3. Choose an application component to which the DataSource is to be assigned.
4. Enter the descriptive texts. You can choose any text.
5. Choose from which datasets the generic DataSource is to be filled.
a. Choose Extraction from View, if you want to extract data from a transparent table or a database view. Enter the name of the table or the database view.
After generation, you get a DataSource whose extract structure is congruent with the database view or the transparent table view.
For more information about creating and maintaining database views and tables, see the ABAP Dictionary Documentation.
b. Choose Extraction from Query, if you want to use a SAP query InfoSet as the data source. Select the required InfoSet from the InfoSet catalog.
After generation, you now have a DataSource whose extract structure matches the InfoSet.
For more information about maintaining the InfoSet, see the System Administration documentation.
c. Choose Extraction using FM, if you want to extract data using a function module. Enter the function module and extract structure.
The data must be transferred by the function module in an interface table E_T_DATA.
For information about the function library, see the ABAP Workbench: Tools documentation.
d. With texts, you also have the option of extraction from domain fixed values.
Maintain the settings for delta transfer where appropriate.
7. Choose Save.
Note when extracting from a transparent table or view:
If the extract structure contains a key figure field, that references to a unit of measure or currency unit field, this unit field must appear in the same extract structure as the key figure field.
A screen appears in which you can edit the fields of the extract structure.
8. Editing the DataSource:
Selection
When scheduling a data request in the BW Scheduler, you can enter the selection criteria for the data transfer. For example, you may want to determine that data requests are only to apply to data from the previous month.
If you set the Selection indicator for a field within the extract structure, the data for this field is transferred in correspondence with the selection criteria in the scheduler.
Hide field
You should set this indicator to exclude an extract structure field from the data transfer. As a result of your action, the field is no longer made available in BW when setting the transfer rules and generating the transfer structure.
Inversion
Reverse postings are possible for customer-defined key figures. For this reason, inversion is only possible for certain transaction data DataSources. These include DataSources that have a field that is indicated as an inversion field, for example, the field update mode in the DataSource 0FI_AP_3. If this field has a value, then the data records are interpreted as reverse records in BW.
Set the Inversion indicator if you want to carry out a reverse posting for a customer-defined field (key figure). The value of the key figure is then transferred in inverted form (multiplied by 1) into BW.
Field only known in exit
You can enhance data by extending the extract structure for a DataSource using fields in append structures.
The indicator Field only known in Exit is set for fields of an append structure. In other words, by default these fields are not passed onto the extractor from the field list and selection table.
Deselect the indicator Field Only Known in Exit to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list as well as in the selection table.
9. Choose DataSource -> Generate.
The DataSource is now saved in the source system.
Maintaining Generic DataSources
· Change the DataSource
To change a generic DataSource, in the initial screen of DataSource maintenance, enter the name of the DataSource and choose Change.
You can change the assignment of a DataSource to an application component as well as the texts of a DataSource. Double-clicking on the name of the table, view, InfoSet or extract structure takes you to the appropriate maintenance screen. Here you can make changes required to add new fields. You can fully swap transparent tables and database views, but not InfoSets. If you return to the DataSource maintenance and choose Create, the screen for editing a DataSource appears. To save the DataSource in the SAP source system, choose DataSource -> Generate.
If you want to test extraction in the source system independently of a BW system, choose DataSource -> Test Extraction.
· Delta DataSource
In the Change Generic DataSource screen, you can delete any DataSources that are no longer relevant. If you are extracting data from an InfoSet, delete the associated query. If you want to delete a DataSource, this must not be connected to a BW system.
Also visit :[Data Extraction from SAP Source System | http://help.sap.com/saphelp_nw04/helpdata/en/28/4c553c42360a40e10000000a114084/content.htm]
Regards,
Naveen. -
Delete a Infocube Request through Function module
Hi Experts,
I need to delete a request in Infocube through Function module. i have written a logic which request we have to delete, but i'm unable to find the exact function module to delete particular request.
Quick response would be appriciated greatly and points will be assigned.
Regards,
Navin AchantaHi,
All the requests of InfoCube are available in table RSICCONT, so u create a function module to delete a records from this table.
Hope this helps u a lot.........
Assigning points is the way of saying Thanks in SDN
Regards
Ramakrishna Kamurthy -
Importing master data from R/3 through functional modules
I am facing the below error when I try to import master data from R/3 through the inbound functional module /DMF/MDIF_PRODUCT_INBOUND to the PMR component (PMR - Promotion Management for Retail).
"Runtime error CALL_FUNCTION_NOT_FOUND has occurred"
Landscape - I have RTLDMF 1.1 and RTLPROMO 7.0 installed on top of Netweaver with EHP1 in a server which also has BI system. While the R/3 is present in another system.
Appreciate any help. Thanks!Hi Khan,
You can create your own datasource source, by Tcode RSA2. In this link you find more information:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/28/4c553c42360a40e10000000a114084/content.htm
Also please check this link, that provides the steps to create/maintain the generic datasource:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
I hope it contributes.
Regards,
Sinara Moraes -
Updation of db tables through Function module
Using the below funtion module i need to update an internal table with 3 fields (Fkkop-opbel,fkkop-xblnr,fkkop-opord) into their respective tables
CALL FUNCTION 'FKK_DOCUMENT_CHANGE'
EXPORTING
I_OPBEL = v_OPBEL
I_UPDATE_TASK = 'X'
TABLES
T_CHANGEDOPS = it_fkkop.
please can anyone tell me how.hi,
chk this.
CALL FUNCTION 'Z_SAVE_SHIP_MET_TABLE'
TABLES
zmpets_ship_met_save = int_zmpets_ship_met.
FUNCTION Z_SAVE_SHIP_MET_TABLE.
""Update Function Module:
""Local Interface:
*" TABLES
*" ZMPETS_SHIP_MET_SAVE STRUCTURE ZMPETS_SHIP_MET
modify zmpets_ship_met from table ZMPETS_SHIP_MET_SAVE.
ENDFUNCTION.
rgds
anver pls mark hlpful answers -
How to create delta extraction through function module?
Hi all,
So far i have created the data source through full load. But currently i would like to convert the couple of function module generic extraction converted through delta.
Can anyone let me know how to convert from full load to delta using generic extraction
thanksHi,
Try these Links, helps u in getting an idea.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30aefb04-7043-2c10-8e92-941536eebc79?QuickLink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30f1a423-02ae-2e10-bd85-bde64e61fe7b?QuickLink=index&overridelayout=true&51947629650864
Regards,
Aravind. -
Error in extracting data through function module
Hi All
Need ur help .I am extracting data from crm thru function module.I have copied RSAX_BIW_GET_DATA_SIMPLE and modified it by using code.I am getting an error while testing extraction
Structure I have created ztest_01
Data Source :zmgc_ds1.
There 3 crm tables from where data is picked crmd_orderadm_h,crmd_customer_h,crmd_order_index.
I am attaching the code,can any body help me in correctring the error.Tell me if tthe placing of the code in the template is correct.please give details.
Error which I got:
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was
not caught in
procedure "RSA3_GET_DATA_SIMPLE" "(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:
The program "SAPLRSA3" contains the CALL FUNCTION statement.
The name of the function module to be called is "ZRSAX_BIW_GET_DATA_SIMPLE_01"
but "ZRSAX_BIW_GET_DATA_SIMPLE_01" cannot be found in its function group.
Possible reasons:
a) The function module "ZRSAX_BIW_GET_DATA_SIMPLE_01" has not been activated.
Therefore,
it cannot be found at runtime.
b) The Function Library contains an incorrect entry for
"ZRSAX_BIW_GET_DATA_SIMPLE_01".
c) The function module contains no code, even FUNCTION ... ENDFUNCTION
is missing.
You help would be appreciated.
Don't worry about points,.Did you create your function module without problems...assigned the Z* function group? activate the function module? i assume that you copy the function module code and the variables definition on TOP include of RSAX_BIW_GET_DATA_SIMPLE
Regards
Message was edited by:
Oscar Díaz -
Workbook not refreshing dynamically through Function Module.
We have a workbook with multiple queries having common variable set.
we are trying to execute workbook from program, using the function module RSAH_LAUNCH_EXCEL. Also we are trying to assign variable values manually.
through the program, the workbook is getting executed but if i change the variable values inside the program manually, workbook is not getting refreshed. can someone help us.
the below is the code
REPORT ztest.
DATA: v_workbookid TYPE rsrwbindex-workbookid,
v_subrc TYPE sy-subrc,
ls_var TYPE rrx_var,
lt_var TYPE STANDARD TABLE OF rrx_var.
v_workbookid = 'D0C1TB5M99SDPACEG070AFU88'.
ls_var-vnam = 'ZTEST_EXPORT'.
ls_var-vartyp = '1'.
ls_var-vparsel = 'P'.
ls_var-sign = 'I'.
ls_var-opt = 'EQ'.
ls_var-low = '10008891'.
ls_var-iobjnm = '0BPARTNER'.
APPEND ls_var TO lt_var.
CALL FUNCTION 'RSAH_LAUNCH_EXCEL'
EXPORTING
i_genuniid = lv_genuniid
i_workbookid = v_workbookid
i_objvers = 'A'
i_hide_sapgui = 'X'
IMPORTING
e_subrc = v_subrc
TABLES
i_t_var = lt_var.
ThanksDid you create your function module without problems...assigned the Z* function group? activate the function module? i assume that you copy the function module code and the variables definition on TOP include of RSAX_BIW_GET_DATA_SIMPLE
Regards
Message was edited by:
Oscar Díaz
Maybe you are looking for
-
Time capsule vs. External hard drive for periodic back-ups
Hope this is the right forum. At home I have the old "Back-Up" program that I use for quarterly back ups of certain files as scheduled. Love it. Was gonna set that up on our new(er) Macs here at work only to discover that program was replaced by Time
-
I just installed my new printer HP deskjet F4400 and after the set-up, when i try and print a page,,it comes out with a page of horizontal grey lines. Any help would be appreciated.
-
I've been trying to burn some photos to DVD this week and everytime I insert a blank disc, my iMac spins the disc up and down a few times, then spits it out. I managed to burn a couple of CDs a few days ago, but tonight that failed to. Does this cons
-
Authorisation Variable throwing Internal Server Error - Java NullPointer Ex
Hi, I've created an Authorisation Object on Service Organisation (0CRMSE_OG_R) and restricted it to a few values, assigned this to a role. On the BEx query, I've created a variable on Service Organisation of type Authorisation. When the report is exe
-
SmartArt Graphics created in PowerPoint 2013 do not appear in Presenter. The only work around I've come up with is to take a screenshot and then insert that. It's a pain and am hoping that I can adjust some settings