FM to maintain classification characteristics
Hello!
In a defined process the user may have to maintain characteristics of a certain document class (class type: 017) which are marked as obligatory. The user should not have to enter the relevant document.
My question:
Is there a function module to display a popup which allows to maintain the characteristics of the document class?
Thanks in advance!
Kind regards
Wolfgang
Hi,
Then this fm
CLAF_CLASSIFICATION_OF_OBJECTS
function module for retrieving values of the Characteristics?
Regards
Similar Messages
-
Purpose of maintaining classification view in material master
Hi gurus
can anyone explain Purpose of maintaining classification view in material master with example
Regards
Vishal...Hi
One of the reason we maintain classification is for batch management where characteristics like shelf life expiry date is being attached to a class & that class is maintained in material master so whenever transactions takes place it will read from the characteristics value.
the other purpose is with variant configruation, for a configurable material there will be more than one characteristics for ex: in a car it comes with A/C - non a/c, metallic - non metallic, normal steering - power steering all these are mainatained as characteristics & assigned to a class & we use that class in classification for materials.
there is many more advantages & ways of using classification in material master.
Regards
Rang -
"How to pass classification characteristics while creating batch" ?
Hi,
I am using FM's BAPI_BATCH_CREATE/CHANGE while creating/changing batch I have to maintain classification data aswell.But in FM docu i saw as shown below
1.Create the classification of a batch in the background (object characteristics only)
2. If the batch is to be classified, you must specify a class in the BatchControlFields parameter. Only single classification is possible.
According to above statments I have passed class name in Batch Control Fields but I am unable to find " How to pass classification characteristics while creating batch". Please tell me how to pass classification characteristics in background?
Edited by: Vijay Babu Dudla on Dec 16, 2008 3:24 AMHi, You can update classification for a batch using the following code.
But first, you'll need to find out that the batch management is cross-plant or plant dependant.
If it is cross plant then plant(WERKS) is not part of the key to BAPI_OBJCL_CONCATENATEKEY.
CLEAR: objectkey, objectkeytable, objectkeytable[],
allocvaluesnumnew, allocvaluesnumnew[],
return.
objectkeytable-key_field = 'MATNR'.
objectkeytable-value_int = matnr.
APPEND objectkeytable.
objectkeytable-key_field = 'CHARG'.
objectkeytable-value_int = charg.
APPEND objectkeytable.
* Only if Batch management is Plant dependant
objectkeytable-key_field = 'WERKS'.
objectkeytable-value_int = werks.
APPEND objectkeytable.
CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
EXPORTING
objecttable = objecttable
IMPORTING
objectkey_conc = objectkey
TABLES
objectkeytable = objectkeytable
return = return.
allocvaluesnumnew-charact = "characteristic name goes here".
allocvaluesnumnew-value_from ="characteristic value goes here".
APPEND allocvaluesnumnew.
allocvaluesnumnew-charact = "characteristic name goes here".
allocvaluesnumnew-value_from = "characteristic value goes here".
APPEND allocvaluesnumnew.
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = objectkey
objecttable = 'MCHA' " MCH1 in case of cross-plant batch management
classnum = classnum " Classification class number, as used in MSC2N
classtype = classtype " Classification class type, as used in MSC2N
* STATUS = '1'
* STANDARDCLASS = STANDARDCLASS
* CHANGENUMBER = CHANGENUMBER
* KEYDATE = SY-DATUM
* NO_DEFAULT_VALUES = ' '
* IMPORTING
* CLASSIF_STATUS = CLASSIF_STATUS
TABLES
allocvaluesnumnew = allocvaluesnumnew
allocvaluescharnew = allocvaluescharnew
allocvaluescurrnew = allocvaluescurrnew
return = return
* Do not forget to commit, otherwise changes would not take effect.
commit work.
Regards,
Hashir Ahmed -
How to transfer the classification characteristics of MM to COPA?
I have been trying to bring the classification characteristics of MM to COPA.I don't have a match for those in COPA and I am unable to get those values thru table look up from KSML, KLAH or AUSP into COPA.Could anyone please help me out.
Thanks,
SwapnaHi
I am understanding that you want to derive COPA characteristics based on some Classification values. But what you need to understand is that the values flows to COPA from SD when you either post a Sales order or Billing Document.
So you need to explore what classification data is available in Sales order or Billing Document for the material, check those tables of SD only those values can be used in Derivations to derive the characteristics.
I hope it helps.
Regards,
Suraj -
Update the classification characteristics for equipment in MIGO
Hi Friends,
I have a requirement to update the equipment classification characteristics while doing goods receipt in MIGO.
we have an exit where the equipment number is available - EXIT_SAPLIE01_005, however i do not see any where the interface to update the classification characteristics.
Appreciate any help on this.
regards
Nalinikanth.I was unable to find a FM to do this. I ended up using a BDC to accomplish the feat!
-
BAPI for Finding Materials which have Classification Characteristics
Hi,
Does anyone know of an RFC or BAPI to return a list of materials which have a specific Classification Characteristic
Most of the functions I've found will return the all the classification characteristics if you know the material number and the class.
The other search tools and reports all seem to work with the SAP GUI and are quite interactive. I need to be able to execute an RFC or BAPI without SAP GUI.
In my case, I know the Class Type and Class and I know the characterstic and attribute value but need a list of matching materials.
Thanks
PaulHi Ashok
Actually my requirement is that i want to post the Vendor expenses thro' Vendor Portal and for that Validation will not helps us.
So thro' BAPI 's only we can post the expenses ...........
I suppose that its clear for you now.
Revert
Regards
Praveen -
Second thought about extracting classification characteristics values
Hello expert:
I have a question about uploading material classification data into BW, I know I can extract this classification data by new datasource set up by transaction CTBW. this is the normal way to extract classification data . I just want to do it in another way technically. My question is : can I enhance some BC datasources such as : 0EC_PCA_3, in this way, I will do this enhancement as follows:
(1) enhance transaction DS by classification characteristics , such as 0EC_PCA_3.
(2) customize master DSes for classification characteristics.
(3) create infoobject in BW corresponding to classification characteristics
(4) put those infoobjects into the same dimension as material in the infocube which is the datatarget for 0EC_PCA_3
(5) load master data for those infoobjects for classification characteristics
(6) load transaction data for enhanced transaction DS 0EC_PCA_3
by the procedure, I also can get the information for those classification characteristics, please correct me .
Many Thanks.Hi,
You can use CMOD to enhance 0MATERIAL_ATTR as an alternative to CTBW transaction but keep in mind that Material classification has to do with master data.
That is the main reason why enhancing transactional data datasources with master data attributes should be avoided if possible. Even if you need to report on historical truth, you can accomplish it by using Read master data feature on transformations (for example, when you load your InfoCube, you can read material classification master data from 0MATERIAL instead of 0EC_PCA_3).
Regards,
Maximiliano -
Derivation of Material classification Characteristics values in COPA
Hi,
Although similar type of questions are there in Forum, But I did not find the correct solution, hence I am putting this thread.
My question is , in classification view of material master we have Class type - 23 (Batch).
We are maintaining many chracteristics and their values in the material master.
Now my requirement is whenever the billing is done for any sales order having this material, all the characteristics and its value should flow to COPA.
Although the details are there in table AUSP. But I am not finding any way out to derive these characteristics and its value or get these information in COPA.
Please help.
Regards
KamiHi Ajay,
The attribute tab is not available in MOVE. Is there any other place where I can find this attribute tab.
While doing the Analysis of derivation, it showing the message :
*"Derivation was not carried out. Reason: Not available"*
Both Source field and Target filed is showing blank. I am not able to figure out the reason.
Is there any relation with Class Type. We are using here Class Type - 23 (Batch).
And in KEDR , in MOVE as you suggested I am using Source Vield VCONF.
I hope these are OK.
I am using the User defined characteristics WW09 , with own value maintenence. Is this OK?
What could be the possible reasons for not populating the data.
regards
Kami -
Make Vendor Classification characteristics mandatory
All,
We have a vendor classification class and a characteristic. We have defined this characteristic as mandatory in transaction CT04. However when I create or change a vendor (transaction XK01/XK02) and go into classification I am still able to save the document without filling in reqired fields. I do get a popup saying that I haven't filled out the required field, but if I just press OK I'm still allowed to save even if some of the classifications mandatory characteristics are blank.
We really want users to be forced to fill in all required characteristics. Is there a way of doing this? There is a SAP Note - 661368 - BAdI for required entry field check in the classification. Even by making the fields mandatory in the BADI, we are able to go back to the prev screen.
I also tried implementing a user exit - EXIT_SAPLCLFM_002 (include ZXCLFU02). The pop up works, but we land up with some other issues like additional tabs coming on the screen or the SAP pop up coming up (resulting in 2 pop ups). So I am thinking is this may not be our solution.
Hope that you can give valuable responses to my issue above.
Thanks! LizHi,
Try This by writing code in user exit SAPMF02K
sample code
IF I_MSEG-SOBKZ = 'E' AND I_MSEG-KZBWS IS INITIAL.
MESSAGE E002(ZSD01).
ENDIF.
Srikanth -
Making Vendor Classification characteristics mandatory
All,
We have a vendor classification class and a characteristic. We have defined this characteristic as mandatory in transaction CT04. However when I create or change a vendor (transaction XK01/XK02) and go into classification I am still able to save the document without filling in reqired fields. I do get a popup saying that I haven't filled out the required field, but if I just press OK I'm still allowed to save even if some of the classifications mandatory characteristics are blank.
We really want users to be forced to fill in all required characteristics. Is there a way of doing this? There is a SAP Note - 661368 - BAdI for required entry field check in the classification. Even by making the fields mandatory in the BADI, we are able to go back to the prev screen.
I also tried implementing a user exit - EXIT_SAPLCLFM_002 (include ZXCLFU02). The pop up works, but we land up with some other issues like additional tabs coming on the screen or the SAP pop up coming up (resulting in 2 pop ups). So I am thinking is this may not be our solution.
Hope that you can give valuable responses to my issue above.
Thanks! LizHi,
In the standard system you are always allowed to save the classification
even if it is uncomplete, you receive the warning message about the
required characters and if you save anyway, instead of preventing the
save it will change the status of the classification from '1' (Released)
to '3' (Incomplete). This is standard as the user should be allowed to
save the classification when incomplete and then come back later to
complete it at a more suitable time.
There is a userexit which you can use to change this functionality,
please review note 337262 which explains how to use this userexit
to prevent the save of incomplete classification.
Best regards,
Sandra -
Classification - characteristics
Hi,
In classification we have certain document types have common characteristics, the rest chara. changes as per the document types. What needs to be done so that user gets those chara. automatically in document types.
Thanks.
Anirudh,Dear Anirudha
Also please add the class details in DC10 for each doc type.
Regards
Sandeep -
How can I get customer classification characteristics?
Lots of examples in SDN on materials but very limited on customers for this.
I have a functional spec that says to get the user ID I must "take the ZANALYST characteristic of the class ZDEDUCTION on the customer master record".
Okay so the "Z" values are unique values we are using here at the client's site.
I have found that I need to use the FM 'CLAF_CLASSIFICATION_OF_OBJECTS' but how and what to pass is greek to me.
One link here says to "Use CLAF_CLASSIFICATION_OF_OBJECTS. Pass the customer number (internal format) to Object Id, and the KLART value, you will get the values.".
What is meant by the internal format of the customer number and where do I get this?
What is the KLART value?
I know this FM is used for material characteristics but how do I tell it this is for customer characteristics?
What customer tables (tables not structures!) have the values I need to determine
the values required to pass to this FM? Can I start with KNA1, KNB1, etc?
If any one has sample code on how this is used - I will ensure you get max points!
Thanks!
ScottHi,
Try to use fm VC_I_GET_CONFIGURATION. (This is for object you want to read is configurable (Class types 200, 201, 300). all others use BAPI_OBJCL_GETDETAIL.
if above not possible
I think
Object table comes from TCLA-OTAB. and your class type TCLA-KLART drives it.
I think for every class there will be unique entry in TCLA based on your class type select the TCLA-OTAB
May this will help you
aRs -
Extract Vendor Classification characteristics to BW
Hello,
Iam tryingto load vendor Classification charateristics like "minority indicator" with multiple values.
Iam using CTBW to create a data source,it is giving an error "chararectistic has multiple values"
I did see some some other posts suggesting to change this error to warning etc.
Has any one created a DS using CTBW before.
Pls suggest
Thanks
JagadishHello,
Iam tryingto load vendor Classification charateristics like "minority indicator" with multiple values.
Iam using CTBW to create a data source,it is giving an error "chararectistic has multiple values"
I did see some some other posts suggesting to change this error to warning etc.
Has any one created a DS using CTBW before.
Pls suggest
Thanks
Jagadish -
How to read Material classification/characteristics
Dear all,
I have to read the characteristic values belonging to a material.
I found some threads about BAPI BAPI_OBJCL_GETDETAIL_KEY and BAPI_OBJCL_GETDETAIL but I don´t know how to call them.
First Question: Is this the right way/function to read the characteristics from one material? If no what is the "right" way?
Second Question: How to call this beast for one material?
Kind regards and thanks for any help.
Roman BeckerDATA: w_obj LIKE bapi1003_key-object,
w_tab LIKE bapi1003_key-objecttable VALUE 'MARA',
w_typ LIKE bapi1003_key-classtype.
w_obj = MATNR.
w_typ = '001'. " Material Class
W_tab = 'MARA'.
CALL FUNCTION 'BAPI_OBJCL_GETCLASSES'
EXPORTING
objectkey_imp = w_obj
objecttable_imp = w_tab
classtype_imp = w_typ
read_valuations = 'X'
TABLES
alloclist = it_alloclist
allocvalueschar = it_values_c
allocvaluesnum = it_values_n
return = it_return.
The key here is the parameter <b>objecttable_imp</b>
This parameter should be the Key Master table of the object.
Since this is Material Master it is MARA for Customer 'KNA1' and so on. -
Function Module for Vendor Classification characteristics
Hello,
Iam trying to extract Vendor Classification characteristic values for each vendor into BW.
I see the drawbacks of using CTBW to creata a datasource,
1. you will only get the first value of a characteristic.(as multiple values are not supported)
2.You will get a seperate datasource which would only give the characteristic values , then again I need to join related infoobjects to 0VENDOR_ATTR info objects.
Pls suggest the best way to achive this.
Thanks
Jagadishhi Jagadish
yes you are right if you multiple value it is not pertinent to use tx ctbw.
A good way would be to create a generic ds based on a function module that deals with call function with a bapi.
regards
Boujema
Maybe you are looking for
-
How can I change the organization information on my trust profile?
I'm re-configuring Lion Server for a company who has changed their name, domain, etc. I have everything updated SSL cert, Code signing cert wise to their new name. However, the trust profile still has the OLD organization name. How can I change this?
-
FTPS through S160 webproxy ironport
We are using S160 ironport for Web as well as FTP proxy. Now we would like to add FTPS port 990 to go through ironport. We could access the target files through filezilla without using the proxy, but cannot do it if we use the proxy. Could someone pl
-
Unexpected Quit Indesign & Photoshop CS2
Random quits multiple times per hour. Have yet to figure a common scenario. Would like to upload crash log for most current Indesign quit. Can anyone assist me in this? 10.4.11, 2.4 GHz Intel Core 2 Duo, 2GB RAM, IMAC Please help.
-
I have a mac mini with os x 10.7 server installed. I want to access my files remotely over the Internet from my macbook pro and my wife from her macbook air. Do I need a vpn router to set up file sharing over the Internet? or will the vpn setup in o
-
How the heck do I ask a question. A code keeps coming to open my account but when I click on it it says it has been used but I did not use it so I am unable to get into my Skype Solved! Go to Solution.