Function modules for User check and Product search
Hi,
Please give me the names of function module which are used for user login check, and Product search.
Thanks,
Devender V
Hi,
For User login check belwo Function module,
SUSR_LOGIN_CHECK_RFC for ECC/R3
CRM_ISA_LOGIN_R3USER_CHECKS for CRM
For product try below Function module.
BAPI_MATERIAL_GET_DETAIL
I hope this information will help you.
Regards.
eCommerce Developer
Similar Messages
-
Function module for calculating planned and actual cost of production order
Hi ,
Do we have any standard function module for calculating planned and actual cost for production order?
i need to implement this in a Z-report.
Thanks
SriniHi,
try below function module
CRMCO_GET_PLAN_ACTUAL_COSTS
CO_IH_GET_PLANNED_COSTS_TOTAL
Regards,
Sankaran -
RFC enabled function module for insert update and delete in a Ztable..
friends..
Is there any standatd RFC enabled function module to insert , update and delete data in a custom database-table (Ztable)? if not how can we create it? plz give me the details steps..
what are the import, export parameters and how to develop and process it.. (for example: suppose fields in the table is Emp_Id, Name, Address)
Thanks and RegardsHi,
Try this code.
REPORT ZMMC071Z_RMV.
TYPE-POOLS : ABAP.
FIELD-SYMBOLS: <DYN_TABLE> TYPE STANDARD TABLE,
<DYN_WA>,
<DYN_FIELD>,
<LV_CONDI>.
DATA: DY_TABLE TYPE REF TO DATA,
DY_LINE TYPE REF TO DATA,
XFC TYPE LVC_S_FCAT,
IFC TYPE LVC_T_FCAT.
SELECTION-SCREEN BEGIN OF BLOCK F1 WITH FRAME TITLE TEXT-001.
PARAMETERS: P_TABLE LIKE DD02L-TABNAME OBLIGATORY.
SELECTION-SCREEN END OF BLOCK F1.
Evento: At Selection Screen *
START-OF-SELECTION.
PERFORM GET_STRUCTURE.
PERFORM CREATE_DYNAMIC_ITAB.
PERFORM GET_DATA.
END-OF-SELECTION.
*& Form get_structure
text
FORM GET_STRUCTURE.
DATA : IDETAILS TYPE ABAP_COMPDESCR_TAB,
XDETAILS TYPE ABAP_COMPDESCR.
DATA : REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR.
DATA VL_LENGHT(30).
Get the structure of the table.
REF_TABLE_DES ?=
CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( P_TABLE ).
IDETAILS[] = REF_TABLE_DES->COMPONENTS[].
LOOP AT IDETAILS INTO XDETAILS.
CLEAR XFC.
XFC-FIELDNAME = XDETAILS-NAME .
XFC-DATATYPE = XDETAILS-TYPE_KIND.
XFC-INTTYPE = XDETAILS-TYPE_KIND.
XFC-INTLEN = XDETAILS-LENGTH.
XFC-DECIMALS = XDETAILS-DECIMALS.
APPEND XFC TO IFC.
ENDLOOP.
ENDFORM. "get_structure
*& Form create_dynamic_itab
text
FORM CREATE_DYNAMIC_ITAB.
Create dynamic internal table and assign to FS
CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
EXPORTING
IT_FIELDCATALOG = IFC
IMPORTING
EP_TABLE = DY_TABLE.
ASSIGN DY_TABLE->* TO <DYN_TABLE>.
Create dynamic work area and assign to FS
CREATE DATA DY_LINE LIKE LINE OF <DYN_TABLE>.
ASSIGN DY_LINE->* TO <DYN_WA>.
ENDFORM. "create_dynamic_itab
*& Form get_data
text
--> p1 text
<-- p2 text
FORM GET_DATA .
*Get data from p_table into internal table <DYN_TABLE>
SELECT * INTO TABLE <DYN_TABLE>
FROM (P_TABLE)
Here you can implemente function DELETE, INSERT.
ENDFORM. " De_para -
Function Module for Start time and End time
Hi Experts,
I need a function module for getting particular Work schedule rule start time and endtime and further details by passing personnel number and day.
Thanks in advance.
SunilFYI - https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=5338428
Thanks,
SK -
LSO: Function Module for follow up and inserting qualification
Hi,
I have a situation where the employee is booked for a course in SAP, employee will attend the course and the results will come from an external system in a text file. I need to upload this text file and do the follow up for this course with pass or failure. Is there any function module for this scenario ?
Once I did the follow-up, if there is a qualification attached to the course type, I need to insert the qualification in the employee profile. Is there any function module for this scenario ?
Your help will be greatly appreciated and I will give the points accordingly.
Thanks
NareshLSO_BUFFER_PARTIC_CONFIRMATION
LSO_UPDATE_FOLLOWUP
LSO_BUFFER_QUALIS_FOR_TRANSFER
LSO_UPDATE_FOLLOWUP
LSO_BUFFER_TRAINING_FOUP
LSO_UPDATE_FOLLOWUP
We can use the above FM's to complete the course follow up. -
Function Module for HU Block and Unblock
Hi,
Can you please tell me the function module name to Block and Unblock the Handling Unit
which is exists iin a particular warehouse?
I searched in SDN already with no luck.
Thanks in advance...
Sridhar ....Hi,
Try the below Function Modules
SD_CUSTOMER_CHECK
SD_CUSTOMER_CHECK_1
SD_CUSTOMER_CHECK_B
SD_CUSTOMER_MAINTAIN_ALL
SD_CUSTOMER_MAINTAIN_KNKA_K
Regards,
Anki Reddy -
User exit or functional module for multiple GR of Production order.
Hi All,
I have done a enhancement in CO11N so that batches can get created in production order confirmation.
Now When I go to MIGO to do GR I have option to enter the nulitple batches against the production order.
But what I am looking for is there any exit or functional module which reads the production order and fecth batches which were created from CO11N.
Regards.Hi,
A few options:
1. User Exit - MBCF0002
2. BADi - MB_MIGO_BADI, MB_DOCUMENT_BADI
3. A Z program by calling BAPI_GOODSMVT_CREATE
Regards,
Vivek -
How to block particular function module for user or users
Hi,
Can anyone let me know that if I want to prevent users for certain function module or modules.Is it possible to do so.Please let me know.
Have a great day ahead.Please take note that there are hundreds of thousands of function modules in any one SAP system (see table TFDIR) and a large number of them can do very very powerfull and even dangerous things when executed on their own in the test mode.
It shounds as if you are only worried about only one (probably some famous one...) and want to range around it's name. This is not a good idea and will not work anyway.
Cheers,
Julius -
Import parameter in Function Module for user exit
Hi Experts,
I need to send IDOC when PO release, for that i found an Exit M06E0004. It is having
FUNCTION EXIT_SAPLEBND_002.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_CEKKO) LIKE CEKKO STRUCTURE CEKKO " EKKO table
*" VALUE(IT_BEKPO) TYPE MMPUR_BEKPO OPTIONAL " EKPO table
*" VALUE(IT_BEKET) TYPE MMPUR_BEKET OPTIONAL " EKEt table
*" VALUE(IT_EKKNU) TYPE MMPUR_EKKNU OPTIONAL
*" EXPORTING
*" VALUE(E_CEKKO) LIKE CEKKO STRUCTURE CEKKO
INCLUDE ZXM06U22.
ENDFUNCTION.
All of the fields i have to take in IDOC segment r from EKKO and EKPO table, but 1 field is from MDSB table (MDSB-MATNR), how can i take it in the code i have to write. can i take TABLE: MDSB in the include, or any other way. because its standard FM we cant take it in IMPORT.
Regards,
NikHello Nik
You can use a similar approach as described in thread:
Get Parameter from Standard Transaction to BADi
You need to find out in which main program MDSB is defined. Then you can try to access this field dynamically from within your exit.
Alternatively, you have to search for a function module which can retrieve this (runtime) information (MDSB-MATNR).
Regards
Uwe -
Function Module for blocking, unblocking and deleting assets
Hi,
Are there function modules available for blocking,unblocking and deleting assets in SAP.
Can I user 'BAPI_FIXEDASSET_CHANGE' for the same?
Thanks in adavnce,
LaxmanHey,
I tried by putting the values of company code,asset number,subnumber, transaction type as 'A' and passing the value of INLA-XSPEB as 'X' in FM ASSET_MASTERRECORD_MAINTENANCE to block the asset but it is not working. I am trying many other things. Can you suggest what are the mandatory fields that need to be passed for the asset to be blocked.
As there are lot of parameters in this FM, I am little confused. Is there a proper documentation available somewhere to understand the flow.
Thanks in advance for the help.
Laxman Pai. -
Function Module for syntax check on the repository objects
Hi Experts,
Can anyone help me in finding out the function module used to do syntax check on Repository objects(PRograms/Smartforms/FUnction Modules...etc.,)
Dr. Arif ShaikHi,
Can you please check following function modules? But I am not sure that you can get it all in one.
EDITOR_SYNTAX_CHECK (For any report)
SSF_PREPARE_SYNTAX_CHECK (For any smarrt form)
RS_SYNTAX_CHECK ( ABAP Syntax Check with Dialog and Navigation)
CHECK_FORM_ITF_SYNTAX
RS_DISPLAY_SYNTAX_DIAGRAM
RS_CUA_INTERNAL_SYNTAX_CHECK
SEO_CLASS_CHECK_INCLUDE_SYNTAX
SEO_CLIF_GET_SYNTAX_INFO
C195_TEST_SYNTAX_CHECK
C1F0_PHRID_SYNTAX_CHECK
Pls let me know if anything is unclear.
Regards,
Lokesh.
Edited by: Lokesh Tarey on Apr 8, 2010 10:59 AM -
Function modul for a material throufh production order
hi,
Is there any function modul available in SAP for production order for a material
ie passing input as production order to get the material no and production order date .Hi ..
No ya these 4 func.modul is not in 4.6c can you pl send a right fun.mod. for 4.6 c ver. so that i can use it.
regards,
Lakshman -
Function Module for adding components to Production Order
Is there a function module that can add components to an existing production order ?I believe CO_BC_INSERT_CMP_OF_ORDERS can do the trick but seems this alone would not suffice .Your feedback is very much appreciated
Sudhir,
U r right. we need to call the function module CO_BC_INSERT_CMP_OF_ORDERS with flg_banf_create = X and apt entries in the component details table resbb_ins. Doing this is enough. I guess u have a problem passing correct data in the internal table. For the data you do not know, you will have to pass default data.
Hope this helps. -
Function module for getting month and year of the previous month (say -6)
Hi,
Is there a function module that will get you the month and year of say, a month before, and as far as 11 months ago.
For example, say today is 6/2007. I want 7 months ago.
How do i get this value?
What function module or method is available?
Points will be rewarded and responses will be appreciated.
Thank You,
JohnHi
lv_period gives the month and year which is two months earlier now as we have specified lv_months as -2.
DATA: LV_PERIOD LIKE S001-SPMON,
LV_MONTHS(2) TYPE C VALUE '2-',
LV_DATUM LIKE SY-DATUM,
LV_NEWDT LIKE SY-DATUM,
P_SPMON LIKE S001-SPMON VALUE '200601'.
CONCATENATE P_SPMON '01' INTO LV_DATUM.
LV_PERIOD = P_SPMON+0(6).
CALL FUNCTION 'MONTH_PLUS_DETERMINE'
EXPORTING
MONTHS = LV_MONTHS
OLDDATE = LV_DATUM
IMPORTING
NEWDATE = LV_NEWDT
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC = 0.
LV_PERIOD = LV_NEWDT+0(6).
ENDIF.
WRITE :/ LV_PERIOD.
OR
Use the following FM for getting the year and the month based on date
CACS_DATE_GET_YEAR_MONTH
or
Call Function 'CCM_GO_BACK_MONTHS '.
Funny module: 03/31/2002 - 1 month = 02/31/2002
OR
RE_ADD_MONTH_TO_DATE ( Add / substract month to/from date )
Need ur reward points.
Best regards,
Ravi -
Function module for comparing dates and times
Hi,
I have a date and time stamp in one filed for example as below:
20070125183045
(the first 8 are date in YYYYMMDD format, the next 6 is time in HHMMSS format). Now I want to compare this value to another such value in terms of date and time. First I want to compare dates and then times. Do you know any function module that can serve this purpose?
Thanks very much!You can compare these using the function module DURATION_DETERMINE. This fuction will give you the difference, and it can be in a view different units, such as the difference in days, months, etc.
Funciton module takes in Start date and time and end date and time.
Regards,
RIch HEilman
Maybe you are looking for
-
Hi, Is assignment of SAP logical system to client mandatory... I understand that we can give dummy names like SAP_A as logical systems but is it mandatory to assign them to clients.. I think Idoc can be sent to the respective SAP system through ports
-
I have created a form in Adobe acrobat 10 and produced a fillable form. This is used by students who use it using Reader (various versions) over the period of their course and revisit it and save it on multiple occations. For some students it is fine
-
Hi guys, how is email in process chains configured for all the process types comprehensively? thanks due points will be assigned
-
Hi, What is the default collation sequence of Publisher when doing sorting using the <?sort:...?> tag? My machines are configured "US English" as the locale, and my BI Publisher user (i.e. Administrator) is configured to run in "US English" as well.
-
Hi, i actually installed windows 8 on my macbook by Boot Camp Assistance. and i read that i have to install the drivers that support my windows buy trackpad, function keyes and etc. When i chose that opinted in the boot camp, it tells me that it only