Function Module for Creation of classification data for a Routing
Hi
Can you please let me know if there are any function modules/Bapi's to create Classification data for a Routing?
THanks
Shekar
For creating classification data, have a look at the function group CTMS and function module CTMS_DDB_SET_VALUE_INTERNAL.
Not sure what you mean by "Routing".
For BAPIs also look into the function group CLBPA, that sits in the same development package CLCL as the function group CTMS.
Hope this helps.
Similar Messages
-
Function Module/Document to change Reversal date for FI document.
Can anyone please provide me with the Function Module/Document to change Reversal date for FI document.
Hi Vikram,
Normally, you post a reversing document in the same period you posted the original document. The period of the original document must be open to post a reversing document. If the period is not open, you can overwrite the posting date field with a date in an open period, such as the current period.
Regards,
Manoj. -
Function module to extract sales org data for sales transaction
Hi! I would like to find out the sales org assigned to a particular sales transaction. When I run function module CRM_ORDER_READ, it passes some information into LT_ORGMAN but I get 2 entries rather than the 2 entry I see in my sales transaction. Is this the right table to look for sales org data for a particular transaction?
Appreciate any help on that.
Cheers!
SFPlease check with following function module:
CRM_MAP_ORGMAN_DATA
CRM_ORGMAN_GET_DB
CRM_ORGMAN_READ_DB
CRM_ORGMAN_READ_OW
hope it will useful. -
Functional module for Getting Material classification data.
Please tell me Functional module for Getting Material classification data like class type , class, characteristics and characteristics values for material.
Dear,
FM:
CLAF_CLASSIFICATION_OF_OBJECTS
Table KLAH Class Header Data
- KSML Characteristics of a Class
Regards,
R.Brahmankar -
Creation and Change Date for Tcode and Function Groups
Hello All,
I need to display the Creation and Change Dates for Custom Tcodes and Function Groups in a Report. Can anyone please let me know the logic of retrieving it.
regards,
MaheshHi,
TADIR and TRDIR is the tables where you can find all these data
Regards
Sudheer -
How to use BAPI_OBJCL* to set classification data for Techn. Objects - PM ?
Good afternoon !
I´m working in a project to integrate some legacy system with the ECC 6.0, and I need to do some activities like, create functional locations and equipments in SAP PM, I have done this creating Z RFC modules that call bapis like BAPI_FUNCLOC_CREATE and BAPI_EQUI_CREATE, but these BAPIs doesn´t fill classification data, so, in a first moment, I solved this using BDC, but I would like to solve these needs using standard BAPIs if possible.
To solve the classification, I tried to do it using the BAPI_OBJCL* BAPIs(BAPI_OBJCL_GET_KEY_OF_OBJECT, BAPI_OBJCL_CREATE_KEY), but I didn´t find any example of using these bapis with technical objects, so I tried to test the BAPI_OBJCL_GET_KEY_OF_OBJECT in a first moment and, when I call it passing '003' as classtype(003 is the classtype for the functional locations), this bapi returns me "Class type 003 requires additional objects"(the same occurs if I try it with 002, for equipment). What means this message ? Need I to do some customization in img/spro, or cannot these bapis be used with PM technical objects ?
Thank you for your attention,
WilsonHi all !
I have found the solution for this problem, I found that I was trying to use the wrong functions for my case, so, to solve my needs here, I will use BAPI_OBJCL_CREATE to set the classification data for Functional Locations and Equipments, and I can use BAPI_OBJCL_GETCLASSES to list all classes assigned for a Technical Object, and BAPI_OBJCL_GETDETAIL to get all characteristics assigned to a Technical Object for a specific class.
Thank you all for your attention !
Wilson -
Modify Classification data for IL02
Hi,
I want to modify the classification data for Functional location.
Is there any function modules available to change. I know the functional module for Material classification, but Functional location its not working.
SO pls tell me the function modules or any other method is available.
I was unable to do to in BDC.
regards
Rajesh VHi,
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkeynew = lv_funcloc
objecttablenew = 'IFLOT'
classnumnew = lv_class
classtypenew = '010'
TABLES
allocvaluesnum = li_numc
allocvalueschar = li_char
allocvaluescurr = li_curr
return = li_return.
if not li_return[] is initial.
read table li_return into lwa_return with key TYPE = 'E'.
if sy-subrc ne 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
endif.
endif.
Fill the new characteristic values into table parameters li_numc, li_char, li_curr depending on the data type (field ATFOR) of the characteristic value.
Inside the FM it uses BAPI_OBJCL_GETDETAIL to get the old characteristic values and make comparision with table parameters li_numc, li_char, li_curr and updates the characteristic data for the functional location and class.
Regards,
Dwaraka.S
Edited by: Dwarakanath Sankarayogi on Jan 29, 2009 10:49 AM -
Reading Classification data for material
Hi all
can anybody give me a FM or BAPI to read the classification data
for a particular material..
Kindly help . apt points will be rewarded
Regards
N manjrekarHi Nikhil
just copy paste this code to get the clasification of any material.
hope this will be helpful.
DATA: V_CLASS LIKE KLAH-CLASS VALUE 'MAT_SEL_CLASS_JASC',
V_CLASSTYPE LIKE KLAH-KLART VALUE '023',
V1_OBJECT LIKE AUSP-OBJEK,(nothing but material no)
V_OBJECTTABLE LIKE TCLA-OBTAB VALUE 'MARA',
V_LANGU LIKE SY-LANGU,
V_DATUM LIKE SY-DATUM.
V_LANGU = 'EN'.
V_DATUM = SY-DATUM.
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
CLASS = V_CLASS
CLASSTEXT = 'X'
CLASSTYPE = V_CLASSTYPE
CLINT = 0
FEATURES = 'X'
LANGUAGE = V_LANGU
OBJECT = V1_OBJECT
OBJECTTABLE = V_OBJECTTABLE
KEY_DATE = V_DATUM
INITIAL_CHARACT = 'X'
NO_VALUE_DESCRIPT =
CHANGE_SERVICE_CLF = 'X'
INHERITED_CHAR = ' '
CHANGE_NUMBER = ' '
TABLES
T_CLASS = T_CLASS
T_OBJECTDATA = T_CLOBJDAT
I_SEL_CHARACTERISTIC =
T_NO_AUTH_CHARACT =
EXCEPTIONS
NO_CLASSIFICATION = 1
NO_CLASSTYPES = 2
INVALID_CLASS_TYPE = 3
OTHERS = 4 .
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE T_CLOBJDAT INDEX 2. " KEY 'MAT_CHAR_THICKNESS'.
IF SY-SUBRC = 0.
T_OUTPUT1-THICK = T_CLOBJDAT-AUSP1.
ENDIF.
Please close the thread if your query in answered
Reward points if helpful.
Regards
Zarina -
Function Module to get ABAP source code for a specific version
Hi all
Is there a function module that I can use to get the source code of another function module at a specific version?
For example, can I call a function module passing in "FM_NAME" and "FM_VERSION" and have it return the lines of code associated with that object?
Thanks in advance.
StuartThanks guys
That's incredibly helpful! I have one more question that I just thought of last night...
Is there a way to hook into the code activation process? I want to be able to take a snapshot of the ABAP source code at each point when it is activated for use in another system, but need to be able to intercept this event and get the source code at that point in time.
Any ideas?
Thanks! -
Bapi or Function Module to do the availability check for Planned Orders
Hi all,
I need a Bapi or a Function Module to do the availability check for a Planned Orders. Anyone knows how?
I will use it in an Exit.
Thanks in advance
Points will be givenI think I found it.
If anyone is searching for it too, we will use these one:
CO_ZA_AVAIL_CHK_ORDER_MULTI -
Function module to find the attachment list for an accounting document?
Is there a function module to find the attachment list for an accounting document? Or which table stores such references?
I know I can find this info from the transaction FB03, but is there a function module to find the attachments for an accounting document? So far I only found the attachments are stored in the table SOOD, and archived documents in table TOA03, but I can't find the table that stores the links between the accounting document and its attachments?
<b><REMOVED BY MODERATOR></b>
Thanks,
Ning
Message was edited by:
Alvaro Tejada GalindoHi,
i_object1-typeid = 'YARSATTA'. "<<< Give your Object id name
i_object1-catid = 'BO'.
i_object1-instid = i_yarsitem-docno. "<<<< Document Number
call method cl_gos_attachment_query=>count_for_object
exporting
is_object = i_object1
ip_arl = space
receiving
rt_stat = i_stat1.
read table i_stat1 into wa_stat1 index 1.
if sy-subrc eq c_0.
move wa_stat1-counter to v_attno1.
endif.
For link you need to check for table SRGBTBREL
and also please check class CL_GOS*
a® -
Classification data for sold to party BP with BAPI_BUPA_CLASS_ADD
I need to add classification data for sold to party business partner that I created.
Business partner-->General Data->Classification-->
Classification -
> I need to check the check box for customer and also
Business partner--->General Data-> Classification----->R/3 integration---->Account Group I need to put 0001.
How should I do this? I am making use of the BAPI BAPI_BUPA_CLASS_ADD.
Here I need to pass values to CLASSIFICATION.
I donu2019t know what values I need to pass to this import parameter CLASSIFICATION.
When I go and see the structure of it, I find that the following fields are there.
CLASSCAT, CRIT1, CRIT2, CRIT3, CRIT4, CRIT5, ATTRID, VALUE.
What values should I pass so that I can add classification data to my sold to party business partner such that the Customer check box is checked and in R/3 integration- Account Group I put 0001.
I tried hard but unable to get information on how to put classification data in sold to party---> General Business Tab.
If some one encountered this earlier, please help me with some info on the same.
Regards,
Jessica Sam
Edited by: jessica sam on Nov 15, 2008 2:31 PMJessica,
Try looking at the following: BAPI_BUPA_FRG0040_CREATE
Note that if you already have maintained Sales Classifications then you'll have to use the _CHANGE version.
It has the importing structure of type BAPIBUS1006040_SALESCLASS and so you could for example populate it's fields as shown below and using the structure when calling the above BAPI:
DATA
IS_COMPETITOR
IS_PROSPECT
IS_CONSUMER
IS_CUSTOMER X
CUSTOMER_SINCE
IS_COD_CUSTOMER
INDUSTRY
IS_RENTED
ACCOUNT_GROUP 0001
NIELSEN_ID
CLASSIFIC
ATTRIBUTE
ATTRIB_2
ATTRIB_3
ATTRIB_4
ATTRIB_5
ATTRIB_6
ATTRIB_7
ATTRIB_8
ATTRIB_9
ATTRIB_10
Regards,
Brad -
Function module which uses both BAPI's for sales order create and change
Please name the function module which uses both BAPI's for sales order create and change.
BAPI_SALESORDER_CREATEFORMDAT2
BAPI_SALESORDERCHANGEYup.
you must write a piece of code for this.
with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
logic somethig like this.
Amit. -
Function module to display the card details for the tcode BCA_CN_card_03
HI all,
I need to know the function modules to create the card data and also to display the card details in accounts management in CRM.
Points will be awarded.
Thanks and regards,
vinoth.1 BUPA_ADDRESS_GET_DETAIL
2 BUPA_IDENTIFICATION_GET_DETAIL
BUPA_IDENTIFICATIONDETAILS_GET
3 BUPA_TAX*
4,5 BUPA_PCARD* -
Function Module to change the master data attachments?
Dear Experts,
In SAP we can enclose the attachments for the Master data. Do we have any standard function module to change the Master data attachments.
Let me know if any?
Thanks and regards,
ReddyHi Reddy,
Please make use of function module :
BINARY_RELATION_CREATE_COMMIT
For detailed information on how to use the FM please see the thread below:
USE OF THIS fUNCTION MODULE
Regards,
Dilek A.
Maybe you are looking for
-
How do i use activeX to open and display a MS Excel workbook using LabVIEW?
I have created the attached vi to try to display the excel file ODSHelp.xls however when it is run nothing seems to happen, if you run it again you get a message saying that it is already open. Attachments: activeX_for_excel.vi 27 KB
-
How can I see my Itunes card balance that have already been redeemed.
How can I see the money that I have availabe on my Itunes account. I have already entered the redeem code. I don't know how to use the money in my I tunes account. Any information on how to do this will be greatly appreciated.
-
My V1 video app is use on my iPhone and iPad but I can not get them to merge when I back up to the iCloud. I want to be able to take the video of a swing with the iPhone and play it back on the iPad. What am I missing?
-
Best way to restore missing photos
My iPhoto library consists of about 8,000 photos in 150 events. I recently discovered that a number of photos are missing (perhaps several hundred). I'm not sure how, why or when they went missing, and they're scattered across various events so the p
-
Can't see shared windows printer all the time
The printer was set up when I was able to see the windows workgroup with finder, and then I went to setting to set up the printer (need to choose windows printer). It was working when I tested it. Later when I want to print, it says connection r