Idoc View link with Function Module ?
Hello All,
I have a n Idoc View . I want to know what is the outbound Function Module for this IDoc View .
Usually the process code contains the Function Module but when the idoc View is used the Process code is not maintained in the Message control of the Partner Profiles.So how to know which Function Module is used for this Idoc View ?
Can anyone tell me ?
Regards,
Deepu.K
Hi,
Are you looking this FM EDI_DOCUMENT_TREE_DISPLAY?
Regards,
Ferry Lianto
Similar Messages
-
Linking a function module in Bex query
Hi,How do I use a function module in a Bex query?
Req is: use to get the diff b/w 2 date fields only if both the value are present otherwise leave the result column blank.
Ex:
Date1, date2, No. of working days
X Y x-y
Blank Y Blank(no value to be set)
X Blank Blank(no value to be set)
I tried to do this in Query, but then it results in zero in the 2nd and 3rd case which is not as per my req.
Wanna try with function module DAYS_BETWEEN_TWO_DATES in the query. Steps to link this function module in a bex query wud be very helpful.
Thanks in advance.Hi S R,
Please take a look at these threads..
Funtion Module for user exits variables in BEx Queries.
Funtion Module for user exits for variables used in BEx Queries.
SAP BW BEx Analzyer Query in ABAP
BEX Multi-Language SQL Query
cheers,
Prashanth
P.S Please mark helpful answers -
View Link with destination VO in expert mode
I have view link with the destination View Object in expert mode for applying a custom query.
The view link doesn't run nicely because it seems to never find the right table.
Does anyone manage to create this kind of view link based on a custom query in the destination VO?
Thanks
Olivier.Hi,
I had also the same problem, I needed to query two tables which are in a Master-Detail relationship, the only way to do this is to write a new bean, extendind the FindForm bean to make a query like this:
select * from mastertable where condition4mt and pk_mastertable in ( select fk_pk_mastertable from detailtable where condition4dt)
So after this you get a pointer in the master table, but your condition to the detailtable is not considered from the ViewCurrentRecord Bean. I didn't go further to extend the ViewcurrentRecord bean, because this solved my problem, besides I think it would be also very difficult.
JDevTEAM !!! are you planing to solve this king of problem ???
I know that I can force the VO.setWhereClause() to force some condition on the detail, but are you planing to extend the ViewCurrentRecord bean to have also a master-detail view with a restriction also on the detail table ???
TIA,
Seb. -
To update Employee Data with Function module
Hi
CRM employee master and HR employee master need to be mapped
for the labor cost posting function to work.
In BP transaction (Change in BP role : Employee),
I could update "Personnel number" and "User Name"
under Identification Tab
now I need to do same job with Function module in report program.
Anybody knows that what Function module should I use ?
I tryed to do it with Function "CRMXIF_PARTNER_SAVE"
but I only succesed to update imformations under Adress tab in BP transaction.
thank you.Use FM BAPI_BUPA_CREATE_FROM_DATA.
Rg,
Harshit -
How to copy a generic extractor with function module into a new system?
Dear Gurus,
i would like to know how i can copy a gneric datasource with function module from one system to the target system.
Thank you
CheersHi Anesh,
thank you for replying.
Since the Datasource will have a new new in the new system, i will create a new one.
Create a generic datasource base on the table is not the problem.
My problem is how could i copy the FM in the new system?
If you can help me on that, it will be fine.
Thanks -
VirtualProvider with Function Module
Hi,Experts
Can anyone tell me how to create a VirtualProvider with Function Module?
I have read the How to guide"How to Implement a VirtualProvider with service",but I can't go throw the source code.
Please give me a sample test code of yours!
Thanks a lot!
My Email:[email protected]Hi Jin
This question does not belong to this forum, close it and post it in the appropriate one.
Also, please remove your email address from the thread as it violates the forum guidelines. -
Hierarchial Layout Saving with function modules
Hai to all
i am facing a problem while saving layout in Hierarchial list display with function module.
below error message is coming when i am going save my layout.
210 if l_def_variant-variant eq rs_variant-variant.
211 l_default = 'X'.
212 endif.
213 endif.
214
215 call function 'LT_FC_SAVE'
216 exporting
217 * I_TOOL = 'LT'
218 i_tabname = r_tabname
219 i_tabname_slave = r_tabname_slave
220 is_variant = rs_variant
221 it_fieldcat = rt_fieldcat[]
222 it_sort = rt_sort[]
223 it_filter = rt_filter[]
224 is_layout = rs_layout
225 i_default_variant = l_default
226 exceptions
227 fc_not_complete = 1
228 others = 2.
229 case sy-subrc.
230 when '0'.
231 message s018(0k).
232 when '1'.
>>>>> message x000(0k) with 'LT_FC_SAVE' sy-subrc
234 raising fc_not_complete.
235 endcase.
it is very urgent...
Subhash.Mdata: ls_vari type disvariant.
DATA: w_repid TYPE sy-repid.
ls_vari-report = w_repid.
ls_vari-username = sy-uname.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
i_callback_program = w_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
is_layout = wa_layout
it_fieldcat = i_fcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
it_sort = i_sort[]
IT_FILTER =
IS_SEL_HIDE =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
i_default = 'X'
i_save = 'X'
IS_VARIANT = ls_vari
it_events = i_event[]
IT_EVENT_EXIT =
i_tabname_header = 'I_FINAL1'
i_tabname_item = 'I_FINAL2'
I_STRUCTURE_NAME_HEADER =
I_STRUCTURE_NAME_ITEM =
is_keyinfo = wa_key
IS_PRINT =
IS_REPREP_ID =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
IR_SALV_HIERSEQ_ADAPTER =
IT_EXCEPT_QINFO =
I_SUPPRESS_EMPTY_DATA = ABAP_FALSE
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab_header = i_final1
t_outtab_item = i_final2
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
i have passed the parameters
but i am getting same dump again..
Subhash.M -
Generic Data Source with Function Module data mismatch in BI
Hi All,
I'm using Generic Data Source with Function Module, When I execute the Function Module (Which I have Created), I'm getting 16000 records and when run extractor(in RSA3) im getting different no.of records(infact they are more no.).
when I run the InfoPackage in BI im Getting more no. of records than what i got executing the function module..
and single record is divided into 2 records in BI side(not all the records), how can it be possible???
is there anything Im missing to explain you my issue???
if understood please help me out.
Thanks n Regards,
ravi.the datasource frame work starts the function module several times.
1. the initialization
2. the serval times, until you "raise no_more_data".
check you coding: have you refreshed necessary internal tables.
Sven -
Generic Data Source with Function Module data mismatch
Hi All,
I'm using Generic Data Source with Function Module, When I execute the Function Module (Which I have Created), I'm getting 16000 records and when run extractor(in RSA3) im getting different no.of records(infact they are more no.).
when I run the InfoPackage in BI im Getting more no. of records than what i got executing the function module..
and single record is divided into 2 records in BI side(not all the records), how can it be possible???
is there anything Im missing to explain you my issue???
if understood please help me out.
Thanks n Regards,
ravi.HI rkiranbi,
1. FIrst you excute function module according to your paramers, you will get some records. then goto tcode RSA3 --> excute
Provide your Data source name and under setting we have options like Data records/calls, Display extractor calls and selections --> fields .
in that options you have to increase the values. and then you have to pass paramers in RSA3 according to your function module
selections in SE37. Now you will get equal values in both functin module selection and RSA3 Selection. if it fail means you need to
check coding logic in function module.
2. if your are getting wrong values in BI System then check with
1. compare with PSA data and data target data (here you need to check with characterstic as well as keyfigures)
if you find any mistake you need change the coding in function module according to client requirement.
2. compare data with RSA3 and bi report data or data target data.
check it properly above steps, you will get solution.
thanks and regards,
malli -
VirtualProvider with Function module problem !
I implemented virtualprovider with function module. Unfortunately when I run query i get message error :
u201CFunction call of ZT0X failed; the obligatory parameter CHARACTERISTICS
An exception with the type CX_SY_DYN_CALL_PARAM_MISSING occurred, but was
I>> Row: 67 Inc: READ_DATA Prog: CL_RSDRV_VPROV_LOC_NOSIDu201D
Any suggestions ?
Below source code:
u201CFUNCTION ZT0X.
""Lokalny interfejs:
*" IMPORTING
*" VALUE(INFOCUBE) LIKE BAPI6200-INFOCUBE DEFAULT 'ZT03'
*" VALUE(KEYDATE) LIKE BAPI6200-KEYDATE OPTIONAL
*" EXPORTING
*" VALUE(RETURN) LIKE BAPIRET2 STRUCTURE BAPIRET2
*" TABLES
*" SELECTION STRUCTURE BAPI6200SL
*" CHARACTERISTICS STRUCTURE BAPI6200FD
*" KEYFIGURES STRUCTURE BAPI6200FD
*" DATA STRUCTURE BAPI6100DA
DATA:
l_r_srv TYPE ref to CL_RSDRV_REMOTE_IPROV_SRV,
l_th_mapping TYPE CL_RSDRV_REMOTE_IPROV_SRV=>TN_TH_IOBJ_FLD_MAPPING.
* break-point ID ZRSDRV_RC1.
* break DEVELOPER.
perform build_mapping_table
changing l_th_mapping.
create object l_r_srv
exporting
i_tablnm = '/BIC/PZPRD_ID'
i_th_iobj_fld_mapping = l_th_mapping.
l_r_srv->open_cursor(
i_t_characteristics = characteristics[]
i_t_keyfigures = keyfigures[]
i_t_selection = selection[] ).
l_r_srv->fetch_pack_data(
importing
e_t_data = data[] ).
return-type = 'S'.
ENDFUNCTION.
&---- <
*& Form build_mapping_table
&---- <
Form build_mapping_table
changing
c_th_mapping TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_TH_IOBJ_FLD_MAPPING.
DATA:
l_s_map TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_S_IOBJ_FLD_MAPPING.
l_s_map-iobjnm = 'ZPRD_ID'.
l_s_map-fldnm = '/BIC/ZPRD_ID'.
insert l_s_map into table c_th_mapping.
l_s_map-iobjnm = 'ZWARTOSC'.
l_s_map-fldnm = '/BIC/Z_CEN_W'.
insert l_s_map into table c_th_mapping.
+endform.u201DHello
I experienced the same issue. Were u able to solve it? If yes , kindly ask you to make posting here so that others can benefit as well.
Huge thanks -
XI-- IDOC scenario, how to link process code with function module
Hi Forum,
I have a XI--->IDOC (R/3) scenario,
where i m creating a IDOC in XI and sending it to R/3,
i have done all settings to send the IDOC from XI to the R/3,
i also have the function module to process that IDOC in R/3,
the problem is:
I want to know in details (step by step) how to make a Idoc Inbound process code, link it with the function module and use the process code in the Partner Profile in R/3,
pls helpHI,
FOr this u need to go to transaction WE41 for inbound and WE40 for outbound there u assign the function module.
Now u go to WE20 transaction for partner profile and u can assign the proces code to the inbound message.
Go to the below help for more information:
http://help.sap.com/saphelp_nw04/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
Inbound process code:
http://help.sap.com/saphelp_nw04/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
Thnx
Chirag -
IDOC ABAP-PI Port Function Module not called
HI all,
i am using a scenario where i am sending (outbound) idocs via abap proxy to PI.
I have assigned the function module to the abap-pi port.
when i am trying to send a test idoc via we19, i get the message "IDoc '0000000000198029' transferred to ABAP-PSS port".
but the function module (a copy of own_function) doesn't get called. if i am testing the function module from se80 with the above mentioned idoc number '0000000000198029' everything is fine.
in the partner profile i have added the corresponding idoc message type and selected to send idocs immediately. have i forgotten something in order to trigger the call of the function module ?
br,
martinHello,
I think it is not so easy to send IDoc to XI with ABAP-PSS-Port.
I would try to create the IDoc and send it to XI-Port (Transactional RFC).
This is SAP-Standard for IDoc-Scenario (SAP-R3 to XI).
Best Regards, Dirk -
Virtual infocube with Function module
hi!
i wrote function module that fill virtual cube with data.
i can view loaded data. but data in Bex is not displayed hierarchically.
what to do?
interface of function module:
import parameters:
I_INFOPROV type RSINFOPROV
I_TH_SFC type RSDRI_TH_SFC
I_TH_SFK type RSDRI_TH_SFK
I_T_RANGE type RSDRI_T_RANGE
I_TX_RANGETAB type RSDRI_TX_RANGETAB
I_FIRST_CALL type RS_BOOL
I_PACKAGEZISE type I
export parameters:
E_T_DATA type STANDARD TABLE
E_END_OF_DATA type RS_BOOL
E_T_MSG type RS_T_MSG
may be any parameters are missing.
or anything in BEx must be configured.Hi Claudio,
I never implemented Virtual InfoCube with services with a FM, but I know there is a couple of How To Documents about named:
- How to Reporting from External Data via Virtual InfoProvider
-How to Implement a Virtual InfoCube with Services
both with some code samples: did you read it?
Hope it helps
GFV -
Conversion with Function Module method
Hi all,
I have a problem . I have to upload the data into database by conversion method . I got a function module for my task SD_CONDITION_VAKEY_FILL and RV_KONDITION_SICHERN_V13A. Please guide me how to load a daat with these FM'sHi,
Look at the below link
Re: pricing conditions updation
Regards
Sudheer -
Where can i find the theory for alv with function modules
hi
where can i find the theory for alv with function modulesHi,
Please check this link
http://sap.niraj.tripod.com/id66.html
ALV function module
http://wiki.ittoolbox.com/index.php/How_do_I_insert_a_logo_in_ALV_using_Function_Modules%3F
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/using-function-module-fm-reuse_alv_grid_display-to-display-a-report-in-alv-1472543
reward if helpful
raam
Maybe you are looking for
-
The website is static.australianbrewingcompany.com. It was popping up daily. I never clicked on it, just deleted it. Installed AdBlock Plus 2.4. Don't see the website any more but do get a message every day stating that the website is a reported forg
-
How to make a table of annual data from a table of quarterly data?
I've got a table of quarterly data. I'd like to create a table of annual data, where each cell has the sum of the four cells for the four quarters that make up a calendar year. I can do this by pasting a formula into every 4th cell of a second column
-
How to display the dynamic text in the selection screen
Hi All, I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion )..... EX: If i have the date of today 31st it has to show message like " today date is 31 like some t
-
Change first name/last name convention for individual contacts
Hello. First off, I'm aware of how to set the convention globally under System Preferences. However, what I'm looking for is the ability to set this for individual contacts. This is an issue, because not everybody has an English name, but for those t
-
I'm not certain if this is a podcasting or an ipod question, but I will pop it up here and see if anybody knows the answer. A school I am working at has been producing some nice enhanced (slide show) podcasts. They play just fine in iTunes and iWeb a