Update Function Module Required for Deletion/Truncation of Open Hub Table
Hi All,
I need to delete/Truncate DB tables i.e. Ztables using Update FM
can anyone help me with few Update FM.
Regards,
NS.
If you want to Delete Custom DB table then you can use FM RS_DD_DELETE.
You can delete, if the table is not used anywhere in SAP.
Close thread if you got a answer
Kanagaraja L
Edited by: Kanagaraja Lokanathan on Mar 16, 2010 9:54 AM
Similar Messages
-
Function Module require for Accounting Document
Hi All,
Is there any Function Module available for getting Accounting document no which is created after IR.
Regards,
ParasHi,
You can use BAPI_ACC_DOCUMENT_POST.
Regards,
Eli -
Functional Module required for getting list of successful jobs
Hi All,
There is one function module BP_JOB_SELECT which gives me name of unsuccessful job. Now I want to find the name of all successful job. Can anyone please tell me the function module name for that?
Thanks in advance,
Siddarth.You can use the same FM - BP_SELECT_JOB.
While filling structure JOBSEL_PARAM_IN, you can pass FINISHED = 'X' and
SCHEDUL = ' '
READY = ' '
RUNNING = ' '
ABORTED = ' '
Regards,
Mohaiyuddin -
Function module/ program for deleting Vendor purchasing org. in BBPMAININT?
Hi,
Is there any function module or program available by which i can delete purchasing org. maintained for SRM vendors in BBPMAININT.
Regards
Bharat MHi
Please use the Standard SRM function module
*BBPPORG_DELETE*_
to delete the Purchasing organizations ->
Sample code - >
CALL FUNCTION 'BBP_PORG_DELETE' IN UPDATE TASK
TABLES
IT_FRG0060 = LT_FRG0060
IT_FRG0061 = LT_FRG0061.
COMMIT WORK.
Hope this will help. Do let me know.
Regards
- Atul -
Process code's function module required for the IDOC Message type PROACT
Hi,
I am trying to trigger an IDOC from ME32K transaction which will carry my Contract agreement details to XI. The IDOC I am using for this purpose is PROACT.PROACT01. But I couldn't find the outbound process code / Function module for the process code associated to this IDOC message type.
Pls help me out....
Thanks,
Ram KalyanI checked table EDIFCT for the message type and found this:
Function module Function type Basic type Message Type
IDOC_INPUT_PROACT F PROACT01 PROACT
Oops...I think you are looking for outbound..Ignore -
Function Module Required for fetching contact details from BUT000
Hi Everybody.
I have created a contact using transaction BP.
these details according to me will get saved in standard table BUT000.
Now i need standard FM used for fetching all these Contact details.
Help me i am new to CRM.Hi Amit,
Please check the following:
Data Retrieval Function Modules:
Name Description
BAPI_BUPA_ADDRESSES_GET Determine All Addresses
BAPI_BUPA_ADDRESS_GETDETAIL Read Address
BAPI_BUPA_ADDRESS_GET_NUMBERS Read Address Numbers
BAPI_BUPA_BANKDETAILS_GET Determine All Bank Details
BAPI_BUPA_BANKDETAIL_GETDETAIL Read Bank Details
BAPI_BUPA_BANKDETAIL_NUMBERS Read Bank Details Numbers
BAPI_BUPA_CENTRAL_GETDETAIL Read Central Data
BAPI_BUPA_EXISTENCE_CHECK Check Existence of Business Partner
BAPI_BUPA_GET_NUMBERS Read Business Partner Numbers
BAPI_BUPA_RELATIONSHIPS_GET Determine All BP Relationships
BAPI_BUPA_ROLES_GET Determine All Roles
BAPI_BUPA_ROLE_EXISTENCE_CHECK Check Existence of Role
BAPI_BUPA_SEARCH Search Business Partner for Telephone, E-Mail, Address
BAPI_BUPA_STATUS_GETDETAIL Business Partner: Read Status
BAPI_BUPR_ACTIVITYP_EXISTCHECK Check Existence of Contact Partner Relationship
BAPI_BUPR_CONTP_ADDRESSES_GET Read Contact Person Relationship Addresses
BAPI_BUPR_CONTP_ADDR_GETDETAIL Read Contact Person Relationship Addresses
BAPI_BUPR_CONTP_GETDETAIL Read Contact Person Relationship
BAPI_BUPR_EMPLO_ADDRESSES_GET Read Contact Person Relationship Addresses
BAPI_BUPR_EMPLO_ADDR_GETDETAIL Read Employee Relationship Address
BAPI_BUPR_EMPLO_GETDETAIL Read Employee Relationship
BAPI_BUPR_RELATIONSHIP_GET Read General Relationship
BAPI_BUPR_RELSHIP_CHECKEXIST Check Existence of General Relationship
BAPI_BUPR_RELSHIP_GET_DETAIL Read General Relationship
BAPI_BUPR_RESP_EMPLO_CHEKEXIST Read Relationship of Employee Responsible
BUPA_PARTNER_CONTACT_SEARCH Searches business partners for telephone, E-Mail, address
CRM_ORDER_READ Get all the Service Contract details.
Hope this helps!
Regards,
Saumya -
Function module required for BOM Changes
Dear SAP Guru
I need the function module which gives me the details of changes done in the BOM.
Scenario: Need to develop the report which gives only the details of BOM changed on the given date. The BOM level might vary.
Regards
RahulDear
I think you should have ECM in place to have tracability for any changes carried out in BOM .
Refer earlier posting : Re: ECM ECR
If the ECM is in place , then you can see what changes has been done in CC02/03 Environmnet - > Reporting -> Bill of Material.
Otherwise please try the following Functinal Module : You can also try CEWB and CS80
1. CSAP_BOM_ITEM_MAINTAIN
2.CS_BOM_EXPL_MAT_V2
3.CHANGEDOCUMENT_READ and CDHDR
Refer : http://help.sap.com/saphelp_40b/helpdata/en/92/58b521417011d189ec0000e81ddfac/content.htm
Regards
JH -
Function Module required for getting Value Range data
I need a function module where in i can get the data from a value range in a domain.
Message was edited by:
Gurpreet SinghHi,
You can use this code to get the Doman's fixed values.
DATA: lt_fixed_values TYPE ddfixvalues,
CALL METHOD cl_abap_typedescr=>describe_by_name
EXPORTING
p_data = 'Domain_name' " Pass the domain name here
RECEIVING
p_descr_ref = lcl_abap_typedescr.
TRY.
lcl_abap_elemdescr ?= lcl_abap_typedescr.
CATCH cx_sy_move_cast_error.
ENDTRY.
IF lcl_abap_elemdescr IS BOUND.
CALL METHOD lcl_abap_elemdescr->get_ddic_fixed_values
EXPORTING
p_langu = sy-langu " Give the language
RECEIVING
p_fixed_values = lt_fixed_values " This table will have the fixed values
EXCEPTIONS
not_found = 1
no_ddic_type = 2
OTHERS = 3.
ENDIF.
Regards,
Sesh -
Function module required for time stamp conversion into MST
Hello,
Please let me know if there is a SAP function module that can convert timestamp from GMT or provided timestamp into MST. I will need to use this function in BW transformation.
Thanks.Try this one: TZ_GLOBAL_TO_LOCAL.
Haven't used it myself yet, but it looks good.
Good luck!
Best regards,
Zhou -
Function Module required for IBASE component
Hi Experts,
Is there any FM which can get the warranty start date with IBASE component??
Warranty is assigned to IBASE component under relationship tab.
Points shall be rewarded for sure
Regards,
MadhuHi Madhu,
This the Table that is used to retrieve the Warranty Profile for the Installed Base. CDBD_IL_IBCWTY - Installed Base Components - Warranty Relationship. If you know the IBASE no and the corresponding COMP number then you can get the Warranty related details. Till now I was unable to find any FM that would do the same.
For the IBASE related details, you can have a look at the following Function Group. IB_CRM_API - IB: CRM APIs for IBase.
Thanks,
Samantak.
Rewards points for useful answers. -
Short dump for update function module
Hi Folks,
If I try to raise exception in Update Task function module which is in turn called in Custom BAPI function module. When I test the BAPI stand-alone using explicit COMMIT WORK (For testing)I can see the error in SM13 and it processes further in BAPI. Now when I am using this BAPI for ALE Inbound processing function module to SAP, when I test using testing tool WE19 it crashes when it passes the update FM inside BAPI, and encounteres BAPI_TRANSACTION_COMMIT, the update Function module is executed as encountered and gives me dump at the raised exception and does not show error in SM13. Please suggest how I could overcome this dump.
Regards,
TimHi there,
Yes. I know that I can details from ST22 Analysis. And I did go through that.
Here's the Section that explains:
How to correct the error
Try to find out why the number of decimal places of the field should be
2.
There are various possible options:
1. The number of decimal places of the imported field has changed in the
Data Dictionary. Make sure that the number of decimal places of the
imported field matches the number of decimal places of the field in
the Data Dictionary.
If the data cannot be restored from another source, the data of the
'old' structure must be read by the 'old' structure, converted und
again eported with the new structure, so that future IMPORTs will
always function with the new structure.
2. A new program version is active, which no longer fits the dataset.
Try to solve the error generating the program
"ZFI_FM_GET_STD_COSTS==========FT" again. This
works as follows: Select transaction SE38 in the SAP system. Enter
the program name "Z_GET_COSTS==========FT". Then activate the
function 'Generate'.
1. I made sure that the decimal places matches.
2. I did re-generate the program.
But still got the same dump. Interestingly, the program where I am using this FM is working absolutely fine.
Thanks. -
Authorization Object for Update Function Module
Hi
I have a Update Function Module and that FM should be executed based on the Authorization Object .
I had created a Auth Object with Proper roled assigned to user and i also did the following
AUTHORITY-CHECK OBJECT <Obj Name>
ID 'ACTVT' FIELD '38'.
If Sy-subrc EQ 0.
<Process the following>
End IF.
But the Auth Object is not working correctly like in the ebugging eventhough my role is not assigned to this Auth Object
it is giving me sy-subrc as 0 (but in my case it must be not be zero.)
Is it anything like Auth Object wont work on Update function Module or else is there any different approach we need to follow
to acheive the functionality .
Kindly share the inputs
K.Nadesh KumarHi
The issue is resolved
K.Nadesh Kumar -
Function module/BAPI for executing VD51/VD52 transactions
Hi
Warm greetings to all,
I require a function module/BAPI for executing VD51/VD52 transactions. Can anyone help on this
SreekanthHi Sreekanth,
Use this.
There is an FM which is used by standard transaction
'RV_CUSTOMER_MATERIAL_UPDATE' .
Ex Code -
CALL FUNCTION 'RV_CUSTOMER_MATERIAL_UPDATE'
IN UPDATE TASK
TABLES
XKNMT_TAB = XKNMT
YKNMT_TAB = YKNMT
TCATALOG_TAB = LT_CATALOG.
commit work.
Regards,
Vijay -
BAPI(Function Module Required)
Hi Gurus ,
Please provide me the function module (BAPI) for the following.
1. Create Purchase Requisition
2. Update/Change Equipment master(Iq02)
Thanks
TausifPurchase Requisition:
BAPI_REQUISITION_CHANGE Change Purchase Requisition
BAPI_REQUISITION_CREATE Create Purchase Requisition
BAPI_REQUISITION_DELETE Delete/Close Purchase Requisition
BAPI_REQUISITION_GETDETAIL Display Purchase Requisition Details
BAPI_REQUISITION_GETITEMS Read Purchase Requisition Item
BAPI_REQUISITION_GETITEMSREL List Purchase Requisitions Awaiting Release
Equipment:
BAPI_EQMT_CREATE Create equipment
BAPI_EQMT_DETAIL Read details for equipment
BAPI_EQMT_DISMANTLEFL Dismantle equipment at functional location
BAPI_EQMT_DISMANTLEHR Dismantle equipment from equipment hierarchy
BAPI_EQMT_GETCATALOGPROFIL Determine catalog profile for equipment
BAPI_EQMT_GETLISTFORCUSTOMER Select customer equipment
BAPI_EQMT_INSTALLFL Install equipment at functional location
BAPI_EQMT_INSTALLHR Install equipment in equipment hierarchy
BAPI_EQMT_MODIFY Change equipment
thanks
sitaram -
Update Function module - How to provide detailed messages in case of errors
Hello everyone,
I am using update function modules. When there is a error, the Message i provide goes to inbox and i get a express message.
I am looking for ways to provide detailed messages (multiple lines) and i also need to add the error message returned by the BAPI
Providing a long text for the MESSAGE also does not work.
How can i achieve this ?
ThanksHi,
The express message is because the update functions executes in background.
You can view the detail messages of updates [Error Information from Update Management|http://help.sap.com/saphelp_nw04/helpdata/en/e5/de874735cd11d3acb00000e83539c3/content.htm]
For your requirement have alook at [Application Log and Application-Specific Error Tables|http://help.sap.com/saphelp_nw04/helpdata/en/a5/3ec9f74ac011d1894e0000e829fbbd/content.htm]
There are some functions avaibale for this and is mentioned in the document.
Keshav
Maybe you are looking for
-
I have the most up-to-date version of iTunes (have just uninstalled and reinstalled it), and am trying to download iOS5. Everything says iTunes should present me with the option to do this, but it doesn't. When I use the iTunes search box it just r
-
I am using a Panel Dashboard layout to display totally 6 image components in two rows.Each row has three images. I also have two more components on the same page which are below the panel dashboard layout which refresh on clicking every image within
-
please tell me how increase battery backup of Nokia n8
-
[SOLVED] sbcl-git PKGBUILD
I'm trying to write a sbcl-git PKGBUILD so people can circumvent some sbcl bugs and install stumpwm-git, here's my attempt thus far which fails miserably. Edit: solved, big thanks to acieroid who provided the pkgbuild: http://aur.archlinux.org/packag
-
Hi all, I am new to XI, can u please provide me some initial reference materials. Thanks and regards. Amit chandnani