Isuue in IW21 : CLFM_OBJECT_CLASSIFICATION

Helli,
I would like to asaign charecterstics for PM notification in IW21.
I am using calss type 'FNT' .Under this type there are two classes(A and B).
In IW21, I put two push buttons two assaign charecerstc values for A and B.
For this I am using the Function Moudle : CLFM_OBJECT_CLASSIFICATION.
ISSUE :  When I assagin charecterstics to 'A'... same charecterstics are copying to 'B' class.
But I would like to assagin for A and B differently.
Please  give me solution
Regards
NSR

Are you assigning the same object to 2 different classes?  If yes, do the 2 classes each have some of the same characteristics? Are these the characteristics that are "copying" over?
If this is the case, then I believe you have a misunderstanding of the way classification works.
You cannot assign different values to these characteristics, they are shared and only one value (or set of values for multivalue characteristics) is captured to the object.  If you want different values you will need to have use different characteristics for each value.

Similar Messages

  • CLFM_OBJECT_CLASSIFICATION

    Dear All,
      I am working with the PM Notifications, transaction code IW21.  In this transaction for a 'Z' notification i put a 'SERVICE' button.  When this service button is pressed, then the function module CLFM_OBJECT_CLASSIFICATION will executes and displays a Characteristic screen.  In this screen, user will enter the data.  I want to capture this data.  Inside the funtion module CLFM_OBJECT_CLASSIFICATION, the user entered data is storing in 'allausp' table.  But the function module is not returning this data.  I want to capture this data.  Please give me your inputs to extract this data.
      Thanks in advance.

    Hi Kishore / Pasala,
    how can i update classification data for Vendor Master using the FM CLFM_OBJECT_CLASSIFICATION ??
    Any inputs on this are highly appreciated.
    Thanks and Regards,
    Mallika.

  • Scroll bar visible but not able to scroll in custom screen for IW21

    Hi,
    We are using custom tab (screen exit) in transaction for creating notifications (TCode IW21). Two subscreens are configured to be embedded in the tab, combined area of which is exceeding screen size vertically. The scroll bar is visible in the tab but is not able to scroll using mouse scroll, but can be dragged up and down.
    Does anyone know how to make it scrollable or make the scroll bar visible at application level (not in tab) and make it working?
    Thank you,
    Deepak

    Hello,
    Would you please implement the Methods GET_DATA to get th data from Databas to screen fields and SET_dATA to update thedata from custom screen fields to Data base table in u r case LFB1.
    Regards,

  • SAPSQL_ARRAY_INSERT_DUPREC in iw21

    Hi Experts,
    we have upgraded EHP1 to EHP4 .After upgradation, if i am trying to create the notification in iw21 and assign an order to the notification and while saving it is getting saved. and issueing order no as 'X'(X belongs to different order type )..
    And if i run Tcode iw22 ,if i check the order no (X) linked to the notification order no is  not available.
    If i see the st22 it is telling the error "SAPSQL_ARRAY_INSERT_DUPREC' and if i see the ABAP editor it is showing the error in
    funtion module STATUS_UPDATE  in include  LBSVUU01 from the program SAPLCOZV
      IF sy-tabix > 0.
        INSERT jsto CLIENT SPECIFIED
                    FROM TABLE jsto_ins."
    i have searched for the notes 970434, 82295.But i think that will not solve the issue. i dont know which note should be applied.
    Could you please help me to solve the issue.

    Such problems usually occur because of misaligned number ranges or incorrect custom code (enhancements, user exits and the like). It is difficult to give you the exact reason without analyzing the actual dump you are getting.
    The program terminates because it tries to insert a new status entry for the notification in the status table (JSTO). Apparently an entry with the same key exists already in this table that belongs to an already existing notification. The key for JSTO is derived from the notification number, it starts with QM...
    Check the dump to see what the notification number is (in internal table jsto_ins) and verify the number range statuses. Adjust the number range of the notification type if necessary so that it doesn't overlap with already existing notifications in the DB.
    Also, if you do have custom code / enhancements that are executed, it's possible that there is an illegal COMMIT that causes standard tables to get updated too early. If the number ranges are OK, that's also a possible area to check.

  • IW21 Retrieving the maintenance cycle text while creation of work order

    Hi Experts,
    My requirement is to display the maintenance cycle text on the print preview while creating a work order via transaction IW21.
    Since the print preview is clicked before saving the work order, the data from the work order has not been updated in the database tables (AFVC, PLWP).
    Hence, the maintenance cycle text will have to be accessed through a runtime structure.
    The text has to be fetched in a subroutine program which is called from the SAPscript.
    I tried accessing the global data while debugging. However, the maintenance cycle text does not seem to be present.
    Please help.
    Regards,
    Anusha

    It is inappropriate to produce a SAPScript prior to save, IMHO.  What prevents the user from changing something after the print preview was done in this case?
    At any rate, you'll find that some data values, like document numbers, etc., are not set until the user has saved the document.   The document needs to be saved, and SAPScript generated at the end of that process.

  • Enable 'Attachment List' in IW21/22/23 - Notification

    Hi All,
    I am trying to enable the link 'Attachment List' from 'Services for Object' in transaction codes: IW21/IW22/IW23. After clicking on this link, i need to display all the email attachment available to the particular notification in the popup which will appear on the screen. I want to enable below marked link.
    Can anyone suggest how to achieve this..
    Thanks,
    Ketan

    Hi Ketan,
    It looks to me an issue with missing authorization.
    Refer SAP note below for required objects to have them enabled
    491271 - Authorizations for generic object services
    Hope this helps.
    Regards,
    Deepak Kori

  • Adding field in table control of  standard transaction IW21 / IW22 / IW23

    Hi ,
    My requirement is to add a field in the table control in Transaction IW21/22/23 program SAPLIQS0  screen number 7334.
    This screen is triggered when notification type is 'M4'.
    Is it possible?
    if yes , please throw some light on how to achieve it.
    Thanks in advance
    Prakash
    Edited by: Prakash Nawale on Feb 17, 2010 8:48 AM
    Edited by: Prakash Nawale on Feb 18, 2010 5:31 AM

    You can add additional fields to the details sub-screen (SAPLIQS0-5010) via user-exit QQMA0012 (User Subscreen for Additional Data on Activity)
    But from memory the system will not add these to screen 7334
    PeteA

  • User Exit / BADI for Header Text in IW21

    Dear All,
    I have an requirement to update a header text of IW21 (Creating Notification) with some condition, ie., Header Text should be updated with different text (some information along with entered text) depends on Notification type and Functional Location.
    Is there any User Exit / Badi to do this ?
    Could any one help on this regard ?
    Thanks and Regards,

    Hi,
    Below are the exits for the Transaction Code - IW21.
    Exit Name Description
    IWO10026 User check on setting status 'Do not perform'
    IWO10027 User exit: Generate user-defined settlement rule
    IWOC0002 PM/SM notification: Check whether status change is allowed
    IWOC0003 PM/SM authorization check of ref. object and planner group
    IWOC0004 Change single-level list editing PM/QM/SM ALV settings
    IWOC0001 Create PM/SM notification: Determine reference object
    Check each which can server your purpose.
    May be EXIT_SAPMIWO0_020 might suit your purpose.
    Regards,
    Vijay V

  • Problem Facing in IW21 for SAP PM.

    When i am trying T code IW21 in that, i am  not getting the field PERSON RESPONSIBLE in SPRO, can any one tell me the path.

    hi,
           U can try this T-code OIAL. in that u can select the field selection for Person responsible as Input field
    Thanx
    SJ

  • Use of function CLFM_OBJECT_CLASSIFICATION

    Hi,
    I create, with MM01, a material LAODS10012.
    It's necessary that a material suffixed by '00' exist in MARA : LAODS10000.
    LAODS10000 has two classes in classification view : PLANNED and OBJECT.
    During the creation, a class ME_MATERIAL was created for material LAODS10012 with one characteristic MER.
    This characteristic exists in the class PLANNED of material LAODS10000 ; I want to retrieve it.
    I use the function CLFM_OBJECT_CLASSIFICATION with following parameters :
    CALL FUNCTION 'CLFM_OBJECT_CLASSIFICATION'
    EXPORTING
    class                    = 'me_material'
    classtype                = 'z01'
    initflag                 = 'x'
    meins                    = e_marau-meins
    multi_classif            = space
    object                   = 'LAODS10012'
    objtxt                   = w_makt_maktx
    ptable                   = 'MARA'
    ref_object               = 'LAODS10000'
    ref_datuv                = sy-datum
    status                   = '1'
    table                    = 'MARA'
    language                 = sy-langu
    IMPORTING
    class                    = class
    classtype                = classtype
    class_text               = class_text
    ok_code                  = ok_code
    typetext                 = typetext
    updateflag               = updateflag
    update_per_call          = update_per_call
    internal_obj_number      = internal_obj_number
    same_classify_by_copy    = same_classify_by_copy
    EXCEPTION....
    For material LAODS10012, the characteristic MER of class ME_MATERIAL id filled.
    On the other hand, the class OBJECT of material LAODS10000 is copied in classification view of material LAODS10012 when I don't want it.
    This function with same parameters operates with an other material type and other classes.
    Can you help me ?
    Thanks,
    Janny73

    Help me please !

  • BAPI to create a PM notification with a task list (as in IW21)

    Hi to all,
    my question is: is there a bapi to create a PM notification in which I can add a task list? A bapi with which I can simulate the transaction IW21.
    Thank you very much,
    Antonio

    Hi,
    Try using the Bapi.
    BAPI_ALM_NOTIF_CREATE
    Also use this BAPI_ALM_NOTIF_TASK_COMPLETE  to complete the task.(if the task is not getting updated)
    Then use  BAPI_TRANSACTION_COMMIT.
    Regards,
    Raj.

  • Any bapi for t.code IW21

    Hi experts,
    when i want to add notification in IW 21 tcode  for that i am using this
    BAPI_ALM_NOTIF_DATA_ADD but it's not woking . any one send me sample code for that .
    thank you for advance.
    with best regards
    vas

    Hi,
    you can use these FM's ALM_PM_NOTIFICATION_CREATE , ALM_PM_NOTIFICATION_SAVE and  BAPI_TRANSACTION_COMMIT to create entries in IW21
    See this sample code.
    *& Report  Z94406_BAPI_ASSIGNMENT
    DATA : ITAB TYPE BAPI2080_NOTHDRI,
           NOTNO LIKE BAPI2080_NOTHDRE-NOTIF_NO,
           NOTIF LIKE BAPI2080-NOTIF_TYPE,
           p_filename TYPE STRING,
           notifheader_export TYPE BAPI2080_NOTHDRE,
           notifheader TYPE BAPI2080_NOTHDRE,
           RETURN TYPE TABLE OF BAPIRET2 WITH HEADER LINE,
           RETURN1 TYPE TABLE OF BAPIRET2 WITH HEADER LINE,
           RETURN2 TYPE BAPIRET2,
           MSG TYPE BAPIRET2-MESSAGE,
           TYP TYPE BAPIRET2-TYPE.
    DATA: BEGIN OF DATA_TAB OCCURS 0,
          notype TYPE QMEL-QMART,
          txt TYPE QMEL-QMTXT,
          floc TYPE IFLOT-TPLNR,
          END OF DATA_TAB.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETERS : p_file TYPE RLGRAP-filename.
    SELECTION-SCREEN END OF BLOCK b1.
        P_FILENAME =  P_FILE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = P_FILENAME
        filetype                      = 'ASC'
        has_field_separator           = '#'
      TABLES
        data_tab                      = DATA_TAB
    LOOP AT DATA_TAB.
      NOTIF = DATA_TAB-NOTYPE.
      ITAB-FUNCT_LOC = DATA_TAB-FLOC.
      ITAB-SHORT_TEXT = DATA_TAB-TXT.
    CALL FUNCTION 'ALM_PM_NOTIFICATION_CREATE'*
        EXPORTING
          notif_type               = NOTIF
          notifheader              = ITAB
        SENDER                   = SENDER
        ORDERID                  = ORDERID
        IMPORTING
          notifheader_export       = NOTIFHEADER_EXPORT
       TABLES
        NOTITEM                  = NOTITEM
        NOTIFCAUS                = NOTIFCAUS
        NOTIFACTV                = NOTIFACTV
        NOTIFTASK                = NOTIFTASK
        NOTIFPARTNR              = NOTIFPARTNR
        LONGTEXTS                = LONGTEXTS
        KEY_RELATIONSHIPS        = KEY_RELATIONSHIPS
         return                   = RETURN
    IF RETURN IS NOT INITIAL.
    MSG = RETURN-MESSAGE.
    TYP = RETURN-TYPE.
    MESSAGE MSG TYPE 'I'.
    ELSE.
      CALL FUNCTION 'ALM_PM_NOTIFICATION_SAVE'
        EXPORTING
          number      = NOTIFHEADER_EXPORT-NOTIF_NO
        IMPORTING
          notifheader = NOTIFHEADER
        TABLES
          return      = RETURN1.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait   = 'X'
        IMPORTING
          return = RETURN2.
    ENDIF.
    ENDLOOP .
    IF RETURN IS INITIAL.
    message 'The Notification is created' type 'I'.
    endif.
    Hope it helps.
    Regards,
    Syed

  • Report of Opening, Isuue, Receipt & closing stock

    Dear Expert,
    There is any report in which Opening, Isuue, Receipt & closing stock can be download with Qty & Value.
    I had try MB5B, in which information has been download in vertical format, but we need in horizantical format same data...so there is any other option.
    Kaushal

    Hello,
    You can do such manipulations in Excel
    In Excel
    Copy
    Then Edit ==> Paste Speical ==> Select transpose
    Your verticals will become horizontal and
    horizonals will become verticals.
    Regards,
    Ravi

  • Hide Person Responsible field for IW21

    Hello,
    As a business process requirement, we were requested to hide or greyout  the "Person Responsible" field in IW21.
    Can any one help us set that up.
    Thanks.

    To Hide,
    Config - SPRO  - PM & CS - Maintenance service processing - maintenance and service notifications - Notification creation - Partners - Define partner determine procedure and partner function - Assign partner functions to notification type - select the notification type and detail - remove selection from " Person responsible" ( Blank)
    To display
    Create transaction variant to display.
    -S.N

  • Drop down in IW21 & IW31 for notification & order type

    Hi all,
    I have configured around 7 different types of notification & order copying the standard notification & order type.In IW21 & IW31,apart from this standard notification & order type, other standard types are also being come while selecting relevant one.I had copied this from standard types to keep it for future reference.Without deleting the standard types in IMG, how can I stop to get populated from drop down list? Is it possible by auth. control?
    thanks in advance.
    rgds
    rajib

    Hi Rajib,
    When the user requests help (e.g. F4 or the icon), a dialog box appears.  The 4th and 5th buttons control what is in the personal (user's) list and whether the personal or all values list is displayed, respectively.  When the all values list is displayed, if the user selects a value (single-click not double-click) and presses the add to personal list button, the value is added to the user's personal list.
    To display the personal list, press the 5th button, personal value list.  The user's list will be displayed and the 4th button changes to delete from personal list.  The 5th button also changes to display all values too.
    Whichever list is last used for selecting a value will be displayed first when the user request value help again for that field.  If the user is not seeing either of these buttons, either a configuration setting is missing, that field doesn't allow personal lists, or it could be an authorization issue.  I have tested both IW21 and IW31 on my system and both allow personal lists.
    Regards,
    Brian

Maybe you are looking for

  • Reporting action with a parameter

    Hi, I am having an issue setting up a reporting action with a parameter. The report I am trying open is non-cube based database report. I tried a few syntax variations for the parameter value such as: UrlEscapeFragment( [Dimension].[Attribute].Curren

  • Can't get rid of the # when adding text

    I'm trying to edit a document in Indesign. I started by doing a Pre-Flight to correct errors and have one left I can't get rid of. Originally the Text Error was for a font that ID could not find so I changed the font to what was already being used fo

  • Condition Types In pricing

    Hi, While creating new condition types in pricing, we create them by copying them from exsting condition types. So while doing this which reference condition types should we select for copying new one?

  • How to opened the Query in WEB

    Hello:    Now the <b>IGS</b> has ready, I can click the query in favority when login on bw by GUID. But I can not find the fuction to open the query in WEB. Is there other thing I didn't do? Hope someone can give me some advice. Regards&Thanks! zagor

  • Log and Transfer in FCP7 from Firestore HD100

    I recently did the upgrade from FCP6 to FCP7 in order to take advantage of the log and transfer capability for file based media. I have a JVC HD200 camera with a Firestore MR-HD100 drive attached. I have as yet had no luck at all getting FCP7 to reco