Need Appointment Function Module Name to Read any Opportunity No.
Hello Gurus
Can anyone tell me the Appointment type Function Module Name where Header_guid and Appt_type are to be supplied .
Means i want to only read(not to change or create) an opportunity no for a particular Appointment type(Date_type). I tried for the following FMs:
1.CRM_APPOINTMENT_READ_OW
2.CRM_APPOINTMENT_DETERMINE_OW
3.CRM_APPOINTMENT_CHECK_OW
thanks in advance
Madhusudan
Hello Madhusudan,
for the activities you can use the following coding (example):
-Beginn-
CALL FUNCTION 'BAPI_ACTIVITYCRM_GETDETAILMULT'
TABLES
guid = lt_guid
header = lt_header
date = lt_bapibus20001_app_dis.
CALL FUNCTION '/DKVES/SM_ACTIVITY_GETFROMBUPA'
EXPORTING
iv_partner = lv_partner
TABLES
et_contacts = lt_sm_activity_simple.
LOOP AT lt_sm_activity_simple INTO ls_sm_activity_simple.
CLEAR ls_bapibus20001_app_dis.
READ TABLE lt_bapibus20001_app_dis INTO ls_bapibus20001_app_dis
WITH KEY ref_guid = ls_sm_activity_simple-activity_guid appt_type = 'ORDERPLANNED'.
ls_order_aktiv-date_from = ls_bapibus20001_app_dis-date_from.
APPEND ls_order_aktiv TO lt_order_aktiv.
ENDLOOP.
-end-
If you want the other 'one order Objects' you can perhaps modify the selection.
I hope that helps
Torsten
Similar Messages
-
I need the function module name
i got the requirement to post data to FBS1 FB01 FBV1 transaction before posting the data to transaction i need to check the data in the iternal table for validity . this can be hadled by function modules or bapi
if any now the name please replyhi santaliestra.
XBLNR(16) TYPE C, " Reference
BLDAT(10) TYPE C, " Document date
BUDAT(10) TYPE C, " Posting date
BKTXT(25) TYPE C, " Short text
BLART(2) TYPE C, " Document type
WAERS(5) TYPE C, " Currency
BUKRH(4) TYPE C, " Company code in Header
STODT(10) TYPE C, " Reversal date
STGRD(2) TYPE C, " Reason
BUKRS(4) TYPE C, " Company code
GSBER(4) TYPE C, " Business area
HKONT(10) TYPE C, " Account number
KOSTL(10) TYPE C, " Cost center
AUFNR(12) TYPE C, " Order number
PROJK(8) TYPE C, " Wbs
NPLNR(12) TYPE C, " Network
VORNR(4) TYPE C, " Network activity
PRCTR(10) TYPE C, " Profit center
ZUONR(18) TYPE C, " Assignment number
PERNR(8) TYPE C, " Personnel number
VBUND(6) TYPE C, " Trading parnter
WRBTR(13) TYPE C, " Amount
DMBTR(13) TYPE C, " Amount
MWSKZ(2) TYPE C, " Tax code
SGTXT(50) TYPE C, " Item text
MATNR(18) TYPE C, " Material
LZBKZ(3) TYPE C, " Bank indicator
LANDL(3) TYPE C, " Supplying country
WWCNT(3) TYPE C, " Ship to country
WWPRL(2) TYPE C, " Product line
WWPG1(5) TYPE C, " Product group
WERKS(4) TYPE C, " Plant
BZIRK(6) TYPE C, " Sales district
BATR2(3) TYPE C, " Bus. Attr 2
WWPL4(11) TYPE C, " Product level 4
WWPL5(14) TYPE C, " Product level 5
PRODT(18) TYPE C, " Product
KNDNR(10) TYPE C, " Customer
VKORG(4) TYPE C, " Sales org.
VTWEG(2) TYPE C, " Distribution channel
SPART(2) TYPE C, " Division
VKBUR(4) TYPE C, " Sales office
INDUS(4) TYPE C, " Industry
CSGRP(2) TYPE C, " Customer group
MTNR1(18) TYPE C, " Material
VKGRP(3) TYPE C, " Sales group
BATR1(18) TYPE C, " Bus. Attr 1
WWPL3(8) TYPE C, " Product level 3
FKART(4) TYPE C, " Billing type
MGENT(8) TYPE C, " Management entity
WWPL6(18) TYPE C, " Product level 6
for these fields i need to check for validity . -
Urgent ...Need for function module name.
I have a requirement to print label using smartforms,in transaction VL02N.In which i need to get the name1(ship to information) information at run time as the
user can change the Address in Stock transport order (most likely) or at the Delivery at the run time. We need to find a function module that reads the run time structure data (VTTPVB\name1) and gives us the data.
Any pointers on this regards would be helpful
With Thanks and Regards
Arun T
[email protected]Hi Sap Surfer,
VTTK and VTTP are the delivery tables here all the details with respect to delivery is stored and retrieved.
To get the name1 and address fields the partner function plays a vital role and thus you can achieve this from VBPA.
By selecting the correct partner function the right information can be retrieved.
The structure contains data only during the transaction or the transaction programs run thus it is not advisible to get data from that so data is usually fetched from Tables.
Hope this solves your query.
Reward Points if useful.
Thanks,
Tej.. -
Hi i need function module name regarding dates
Hi ,
i need some function module which is taken month and year and it will give last date of that month in that year , i think there is some function module
pls can u help medata: start_date type sy-datum,
end_date type sy-datum.
parameters: p_spbup type spbup.
start-of-selection.
start_date = p_spbup.
start_date+6(2) = '01'.
call function 'LAST_DAY_OF_MONTHS'
exporting
day_in = start_date
importing
last_day_of_month = end_date.
write:/ start_date, end_date.
Use Function modules for finding last day of month:
RE_LAST_DAY_OF_MONTH
RP_LAST_DAY_OF_MONTHS
SLS_MISC_GET_LAST_DAY_OF_MONTH
Regards
Vasu -
I need a function module for processing idoc
i need a function module that can be used for processing of idocs. The name of the fm should be Z_AS4_IDOC_INPUT_SHPMNT you should create functiongroup ZAS4 as copy of group ZS40. The functionmodule should be build on the basis of Z_S_IDOC_INPUT_ZSDELV.
Messagetype: ZASHPMNT
Idoctype: SHPMNT05
Partner: ASSIST
The purpose is to check the delivery number in Segment E1EDL20, to find the invoice in the documentflow and to select an message record of this invoice in tha table nast.
plz help..
<THREAD LOCKED. This is a forum for solving problems, not for getting other people to do your work. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting any further questions.>
Edited by: Mike Pokraka on Oct 15, 2008 4:13 PMgreat work done in copy /paste all your functional requirement here.
Now search and get a primer on ALE / IDOCs processing and start from there -
Function Module Name for Graph
HI,
Can any body tell me Function Module name for creating graph with horizontal scrollable.I dont want standard graph button.
Thanks,
RakeshHello,
Check this standard programs they are using the same FM
RFDOPR20 Customer Payment History
RFVD_COMPRESSION_01_I01
RPRSTA01 Travel Expense Reporting by Period
RPSTA100 Time-Related Statistical Reporting
RPSTA200 Time-Related Statistical Reporting
RPSTA2GR
RQALVF16
RQETBI10 Inspection lot selection
RSDB4007 iSeries: Display Wait Statistics by SAP Instance
RSHOST10 Monitor for OS Collector (ST06)
RSORA003 Statistics of Physical Accesses to Oracle Data Base
RSORA007 Statistics of Data Base Wait Situations
RSORA138 IO Stat for Each User Session (ORA7 V$SESS_10)
Check this 3 FM
GRAPH_2D Calling up the 2D business graphics
GRAPH_2D_MENUE DO NOT USE (use 'GRAPH_2D' and 'GRAPH_BUSG_MENU_SET')
GRAPH_MATRIX_2D Calling up the 2D graphics (user-friendly version) -
Tell me the function module name
Hi ,
By using material in MSEG table I need to get BOM field from MAST table. Then using that BOM I have to retrieve BMENG from STKO table and POSTP (item category) in STOP table and here I need to search table STPO with BOM#; retrieve component quantity from field STPO/MENGE for all materials with Item category N
I can do the above things by using select for all entries
But One function module is there to do all these things..
Can any one tell me the function module name
Thanks,
Navaneethcheck this BOM related
CSAP_BOM_ITEM_MAINTAIN
CSAP_DOC_BOM_CREATE
CSAP_DOC_BOM_DELETE
CSAP_DOC_BOM_ITEM_SELECT
CSAP_DOC_BOM_MAINTAIN
CSAP_DOC_BOM_READ
CSAP_MAT_BOM_ALLOC_CREATE
CSAP_MAT_BOM_ALLOC_DELETE
CSAP_MAT_BOM_CLOSE
CSAP_MAT_BOM_CREATE
CSAP_MAT_BOM_DELETE
CSAP_MAT_BOM_ITEM_SELECT
CSAP_MAT_BOM_MAINTAIN
CSAP_MAT_BOM_OPEN
CSAP_MAT_BOM_READ
CSAP_MAT_BOM_SELECT
CSAP_ORD_BOM_CREATE
CSAP_ORD_BOM_DELETE
CSAP_ORD_BOM_ITEM_SELECT
CSAP_ORD_BOM_MAINTAIN
CSAP_STOCK_TYPE_CREATE
CSAP_STOCK_TYPE_DELETE
CAVC_I_CHANGE_BOM_ITEM_DATA
CAVC_I_DELETE_BOM_ITEM
Check Above function modules which all related to BOM
And also Check function groups CSAP, CSAI, CSAR, CSBD etc...
Check out the following:
http://help.sap.com/saphelp_40b/helpdata/en/92/58b521417011d189ec0000e81ddfac/content.htm
regards,
prabhu
reward if it is useful -
Need a function module to create production order with reference
Hi
I need a function module to create a production order with reference to an existing order. There is no BAPI available for SAP 4.7 release. I found that the function module CO_ZF_PRODUCTIONORDER_CREATE does not create with reference to an existing order.
Any help will be rewarded.
PavanDear Pavan,
Unfortunately there is no FM for this..
Cheers
Nitesh -
Need BAPI function module to change routing (CA12 Tcode)
Hi Freinds,
i have bapi function module to create bapi_routing_create,
but i need bapi function module to ROUTE CHANGE.
tcode is ca12
pls help me out .....it's urgent to me
mail to me :[email protected]
regards
madhuThanks Jitendra,
I have tried to use it but I am not able to obtain a good result. I have set values for PLKO_DI_TAB and MAPL_DI_TAB, but it does not work…
What is missing? -
Hi Experts,
I would like to do initial load of Business Objes (BUPA_MAIN) from R/3 to CRM. How to find the functional module name.
Thanks in AdvanceHi,
I"m sorry but I didn't get your question. If your question was about the extractor function module which will be called on the R/3 when the initial laod takes place,you can goto the table CRMSUBTAB on the R/3 and check for the respective Function module name for BUPA_MAIN.
Furthermore you can go to the transaction R3AC1 in CRM and look for the details of the adapter object BUPA_MAIN<see all tabs>
Regards, -
Functional module name of smartform
Hi,
I have created a smartform and generated it.
what will be the name of the Functional module?
how to use it in abap
Thanks,
Mounika.hi,
Use
You trigger form printing by calling as few as two function modules. The first module uses the name of the form to determine the name of the generated function module. Then you call this module.
The name of the generated function module is unique only within one system. Therefore, you must always call that function module first that uses the form name to determine the current name of the generated module.
Prerequisites
You defined the form interface in your form and activated the form.
Procedure
In the Form Builder call the function Environment ® Name of the function module and use STRG-Y and STRG-C to copy its name.
In the application program define a variable of type RS38L_FNAM for the name of the generated function module:
data fm_name type RS38L_FNAM .
You can call the Smart Form in other parts of the application program as well. However, in that case you must make sure that the system can access the data to be passed from that location. We recommend to encapsulate the data retrieval in a function module as well.
If desired, you can call the function module SSF_FIELD_LIST . It returns a list of the form parameters actually used in the form. You can use this information to limit data selection, if necessary.
Call function module SSF_FUNCTION_MODULE_NAME . It returns the name of the generated function module:
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = '
ENDIF.
If the form is not active, SSF_FUNCTION_MODULE_NAME triggers the exception NO_FORM . There are two cases in which the function module generates an active version by itself:
After a transport into another system
After you changed the form interface of a previously activated form
Call the generated function module. To do this, use the Insert Statement function for CALL FUNCTION in the ABAP Editor and use the name you copied in step 1 (to avoid having to copy all interface parameters manually). Then replace the function module name with the variable fm_name defined in step 2.
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
G_CARRID =
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GT_SBOOK =
ENDIF.
In this example, three variables and an internal table are passed. The parameters G_CARRID , G_CONNID , G_FLDATA , and GT_SBOOK have been defined before in the form interface.
In the interface, pass all data you want to transfer to the form.
Result
The generated function module processes the form logic defined in the Smart Form. Its output is sent to spool processing.
As long as you do not change the form interface, you can make any changes to the form. When you activate it again, the system generates the current version of the form as soon as you call the function module. Only if you change the form interface, you must adapt the interface in the application program.
plzz reward if this information is usefull to u....
plzz dont forget to reward -
Where to define remote function module name in RFC adapter
R/2(IDOC) <->XI <-> R/3 (RFC)
I can only define remote server information in RFC receiver adpater, but where to define the function module on remote server?Hi,
the communication channel need the request in an specific xml format.
Part of this format is the function modul name.
when you use an imported rfc module you have automaticly the right xml format which the communication channel understand.
the Communication channel need as root tag the function module name
like:
<ns0:Z_MY_FUNCTION xmlns:ns0="urn.sap-com:document:sap:rfc:functions">
so it is with xslt mappings (for example) as well possible to call a rfc modules without importing it into your repository.
regards,
Robin -
Need a Function Module for fetching the prior date-Urgent!!
Hi All,
I need a function module which will give the prior date with respect to the no: of days days that are entered as input.
Can anyone please help me to fing one function module which acts as the above.
Required very urgently!!!
Thanks and Regards,
NeethuHi Neethu,
Please run the report 'ZRECTIFY_FM_DOCUMENTS' in your system.
Before running the report, create the following selection texts for the parameters/select-options as given below:
P_BUKRS: Company code
S_GJAHR: Fiscal year
S_BELNR: FI document no.
P_TEST: Test run
For More information please refer <b>SAP Note: 309619</b>
Best Regards,
Johnny. -
Need a function module to convert xstring to string in web dynpro applicati
hi,
need a function module to convert xstring to string in web dynpro application other than HR_KR_XSTRING_TO_STRING.
Moderator message: please (re)search yourself first.
Edited by: Thomas Zloch on Nov 17, 2010 5:31 PMHi,
Check the following link:
FM to convert XString to String
Regards,
Bhaskar -
Function module name for routing fom production orders
Function module name for routing fom production orders
Hi
There are lot of fun modules related to routing
like
BAPI_ROUTING_CREATE
BAPI_ROUTING_EXISTENCE_CHECK
goto SE37 Tcode
enter routing press F4
you will get a lot out of that use the required one
Reward points for useful Answers
Regards
Anji
Maybe you are looking for
-
I'm trying to update from OSXLion 10.7.5 to OS10.9 in order to acces pages 5.2.2. When I click "update software" i get message that no update is available My computer is from 2008. is it too old to accommodate OS 10.9?
-
Howing greek characters with accents
Hello everybody, I've an applet developed using swing where I've to show some greek text. The problem is that I can see the standard greek characters but I cannot see those characters with accents or spirits. The document that contains the text is a
-
Schedule a report with parameter
Hope this isn't a silly question - I'm very much a new boy to Business Objects. I have a report that the user wants to have run weekly. However, the report prints weekly data forecasts for the current week and for a number of weeks to come - probably
-
Output of a Report program to excelsheet
Hello, I am having a problem while saving the output of the report progam which is an ALV list, in the output, the SAVE option of the path SYSTEM--> LIST --> Save ..is not working. It is not active in the output. can you help me to activate that opti
-
How do I get a file BACK to camera raw in CS5?
I worked on a file in camera raw, and accidentally pressed enter (well, I actually pressed it on purpose, thinking that would just accept the action I was working on), which sent the file to PS. I wanted to continue working on the file in camera raw