ISSUE:BDC In user exit

Hi all,
I  have used BDC inside user exit.I am getting an error while activating the user exit .
The error is before the statement 'FORM' the structure included by 'FUNCTION' must be ended by 'ENDFUNCTION'.(Not getting what 'FUNCTION' is mentioned in error message)
  CALL TRANSACTION 'MM02' USING bdcdata MODE v_mode UPDATE 'S'
                                            MESSAGES INTO it_bdcmsg1.
    ENDLOOP.
FORM bdc_dynpro USING program dynpro.
  CLEAR bdcdata.
  bdcdata-program  = program.
  bdcdata-dynpro   = dynpro.
  bdcdata-dynbegin = 'X'.
  APPEND bdcdata.
ENDFORM.                    "BDC_DYNPRO
       Insert field                                                  *
FORM bdc_field USING fnam fval.
IF fval <> nodata.
  CLEAR bdcdata.
  bdcdata-fnam = fnam.
  bdcdata-fval = fval.
  APPEND bdcdata.
ENDIF.
ENDFORM.                    "BDC_FIELD

Hi,
This is beacuse you are trying to nest  the processing block, more strictly procedures. This is not possible in ABAP.
"Your customer exit simply lies between  these statements introducing procedure (funtion module)
FUNCTION....
INCLUDE some_customer_exit_here. 
ENDFUNCTION
You can't put any new procedure nor processing block inside this FUNCTION....ENDFUNCTION block.
Instead you have two possibilities:
- check function group of that function module, usually starts with X... for customer exists, add and include inside it, following SAP standard naming conventions for subroutines. It must be like inlcude ...F01 . Go inside there and create your subroutine (forms) here. Now in your cutomer exit simply use that form by calling it.
- create another program of type S (subroutine pool) and place your forms here. Now call it from customer include using PERFORM YOUR_NEW_PROGRAM_NAME(subroutine_name).
Regards
Marcin

Similar Messages

  • Call BDC in User Exit?

    Hi,
    Is it possible to call BDC in User Exits? Requirement is to update cusotmer master using by CALL TRANSACTION that called from a user exit.
    How to know the user exit name, If I already know the function module name and include name?
    Ex: Include - ZXVSVU02.
    Function Module - EXIT_SAPLVV02_001.
    <removed by moderator>
    Edited by: Thomas Zloch on Jun 8, 2010 12:44 PM

    Hi,
    Have you tried calling BDC through module pool program? if its going to wotk there, sure u will get it done from user exist......
    I have worked it through module pool.......all the best for ur try.....
    Kalyan

  • Error in BDC within user exit

    Hi All,
    I am trying to generate a BDC recording within a function exit. I have declared the BDCRECX1 include within the TOP include of the function group. But the include BDCRECX1 which actually contains all the FORMs also contains a selection-screen defined in it. I am not able to activate it because it gives me the following error "SELECTION-SCREEN statements can only be used between SELECTION-SCREEN BEGIN and END OF SCREEN (program type is not "1")" Is it because we are not allowed to define a selection screen between Function-Endfunction which defines a function exit?
    Please let me know why this error is generated and the step to rectify it.

    Hi Nagaraj,
    What Smitha is trying to accomplish here is reuse the subroutines that are available within the INCLUDE bdcrecx1.
    Smitha - You cannot re-use the INCLUDE bdcrecx1 as it is, you will have to create a copy of it and take out all the code that relates to selection screen and reference to these selection parameters within the subroutines, as selection screen can be in programs type "1" - that is executable/report programs.
    I guess you will need only the subroutines FORM BDC_DYNPRO USING PROGRAM DYNPRO. and FORM BDC_FIELD USING FNAM FVAL. just copy these routines into a new include. And you can use declare BDCDATA in the global data of the Function group.
    If you ask me, i guess you could just write these 10-15 lines of code within the same include of the function exit and proceed rather than taking all this trouble.
    Regards,
    Chen

  • 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

  • Whether to go for bdc or user exits???

    hi,
    I have a reqirement like given below how should i proceed plz help me out.
    If pre-tax contribution percentage in field EEPCT from table P0169  is less than 6%, only first sequence of  customizing table V_74FF_C should run. It means, for employer contribution rule out of two sequences only one sequence shown  should run and stop, the rule variant should not process the next sequence shown.

    So, readiing between the lines, you've been given some work to do and you have no idea where to start or how to do it and you want someone on here to explain it for you?
    Why don't you go and sit down with your functional consultant and go through it with them - they should be able to explain what to do and where to do it.  You can then work with this and convert it to ABAP.

  • How to write BDC in Function exit (user exit )

    Hi champs,
    I am trying to write one bdc code in a function exit but it is giving me the error:
    " Incorrect nesting: Before the statement "FORM", the structure
    introduced by "FUNCTION" must be concluded with "ENDFUNCTION". -     
    The code which i have written is
    **&  Include           ZXMRCU01
    data: begin of it_imptt occurs 0,
            POINT like imptt-point,
            MRMIN like imptt-MRMIN,
            MRMAX like imptt-MRMAX,
          end of it_imptt.
    Internal table to store BDC screens   *
    and field values                      *
    DATA: BEGIN OF it_BDCDATA OCCURS 0.
            INCLUDE STRUCTURE BDCDATA.
    DATA: END OF it_BDCDATA.
    select point
           MRMIN
           MRMAX from imptt into it_imptt
           for all entries in imrg_ins
           where point = imrg_ins-point.
    endselect.
    read table imrg_ins with key point = it_imptt-point.
    if imrg_ins-readg < it_imptt-mrmin
         or imrg_ins-readg > it_imptt-mrmax.
      perform bdc_dynpro      using 'SAPLIQS0' '0100'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RIWO00-QMART'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_field       using 'RIWO00-QMART'
                                            'M1'.
      perform bdc_dynpro      using 'SAPLIQS0' '7200'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=BUCH'.
      perform bdc_field       using 'VIQMEL-QMTXT'
                                            'test desc1'.
      call transaction 'IW21'
                            using it_BDCDATA
                              Mode 'A'
                                update 'S'.
      REFRESH it_BDCDATA.
    endif.
    **&      Form  bdc_dynpro
          text ---- Taking 2 parameters Screen Name & Screen Number.
    FORM BDC_DYNPRO USING SCREEN_NAME SCREEN_NUMBER.
      CLEAR it_BDCDATA.
      it_BDCDATA-PROGRAM = SCREEN_NAME.
      it_BDCDATA-DYNPRO = SCREEN_NUMBER.
      it_BDCDATA-DYNBEGIN = 'X'.
      APPEND it_BDCDATA.
    ENDFORM.                    "bdc_dynpro
    **&      Form  bdc_field
          text---- Taking 2 parameters Field Name & Field Number.
    FORM BDC_FIELD USING FNAME FVAL.
      CLEAR it_BDCDATA.
      it_BDCDATA-FNAM = FNAME.
      it_BDCDATA-FVAL = FVAL.
      APPEND it_BDCDATA.
    ENDFORM.                    "bdc_field     
    Is there any different way of writing bdc in user exit?

    <b>FUNCTION.</b>
    **& Include ZXMRCU01
    data: begin of it_imptt occurs 0,
    POINT like imptt-point,
    MRMIN like imptt-MRMIN,
    MRMAX like imptt-MRMAX,
    end of it_imptt.
    Internal table to store BDC screens *
    and field values *
    DATA: BEGIN OF it_BDCDATA OCCURS 0.
    INCLUDE STRUCTURE BDCDATA.
    DATA: END OF it_BDCDATA.
    select point
    MRMIN
    MRMAX from imptt into it_imptt
    for all entries in imrg_ins
    where point = imrg_ins-point.
    endselect.
    read table imrg_ins with key point = it_imptt-point.
    if imrg_ins-readg < it_imptt-mrmin
    or imrg_ins-readg > it_imptt-mrmax.
    perform bdc_dynpro using 'SAPLIQS0' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'RIWO00-QMART'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'RIWO00-QMART'
    'M1'.
    perform bdc_dynpro using 'SAPLIQS0' '7200'.
    perform bdc_field using 'BDC_OKCODE'
    '=BUCH'.
    perform bdc_field using 'VIQMEL-QMTXT'
    'test desc1'.
    call transaction 'IW21'
    using it_BDCDATA
    Mode 'A'
    update 'S'.
    REFRESH it_BDCDATA.
    endif.
    <b>ENDFUNCTION.</b>
    **& Form bdc_dynpro
    text ---- Taking 2 parameters Screen Name & Screen Number.
    FORM BDC_DYNPRO USING SCREEN_NAME SCREEN_NUMBER.
    CLEAR it_BDCDATA.
    it_BDCDATA-PROGRAM = SCREEN_NAME.
    it_BDCDATA-DYNPRO = SCREEN_NUMBER.
    it_BDCDATA-DYNBEGIN = 'X'.
    APPEND it_BDCDATA.
    ENDFORM. "bdc_dynpro
    **& Form bdc_field
    text---- Taking 2 parameters Field Name & Field Number.
    FORM BDC_FIELD USING FNAME FVAL.
    CLEAR it_BDCDATA.
    it_BDCDATA-FNAM = FNAME.
    it_BDCDATA-FVAL = FVAL.
    APPEND it_BDCDATA.
    ENDFORM. "bdc_field
    Regards
    Peram

  • Issue in PM order user exit.

    Hi Experts,
    I am facing a issue in the user exit EXIT_SAPLCORF_002 for PM order confirmations.
    Here the field AFRUD_IMP-PERSA is not filled during the confirmations in this User exit.
    Only this personnel area is
    can you please let me know if any thing is missed in terms of master data or data in the order.
    Thanks,
    Rohan

    Hi,
    The PERSA is filled from the table PA0001 / Infotype 0001. ( PA0001-WERKS). Check for the person maintained in this table, it is giving correct values.
    Hope it helps.
    Sujay

  • User Exit/BADI/Enhancement Point  in VF01 before new document no assignment

    Hi Expert,
       I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 before the new document no (Billing document no assign).
    I need to cross check few things in Billing via VF01 at billing document save and give error message accordingly. The problem is if new number assign and there is error due to my code then when user save the document next he get a new no. its mean a no skip.
    Example: The invoice no is 1000. User start creating a billing document with Vf01 and he get an error message due to my code at exit , at this point of time the next number assign to billing which is 1001 but document not save due to my error message. Now after applying correction user save data and billing document created with no 1002. So there is no skip.
    I tried BADI BADI_SD_ACCOUNTING but this will trigger after no assignment.  Can someone provide me a user exit/BADI/Enhancement point in VF01 which trigger before no range assignment and contain at least Billing header data to use in my code?
    Regards
    Swati
    Edited by: Swati Namdev on Nov 16, 2010 9:55 PM

    HI Brad and team,
       BRED is right. I check few user exit normally all of us have that list or easily available on net.
    BRED: my question is: I need to check the billing date VBRK-FKDAT of document should not be less than the sales order plan billing date VBAP-Oldate.
    If this check fail then won't allow the user to create billing document. The problem is I used one user exit SDVFX001 already define previously that's work fine but issue is that user exit trigger after the billing no assignment. That's why when user get that error message he correct the document and create billing this time he get a new number which is skip of one no.
    That why I need a User Exit/BADI/Enhancement Point  which trigger at save but before document no assignment.
    Please update more about your comment "Why not use a header level copy requirement routine to perform the checks and log the messages? This is the standard process."  .
    Suggest user exit USEREXIT_FILL_VBRK_VBRP  trigger before save. I need at save the reason is VBRK-FKDAT  this can be change.
    Feel free to contact me back if you need more clarification.
    Regards
    Swati
    Edited by: Swati Namdev on Nov 17, 2010 6:22 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:25 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:32 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:47 PM

  • Unexpected behavior of User exit.

    Hello All,
    I am facing an issue in the user exit at the info package level. My requirement is to pass date range using abap routine in an info package. In the range, I am passing constant value in from field and determining To field using FM. (for example, wanted to pass From : 19990101 to To: 20050222).
    If I pass same set of values manually, info package goes on smoothly (19990101 & 20050222). But when I pass the values using ABAP routine, It fails and saying “No data found in the source system”.
    I debugged the routine and it’s returning same values and also I am checking same values at info package monitor/ Selection screen after scheduling it.
    Please find the code as below.
    Data: l_idx like sy-tabix.
    Data : idate type d.
    Read table l_t_range with key
         Fieldname = ‘BUDAT’.
         L_idx = sy-tabix.
    Call function ‘bwso_date_get_first_weekday’
    Exporting
         Data_in = sy-datum
    Importing
         Date_out = idate.
    Idate = idate  - 1.
      L_t_range-low = ‘19990101’
    L_t_range-high = idate.
    Modify l_t_range index l_idx.
    P_subrc = 0.
    Please propose the solution. Any response to this thread will be highly appreciated.
    Thanks
    Harsh

    Hi Harsh,
    just change the datatype of your date variable
    Data : idate type d.
    to
    Data : idate(8) type c.
    If the fm needs type d, than please do the following.
    1. create a new variable
    data: idate_c(8) type c.
    2. after you calculated your to date
    Idate = idate - 1.
    move idate to idate_c.
    3. instead to moving idate to L_t_range-high do
    L_t_range-high = idate_c.
    This should do the job.
    regards
    Siggi

  • User exit for save button in transaction code CBIH82

    HI All.
    i have got an issue with finding of user exit for transaction code cbih82.
    my functional consultant want me to go for exit CBIH_LB39_UE_POST_COMMIT (se37) but i cont find any user exit in this function module as it is triggering when i click on save at cbih82 in debugging.
    but i cont find any user exit in this CBIH_LB39_UE_POST_COMMIT.
    so could any one help me in this issue for finding user exit which should trigger when i click on save at cbih82 tcode.
    will be waiitng for a good answer.
    bye.
    regards.
    seetaram.

    check in smod
    user exits for CBIH82
    Exit Name           -- Description
    EHSIAHM1           --  EH&S: Menu Exit 1 for Incident/Accident Log Header
    EHSIAHM2           ---  EH&S: Menu Exit 2 for Incident/Accident Log Header
    EHSIAPM1           --- EH&S: Menu Exit 1 for Incident/Accident Log Person
    EHSIAPM2           --  EH&S: Menu Exit 2 for Incident/Accident Log Person
    EHSMPHM1        --   EHS: Menu Exit 1 for Measurement Project Header Data
    EHSMPHM2         -- EHS: Menu Exit 2 for Measurement Project Header Data
    EHSMPJM1          --  EHS: Menu Exit 1 for Measurement Project Measurements
    EHSMPJM2          --  EHS: Menu Exit 2 for Measurement Project Measurements
    EHSSARA            --  EHS: Check/Edit Lines in SARA List Before Printout
    Salil...
    Edited by: salil chavan on Nov 19, 2008 8:23 AM
    Edited by: salil chavan on Nov 19, 2008 8:25 AM

  • USER EXIT for TCODE ME51N,ME52N

    Hi Expers,
    I have one requirement, If you go to TCODE ME51n, ME52N, ME53N,  we will get one ALV grid . So user will change the layout according to his intrests & will save that layout.
    While saving that layout we will get 2 checkboxes
    1>User specific
    2>Default setting.
    So here my requirement is to disable "default setting" check box, sice users are not allowed to set default setting because it affects other users.
    Please help me to solve this issue & provide me user exit for the same
    Regards,
    Santhosh

    Hi,
    AMPL0001  User subscreen for additional data on AMPL
    LMEDR001  Enhancements to print program
    LMELA002  Adopt batch no. from shipping notification when posting
    LMELA010  Inbound shipping notification: Transfer item data from
    LMEQR001  User exit for source determination
    LMEXF001  Conditions in Purchasing Documents Without Invoice Rece
    LWSUS001  Customer-Specific Source Determination in Retail
    M06B0001  Role determination for purchase requisition release
    M06B0002  Changes to comm. structure for purchase requisition rel
    M06B0003  Number range and document number
    M06B0004  Number range and document number
    M06B0005  Changes to comm. structure for overall release of requi
    M06E0004  Changes to communication structure for release purch. d
    M06E0005  Role determination for release of purchasing documents
    ME590001  Grouping of requsitions for PO split in ME59
    MEETA001  Define schedule line type (backlog, immed. req., previe
    MEFLD004  Determine earliest delivery date f. check w. GR (only P
    MELAB001  Gen. forecast delivery schedules: Transfer schedule imp
    MEQUERY1  Enhancement to Document Overview ME21N/ME51N
    MEVME001  WE default quantity calc. and over/ underdelivery toler
    MM06E001  User exits for EDI inbound and outbound purchasing docu
    MM06E003  Number range and document number
    MM06E004  Control import data screens in purchase order
    MM06E005  Customer fields in purchasing document
    MM06E007  Change document for requisitions upon conversion into PO
    MM06E008  Monitoring of contr. target value in case of release orders
    These are all the user exits you have in the ME Package. Identify the exit which is suitable to fulfill your requirement.

  • Query on User Exit for PO .............Urgent plz help

    hi
      Friends,
      Here is my query on Po Posting
      whenever i am creating a po based on cost centre and project a mail should be fired to the  respective user who has created that po.
      I am trying to solve this issue using the user exit,if some body having the idea how to solve this prob using userexit and the code related to that pls post that,or if there is any other procedure other than the userexit than pls send me the code.
    There is a possibility to solve this issue using BADI ,but i dont have any idea about this so pls help me if there is any other procedure.
    Thanks a lot
    mrutyun^

    Enhancement name is MM06E005 
    below FM's are trigger when you save PO .
    You can use EXIT_SAPMM06E_012 or EXIT_SAPMM06E_013
    TEKKN Structure to find out cost center and wbs element.
    With in user exit call FM : SO_NEW_DOCUMENT_ATT_SEND_API1 ,This fm will mail to user.
    Thanks
    Seshu

  • User exit to change user status in IQ01/02 after full installation EG31

    Hi Experts,
    In iq01 there are two fields 1 device status 2 user status . device status will be automatically changed (avlb to insl) by system  after full installation  but  i need to change the user status (AVLB, NTAV) in iq01.I have created one bdc for iq02 and that will be properly changing the staus if i run seperately  but when  i am calling this bdc in user exit(EDMDI001,EDMDI002,EDMDI003) this shows one error '
    device is already blocked bu user ---" reason being i have to use that device at the time of full installation and user exit that will change the staus also working on  the same device during full installaion .
    So Please resolve.
    Thanks in advance
    Edited by: dilipgupta on Jan 12, 2011 3:02 PM

    Hello
    dilipgupta
    try this:
    Exit Name           Description
    E07                 IS-U: Geräteinstallation und Anlagenstruktur
    EDMDI001            Kundeneigene Vorschlagswerte für Einbau, Ausbau, Wechsel
    EDMDI002            Kundeneigene Prüfungen für Einbau, Ausbau, Wechsel
    EDMDI003            Kundeneigene Daten zur Warenbewegung bei Ein-und Ausbau
    regards
    Chris

  • AS01/AS11 User exits

    Hi All,
    I have a requirment while user creating the asset in AS01/AS11 .after user entered the typename(which is in orgin tab) . i need to do some validations ,I know the user exits available for the transaction code
    for both AS01/AS11 .
    AAPM0001
    AFAR0003
    AFAR0004
    AINT0004
    AINT0005
    AISA0001
    AIST0001
    AIST0002
    AMSP0002
    TRAN0001
    but i kept break point in all the user exits but no user exit is triggering after entering of type name.
    even thought i swithched on the update debugging mode.
    could any body help me how to resolve this issue.
    if above user exits wont work what are the alternative solution for this.
    Thanks in advance.

    Hi,
    go to SE80 and check package  AA.
    1.- If you display the function group folder check the following function groups:
    XAAPM
    XAIS
    XALT
    XANL
    XBAD
    (They are the last five of the list)
    Here you´ll see al exits available.
    2.- Check as well the enhancement folder. Here you´ll find AAPM badi.
    Best regards.

  • Is it possible to trigger user exit in BDC?

    Hi experts,
    I am having issue as follows.
    when i am successfully creating rework code & UD code through tcode QA11 manually.
    If i am doing manually some user exits will be called and there rework code will be generated successfully.
    But i have used QA11 in my program using call transaction QA11 in back ground mode.
    It is creaing UD code successfully.But rework code also has to be generated in back ground through user exit.
    But that is not happening.
    But internally my user exits are not calling when i run my program in back ground or fore ground.
    Is there any problem of triggering user exists when running BDC in back ground or foreground?
    Now i am unable to create rework code through QA11 why because user exists were not calling internally.
    Thanks & Regards,
    LOKESH GOUD

    why dont you keep a break point and debug??

Maybe you are looking for

  • DB Cache error on install WTE-01592

    I'm installing 9iAS EE on a Sun Solaris E250, OS ver. 2.8. I installed Oracle 8.1.7 Rel.2 before 9i install. When the Cache Config Assistant runs, it goes through all the steps except the last - "Updating User List". The errors are - adding users to

  • Thread pool tuning on J2ee NW04s...

    Hi, I have troubles in defining the number of threads in the pool of the server and dispatcher. First of all, I know that there are several thread pools depending on the node you are:   - Server node: System and Application thread pool.   - Dispatche

  • Proxy notifications

    I am using ABAP proxies to drive many of my interfaces and I find that since the proxy is triggering in R/3, there is no way  I can use my XI alerts. Do I need to code exceptions in the proxy code and handle them as workflow with notfications or is t

  • HBO Go on tablets, AppleTV and iPhone says not subscribed.

    When I try to log onto HBO Go via AppleTV, my iPads or my iPhone, a notification comes up telling me that I am not subscribed, when I am in fact a subscriber to HBO. Any suggestions? 

  • Different drill paths for a common Essbase Dimension with varied depth

    Hi, Need a solution to a problem that I have come across where in I have two Essbase cubes, In both the cubes there exists a dimension A, the dimension has different number of levels in each of the cubes. How do I associate the dimension drill path t