User exit CONFPP05, how to use data

Hello,
I need to use user exit CONFPP05, because I need to trigger a printout when there is a specific operation number entered in CO11n.
My question now: how can I use the operation number I enter in CO11n in the user exit CONFPP05 ?
I tried to use table AFRUD and field VORNR, but when testing it with a break point, the field was just empty.
*&  Include           ZXCOFU15                                         *
TABLES:   AFRUD.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
TEXTLINE1 = 'hallo'
EXCEPTIONS
OTHERS = 1.
So what do I have to do to use this field here?
Thanks

Dear,
Please refer the OSS note 11104 which contain all details of printing.
Regards,
R.Brahmankar

Similar Messages

  • What are user exits & enhancements & how to use those .

    What are user exits & enhancements & how to use those .

    Hi,
    BADI , Customer Exit / User Exit , Enhancement all are same.
    Customer Exit & User Exit terms were earlier used in case of R/3. Now in ECC 6.0 they are known as
    BADI means Business Add-Ins.
    BADIs :
    Use:
    SAP provides multiple implementations of Business Add-Ins (BAdIs), which enhance the functions of the Configuration Control component.
    In addition, there are multiple empty BAdIs available for implementing a customer-specific logic for special functions.
    Pls. find listed below some important PP Enhancements / BADIs :
    Exit name   Short text
    PPAPO002 Publication of APO Data in Transfer from APO to R/3
    PPAPO003 Production Order R/3->APO: Check if Operation is APO-Re
    PPAPO004 Planned Order Conversion from APO: New BOM Explosion?
    PPAPO005 Enh. of Relationships in Proc. Order during Transfer to
    PPAPO006 Influencing Initial Supply of Manufacturing Orders
    PPAPO007 Overriding Checkbox Fields for Production Order APO ->
    PPAPO008 Override Order Type for Planned Order Conversion
    PPAPO009 Customer Exit for Addition of Components and Items
    PPAPO010 Filtering Components out of Quantity Propagation
    PPAPO011 Performance-Related Adjustment of Remaining Duration
    PPCO0001 Application development: PP orders
    PPCO0002 Check exit for setting delete mark / deletion indicator
    PPCO0003 Check exit for order changes from sales order
    PPCO0004 Sort and processing exit: Mass processing orders
    PPCO0005 Storage location/backflushing when order is created
    PPCO0006 Enhancement to specify defaults for fields in order hea
    PPCO0007 Exit when saving production order
    PPCO0008 Enhancement in the adding and changing of components
    PPCO0009 Enhancement in goods movements for prod. process order
    PPCO0010 Enhancement in make-to-order production - Unit of measu
    PPCO0012 Production Order: Display/Change Order Header Data
    PPCO0013 Change priorities of selection crit. for batch determin
    PPCO0014 Select process orders for external relationships
    PPCO0015 Additional check for document links from BOMs
    PPCO0016 Additional check for document links from master data
    PPCO0017 Additional check for online processing of document link
    PPCO0018 Check for changes to production order header
    PPCO0019 Checks for changes to order operations
    PPCO0020 Process order: Display/change order header data
    PPCO0021 Release Control for Automatic Batch Determination
    PPCO0022 Determination of Production Memo
    PPCO0023 Checks Changes to Order Components
    PPCP0001 P.Cost Planning: Additional Cost Elements for Person
    PPEACT01 Customer Fields at Mode D
    PPECMP01 Customer Fields for CMP Node
    PPECMP02 Customer Fields: CMP Variants
    PPEGEN01 General Engineering Node: Customer Fields
    PPEMPA01 MPA Customer Enhancement
    PPEMPO01 Customer Enhancement for Material Planning Object
    PPEMPO02 Customer Enhancement for Model
    PPERES01 Customer Fields at RES Node
    Alternately you can find User Exits / BADIs in TCode : SMOD ( SAP Enhancements)
    Hope this helps.
    Regards,
    Tejas

  • What's the meaning of thes user exit, and how to use it?

    Hi gurus,
    I found two exits, USEREXIT_PRICING_CHECK  and USEREXIT_XKOMV_ERGAENZEN_MANU , can somebody tell me how to use these.
    prmoise to reward helpful answers.
    thanks in advance.
    elly

    hi
    <b>
    USEREXIT_PRICING_CHECK</b> (module pool SAPMV61, program MV61AFZA)
    You can install additional checks to the standard checks of condition lines (e.g. maximum/minimum value).
    <b>USEREXIT_XKOMV_ERGAENZEN_MANU</b> (module pool SAPLV61A, program RV61AFZB)
    You can use this user exit to change the ready-for-input fields of the manually entered condition record in add mode in the condition screen.
    Just have look below link
    http://help.sap.com/saphelp_40b/helpdata/es/14/f62c7dd435d1118b3f0060b03ca329/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/14/f62c7dd435d1118b3f0060b03ca329/frameset.htm
    regards
    vinod

  • BDC  in  user exit CONFPP05 - Material  already used by User

    I have requirement to  create  551 movement Scrap from CO11N  tcode whener user enters value for  'Yield'  and 'Reason for variance'   and press save button( Post).
    I am unable to use BAPI  because BAPI_GOODSMVT_CREATE (GMCODE 03= MB1A) since 551 mvmt can be done only through  custom Tcode  ZMB1A due to customization.  Only option left was calling BDC  for ZMB1A  ( Call trasnaction been used) .
    Problem:
    BDC works outside as report program , but hen  I call FM ( BDC) within userexit , it says Material lock by the user( Which is Me).
    Calling from UserEXIT  CONFPP05
    CALL FUNCTION 'Z_POST_SCRAP_GI'  ( Nothing but BDC  call tran)
      EXPORTING
       MODE          = 'N'
       UPDATE        = 'L'
        bwart         = mseg-bwart
        werks         = mseg-werks
        grund         = mseg-grund
        lgort         =  afpo-lgort
        matnr         = mseg-matnr
        erfmg         = mseg-erfmg
        erfme         = mseg-erfme
        aufnr         = afpo-aufnr
    TABLES
       MESSTAB       = MESSTAB .
    This one works as  report and not inside Userexit ( Returs errmsg already used by User which is myself).

    Here is the Dump,  I am taking about after calling FM with Update Task
    Category               ABAP Programming Error
    Runtime Errors         POSTING_ILLEGAL_STATEMENT
    ABAP Program           SAPLY_FGRP
    Application Component  Not Assigned
    Date and Time          03/06/2012 11:55:13
    Short text                                                                               
    Statement "CALL TRANSACTION" is not allowed in this form.                                   
    |What happened?                                                                               
    Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLY_FGRP" had to be terminated because it has                   
        come across a statement that unfortunately cannot be executed.                            
    What can you do?                                                                               
    Note down which actions and inputs caused the error.                                                                               
    To process the problem further, contact you SAP system 
        administrator.                                                                               
    Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also           
        keep them for a long time.                                                           
    Error analysis                                                                               
    There is probably an error in the program                                                    
        "SAPLY_FGRP".                                                                               
    This program is triggered in the update task. There, the            
        following ABAP/4 statements are not allowed:                                                                               
    -  CALL SCREEN                                                                 
        -  CALL DIALOG                                                                 
        -  CALL TRANSACTION
    -  SUBMIT
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "POSTING_ILLEGAL_STATEMENT" " "
    "SAPLY_FGRP" or "Y_ZMB1A_BDCREXCY"
    "BDC_TRANSACTION"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    Source Code Extract
    Line
    SourceCde
    27
                       HOLDDATE = P_HOLDDATE.
    28
      ENDIF.
    29
    *ENDFORM.
    30
    31
    32
      end batchinput session                                             *
    33
    34
    *FORM CLOSE_GROUP USING P_CTU LIKE APQI-PUTACTIVE.
    35
    IF P_CTU <> 'X'.
    36
    close batchinput group
    37
       CALL FUNCTION 'BDC_CLOSE_GROUP'.
    38
    ENDIF.
    39
    *ENDFORM.
    40
    41
    42
           Start new transaction according to parameters                 *
    43
    44
    FORM BDC_TRANSACTION TABLES P_MESSTAB
    45
    USING  P_TCODE
    46
                               P_CTU
    47
    P_MODE
    48
    P_UPDATE.
    49
    DATA: L_SUBRC LIKE SY-SUBRC.
    50
    51
    IF P_CTU <> 'X'.
    52
       CALL FUNCTION 'BDC_INSERT'
    53
            EXPORTING  TCODE     = P_TCODE
    54
            TABLES     DYNPROTAB = BDCDATA
    55
            EXCEPTIONS OTHERS    = 1.
    56
    ELSE.
    >>>>>
    CALL TRANSACTION P_TCODE USING BDCDATA
    58
    MODE   P_MODE
    59
    UPDATE CUPDATE
    60
    MESSAGES INTO P_MESSTAB.
    61
    ENDIF.
    62
    L_SUBRC = SY-SUBRC.
    63
    REFRESH BDCDATA.
    64
    SY-SUBRC = L_SUBRC.
    65
    ENDFORM.
    66
    67
    68
           Start new screen                                              *
    69
    70
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
    71
    CLEAR BDCDATA.
    72
    BDCDATA-PROGRAM  = PROGRAM.
    73
    BDCDATA-DYNPRO   = DYNPRO.
    74
    BDCDATA-DYNBEGIN = 'X'.
    75
    APPEND BDCDATA.
    76
    ENDFORM.
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    7 FORM         SAPLY_FGRP                          Y_ZMB1A_BDCREXCY                       57
    BDC_TRANSACTION
    6 FUNCTION     SAPLY_FGRP                          LY_FGRPU02                             81
    Y_POST_SCRAP_GI
    5 FORM         SAPLY_FGRP                          LY_FGRPU02                              1
    Y_POST_SCRAP_GI
    4 FORM         RSM13000                            RSM13000                             5513
    VB_CALL_FUNC
    3 FORM         RSM13000                            RSM13000                             5219
    VB_V1_EXEC
    2 FORM         RSM13000                            RSM13000                             3952
    VB_V1_NORMAL
    1 MODULE (PBO) RSM13000                            RSM13000                             3801
    VBEXEC
    Chosen variables

  • How can we find all the available  user-exits in sap without using SMOD?.

    How can we find all the available  user-exits in sap without using SMOD?.

    Hi,
    Please check this links for user exits list.
    http://www.planetsap.com/Userexit_List.htm
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/ab038.htm
    Regards,
    Ferry Lianto

  • ABAP-User Exit CONFPP05 (T-code co11n) ---- Duprec exception

    I'm currently working on user exit CONFPP05 (T-code co11n)
    I'm trying to validate shift hour not more than 8 hours.
    total_jam = v_iserh + v_ism01 + v_ism02 + v_ism04 + afrud_tab-ism01 + afrud_tab-ism02 + afrud_tab-ism04.
    IF total_jam > 8.
       MESSAGE 'Jam Total Shift > 8 !!!' TYPE 'E'.
    ENDIF
    and I'm facing a problem, when i give error message with type E.
    When the program execute that error, the program succesfully run the error message, buat after that, when I press ENTER or SAVE button, it give me runtime error
    here I catch some error
    "Exception condition "DUPREC" raised."
    Error analysis A RAISE statement in the program "SAPLCORB" raised the exception condition "DUPREC". Since the exception was not intercepted by a superior program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    Trigger Location of Runtime Error
    Program                                 SAPLCORB
    Include                                 LCORBU08
    Row                                     100
    Module type                             (FUNCTION)
    Module Name                             CO_RU_DI_AFRU_INSERT
    How can I deal with this problem?

    Hi
    Keshav is right. To display the messages see SAP Note 406633 - No information messages from customer exit. For further information see SAP Note 367489 - Customer exits of confirmation.
    Regards
    Eduardo

  • User Exit for Changing Payment Due date for Invoices

    HI Gurus,
    Could anyone suggest a User Exit which cane be used for Due Date calculation an all Invoice Entries like MIRO, FB60 etc.
    This is required for overwriting the Due Date determined via payment terms by a Particular day in a week. (Eg: Friday)

    Hi
    User exit
    Re: user exits in MM
    Regards
    Ram

  • User exit to change item level data in purchase order

    Hi,
    Can anyone let me know the user exit to change item level data in purchase order . there is a badi ME_PROCESS_PO_CUST for this but the issue is its method process_item gets triggered only when the item is changed. My requirment is
    For purchase order document types u201CZSOu201D and u201CZCOu201D, where the purchase order is a u201CLimits Orderu201D only i.e. no materials or services on the purchase order, the print price indicator field should be set to u201Cblanku201D (unchecked).   now i cant use ME_PROCESS_PO_CUST  because process_item wont get triggered if there is no change in itemlevel data.
    Regards,
    Rahul

    Hi Rahul,
    Probably EXIT_SAPLMEKO_002.
    hope it helps,
    Edgar

  • Help - User exit to change item level data in Purchase Order

    Hi,
    Can anyone let me know the user exit to change item level data in purchase order . there is a badi ME_PROCESS_PO_CUST for this but the issue is its method process_item gets triggered only when the item is changed. My requirement is For purchase order document types u201CZSOu201D and u201CZCOu201D, where the purchase order is a u201CLimits Orderu201D only i.e. no materials or services on the purchase order, the print price indicator field should be set to u201Cblanku201D (unchecked).   now i cant use ME_PROCESS_PO_CUST  because process_item wont get triggered if there is no change in item level data.
    Thanks,
    Rahul

    Hi Rahul,
    Probably EXIT_SAPLMEKO_002.
    hope it helps,
    Edgar

  • Using user exit. ( LVMPTZZ, LVKMPFZ1). used in Credit Management

    Hi
    How to find  using user exit. ( LVMPTZZ, LVKMPFZ1). used in Credit Management .
    Plz provide path
    Regards
    Rohit

    Hi,
    You can find exits through transactions# SMOD & CMOD also.
    Regards
    Chandra

  • Billing user exit to update service rendered date

    Hello,
    My client would like to determin the rebate conditions based on billing date.  However, the system only uses the service rendered date for rebate determination.
    Therefore, I am trying to overwrite the service rendered date with billing date at the time of billing creation. 
    Could you please let me know what user exit I can use?
    I can't user the user exit RV60AFZC because the billing date is not determined when this user exit is running. 
    Your help would be appreicated!  I will give you good points!  Thanks

    Hi Londa,
    Is this question for BW? Otherwise, you'd better post it in the ABAP forum.
    You can do that in the extraction User Exit, RSAP0001 (FM EXIT_SAPLRSAP_001).
    Regards,
    Diego

  • How to  use data function using characterstics variable for calculation on

    how to  use data function using characterstics variable for calculation on  attribute as key figure

    Hi Gayatri
    Did you not see my answer for CASE because CASE does indeed offer the use of the BETWEEN clause, but DECODE does not. Let me give you a little synopsis of DECODE.
    In its most simple form it takes 4 values and looks like this: DECODE(A, B, C, D)
    This essentially means, IF A = B THEN C ELSE D
    The trick to solving BETWEEN in a DECODE is to work out algoriths where A = B. Because we don't know how many values are between 00 and 99, although I could guess there were 100 we could of course have 100 parts in the DECODE but that would be awful. How about if we look at it another way and say this:
    IF PART_NUMBER < 'SDK00' THEN pay_amount
    ELSE IF PART_NUMBER > 'SDK99' THEN pay_AMOUNT
    ELSE pay_amount + 100
    This statement only had 2 hard coded values, but how to make DECODE work with less than? Easy, we use the LEAST function. The LEAST function takes 2 values and returns the one with the lowest value. So I use LEAST(PART_NUMBER, 'SDK00') then whenever the PART_NUMBER is lower than SDK00 it will be true. A similar situation exists for the opposite function GREATEST. Putting all of this together then, you can do this:
    DECODE(PART_NUMBER, GREATEST(PART_NUMBER, 'SDK00'), DECODE(PART_NUMBER, LEAST(PART_NUMBER, 'SDK99'), PAY_AMOUNT * 100, PAY_AMOUNT), PAY_AMOUNT)
    In English this can be read as follows:
    IF the PART_NUMBER is greater than or equal to SDK00 and the PART_NUMBER is less than or equal to SDK99 THEN PAY_AMOUNT x 100 ELSE 0
    Best wishes
    Michael

  • User exit  to change material availability date

    Hi Gurus,
       my requirement is like I need to change the material availability date based on some conditions.
    Is there any User Exit to change the availability date so that I can dump my code in the user exit .
    If not is there any alternative process to get the solution.
    Thanks,
    Sudhaa.............

    Hi Sudha,
    Can you tell me your requirement clearly please.
    Regards,
    Dhanunjaya Reddy

  • Which User Exit / BADI I can use?

    Hello All,
    While Saving PO or PR I need to check the value of commitment Item(FIPOS).
    Which User Exit / BADI I can use?
    Regards,
    Lijo John

    try this method;
    Go to Tranaction: SE24.
    open class CL_EXITHANDLER
    Open the method " GetInstance"
    Put Break point in the statement
    call method cl_exithandler=>get_class_name_by_interface
    when u run the  po transaction it will repeatedly stop at the breakpoint check the value of exit name there press  f8 to continue now when u just save the po then check the values of exitname in the debugger

  • Can u  tell me any of you how to use Date class

    Can u tell me any of you how to use Date class. Please send me the source code.

    People won't send you the source code.
    Ask specific questions. You are very vague.
    Tell me how to build.

Maybe you are looking for