Regarding userexit

Hi experts i wrote a report calling bapi to create sales order and quotation
i also created a stucture with flag in VBAK table.
now i need to write an user exit , when excel file is uploaded it should tell whether the data is internally or externally from sap,
if it is exernally the falg should be updated.
pls help me in doing this and my bapi code is
REPORT  zintf_sd_create_order_quot.
TYPE-POOLS truxs.
*& SELECTION-SCREEN- Selection screen to give input values
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
*& PARAMETERS- passing parameters to the selection screen
PARAMETERS: p_auart TYPE auart OBLIGATORY,  "Sales document type
            p_vkorg TYPE vkorg OBLIGATORY,  "Sales organization
            p_vtweg TYPE vtweg OBLIGATORY,  "Distribution channel
            p_spart TYPE spart OBLIGATORY,  "Division.
            p_sold  TYPE kunnr OBLIGATORY,  "Sold-to
            p_ship  TYPE kunnr OBLIGATORY,  "Ship-to
            p_bstkd TYPE bstkd ,            "Purchase order number.
            p_faksk TYPE faksk ,            "Billing Block
            p_vdatu TYPE edatu_vbak,        "Requested delivery date of the document
            p_inco1 TYPE inco1 OBLIGATORY,  "Terms of delivery
            p_landtx TYPE landtx,           "Departuring country
            p_stceg TYPE stceg_l,           "Destination country
            p_xegdr AS CHECKBOX.            "EU triangulation trade
PARAMETERS: p_name LIKE ibipparms-path .    "Excel file path
SELECTION-SCREEN END OF BLOCK b1.
*& DATA DECLARATIONS." Declaring data and variables.
DATA declarations.
DATA: v_vbeln               LIKE vbak-vbeln.
DATA: it_header             LIKE bapisdhead1.
DATA: it_item               LIKE bapisditem  OCCURS 0 WITH HEADER LINE.
DATA: partner               LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
DATA: it_return             LIKE bapiret2    OCCURS 0 WITH HEADER LINE,
      wa_it_return          TYPE bapiret2.
DATA: wa_it_header_qut      TYPE bapisdhd1,
      it_header_qut         LIKE bapisdhd1 OCCURS 0 WITH HEADER LINE,
      it_item_qut           TYPE TABLE OF bapisditm WITH HEADER LINE,
      wa_it_item_qut        TYPE bapisditm,
      wa_it_partner_qut     TYPE bapiparnr,
      it_return_qut         TYPE TABLE OF bapiret2 WITH HEADER LINE,
      wa_it_return_qut      TYPE bapiret2.
TYPES:  BEGIN OF t_tab,
          wf1 TYPE char50,
          wf2 TYPE char50,
          wf3 TYPE char50,
          wf4 TYPE char50,
          wf5 TYPE char50,
          wf6 TYPE char50,
          wf7 TYPE char50,
          wf8 TYPE char50,
          wf9 TYPE char50,
          wf10 TYPE char50,
          wf11 TYPE char50,
          wf12 TYPE char50,
          wf13 TYPE char50,
          wf14 TYPE char50,
          wf15 TYPE char50,
          wf16 TYPE char50,
          wf17 TYPE char50,
          wf18 TYPE char50,
          wf19 TYPE char50,
          wf20 TYPE char50,
          wf21 TYPE char50,
          wf22 TYPE char50,
          wf23 TYPE char50,
          wf24 TYPE char50,
          wf25 TYPE char50,
          wf26 TYPE char50,
          wf27 TYPE char50,
          wf28 TYPE char50,
          wf29 TYPE char50,
          wf30 TYPE char50,
          wf31 TYPE char50,
          wf32 TYPE char50,
          wf33 TYPE char50,
       END OF t_tab.
DATA : t_upload  TYPE STANDARD TABLE OF t_tab,
       wa_upload TYPE t_tab.
DATA : it_type   TYPE truxs_t_text_data.
DATA : w_string TYPE rlgrap-filename.
DATA : w_no(6) TYPE n.
DATA: it_header_x TYPE bapisdhead1x.
DATA: it_header_qut_x TYPE bapisdhd1x.
DATA: it_item_x    LIKE bapisditemx  OCCURS 0 WITH HEADER LINE.
DATA: it_patner  LIKE bapipartnr   OCCURS 0 WITH HEADER LINE.
DATA: it_partner_qut   LIKE bapiparnr  OCCURS 0 WITH HEADER LINE.
DATA: it_item_qut_x   LIKE bapisditmx  OCCURS 0 WITH HEADER LINE.
DATA: v_sh TYPE parvw.
DATA: v_sd TYPE parvw.
DATA: v_unit(4).
CONSTANTS: c_x(1) VALUE 'X'.
*& AT SELECTION-SCREEN ON FIELD
AT SELECTION-SCREEN ON p_auart.
  IF sy-tcode = 'ZSD_VA01' AND p_auart = 'AG'.
    MESSAGE e000(zintf).
  ELSEIF
  sy-tcode = 'ZSD_VA21' AND p_auart = 'TA'.
    MESSAGE e000(zintf).
  ENDIF.
*& AT SELECTION-SCREEN ON VALUE REQUEST
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_name .
  CALL FUNCTION 'F4_FILENAME'                     "This function is used to press f4 to select value.
    EXPORTING
      program_name  = syst-cprog
      dynpro_number = syst-dynnr
      field_name    = 'P_NAME'
    IMPORTING
      file_name     = p_name.
*& INITIALIZATION
INITIALIZATION.
  p_xegdr = 'X'.
*& Start-of-selection. starting of selection.
START-OF-SELECTION.
  MOVE p_name TO w_string .
  CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'  "Function to convert excel sheet to SAP
     EXPORTING
  I_FIELD_SEPERATOR          =
  I_LINE_HEADER              =
       i_tab_raw_data          = it_type
       i_filename              = w_string
     TABLES
       i_tab_converted_data    = t_upload[]
EXCEPTIONS
  CONVERSION_FAILED          = 1
  OTHERS                     = 2
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  IF p_auart EQ 'TA' .
    PERFORM bapi_fromdata1.
  ELSEIF p_auart EQ 'AG'.
    PERFORM bapi_fromdata2.
  ENDIF.
*&      Form  bapi_fromdata1
      text
-->  p1        text
<--  p2        text
FORM bapi_fromdata1.
Header data to create sales order
  it_header_x-doc_type   = c_x.
  it_header_x-sales_org  = c_x.
  it_header_x-distr_chan = c_x.
  it_header_x-division   = c_x.
  it_header_x-purch_no_c = c_x.
Header data to pass header values.
  it_header-doc_type     = p_auart.    " Sales document type
  it_header-sales_org    = p_vkorg.   " Sales organization
  it_header-distr_chan   = p_vtweg. "Distribution channel
  it_header-division     = p_spart.    " Division
  it_header-purch_no_c   = p_bstkd.  "Purchase Order
  CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'   " Function used to convert Ship to party.
    EXPORTING
      input  = 'SH'
    IMPORTING
      output = v_sh.
  CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'   " Function used to convert Sold to party.
    EXPORTING
      input  = 'SD'
    IMPORTING
      output = v_sd.
  it_patner-partn_role = v_sh.
  it_patner-partn_numb = p_sold.
  APPEND it_patner.
  LOOP AT t_upload INTO wa_upload .
CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'     " Function used to convert sales unit.
  EXPORTING
    input         = wa_upload-wf13
IMPORTING
   OUTPUT        = v_unit
    IF sy-tabix GT 3 .
  fill line item for creating sales order
      it_item-short_text     = wa_upload-wf2.  "SHORT_TEXT
      it_item-material       = wa_upload-wf4.  "Material
      it_item-item_categ     = wa_upload-wf5.  "Item category
      it_item-ref_1          = wa_upload-wf7.  "Your Reference
      it_item-gross_weight   = wa_upload-wf10. "Gross Weight
      it_item-unit_of_weight = wa_upload-wf11. "Weight Unit
      it_item-sales_unit     = wa_upload-wf13. " Sales Unit
      it_item-sales_unit     = v_unit.
      it_item-plant          = wa_upload-wf27. "Delivering plant
      APPEND it_item.
      CLEAR it_item.
      it_item_x-itm_number     = w_no.
      it_item_x-short_text     = c_x.
      it_item_x-material       = c_x.
      it_item_x-item_categ     = c_x.
      it_item_x-ref_1          = c_x.
      it_item_x-gross_weight   = c_x.
      it_item_x-unit_of_weight = c_x.
      it_item_x-sales_unit     = c_x.
      it_item_x-plant          = c_x.
      APPEND it_item_x.
      CLEAR it_item_x.
    ENDIF.
  ENDLOOP.
Call the BAPI to create the sales order.
  CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
    EXPORTING
      sales_header_in  = it_header
      sales_header_inx = it_header_x
    IMPORTING
      salesdocument_ex = v_vbeln
    TABLES
      return           = it_return
      sales_items_in   = it_item
      sales_items_inx  = it_item_x
      sales_partners   = it_patner.
    sales_schedules_in = lt_schedules_in.
IF sy-subrc EQ 0.
    COMMIT WORK AND WAIT.                                  "Comminting the data retrieved by using BAPI.
    WRITE:/ v_vbeln.
  ENDIF.
  LOOP AT it_return INTO wa_it_return.
    WRITE :/ wa_it_return-message,'TYPE' ,wa_it_return-type.
  ENDLOOP.
ENDFORM.                    "bapi_fromdata1
*&      Form  bapi_fromdata2
      text
-->  p1        text
<--  p2        text
FORM bapi_fromdata2.
Header data to create quotaiton
  it_header_qut_x-doc_type    = c_x.
  it_header_qut_x-sales_org   = c_x.
  it_header_qut_x-distr_chan  = c_x.
  it_header_qut_x-division    = c_x.
  it_header_qut_x-purch_no_c  = c_x.
*Header data to pass quotation values.
  it_header_qut-doc_type      = p_auart.    " Sales document type
  it_header_qut-sales_org     = p_vkorg.    " Sales organization
  it_header_qut-distr_chan    = p_vtweg.    "Distribution channel
  it_header_qut-division      = p_spart.    " Division
  it_header_qut-purch_no_c    = p_bstkd.    "Purchase Order
  CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'    "Function used to convert Ship to party.
    EXPORTING
      input  = 'SH'
    IMPORTING
      output = v_sh.
  CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'     "Function used to convert Sold to party.
    EXPORTING
      input  = 'SD'
    IMPORTING
      output = v_sd.
  it_partner_qut-partn_role = v_sh.
  it_partner_qut-partn_numb = p_sold.
  APPEND it_partner_qut.
  LOOP AT t_upload INTO wa_upload .
    CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'    " Function used to convert sales unit.
  EXPORTING
    input         = wa_upload-wf13
IMPORTING
   OUTPUT        = v_unit
    IF sy-tabix GT 3 .
passing line items for quotation.
      it_item_qut-short_text     = wa_upload-wf2.  "SHORT_TEXT
      it_item_qut-material       = wa_upload-wf4.  "Material
      it_item_qut-item_categ     = wa_upload-wf5.  "Item category
      it_item_qut-ref_1          = wa_upload-wf7.  "Your Reference
      it_item_qut-gross_wght     = wa_upload-wf10. "Gross Weight
      it_item_qut-untof_wght     = wa_upload-wf11. "Weight Unit
      it_item_qut-sales_unit     = wa_upload-wf13. " Sales Unit
      it_item-sales_unit     = v_unit.
      it_item_qut-plant          = wa_upload-wf27. "Delivering plant
      APPEND it_item_qut.
      CLEAR it_item_qut.
      it_item_qut_x-itm_number    = w_no.
      it_item_qut_x-short_text    = c_x.
      it_item_qut_x-material      = c_x.
      it_item_qut_x-item_categ    = c_x.
      it_item_qut_x-ref_1         = c_x.
      it_item_qut_x-gross_wght    = c_x.
      it_item_qut_x-untof_wght    = c_x.
      it_item_qut_x-sales_unit    = c_x.
      it_item_qut_x-plant         = c_x.
      APPEND it_item_qut_x.
      CLEAR it_item_qut_x.
    ENDIF.
  ENDLOOP.
fill the data for quotation.
  CALL FUNCTION 'BAPI_QUOTATION_CREATEFROMDATA2'
     EXPORTING
       SALESDOCUMENTIN                =
       quotation_header_in              = it_header_qut
       quotation_header_inx             = it_header_qut_x
       SENDER                         =
       BINARY_RELATIONSHIPTYPE        = ' '
       INT_NUMBER_ASSIGNMENT          = ' '
       BEHAVE_WHEN_ERROR              = ' '
       LOGIC_SWITCH                   =
       TESTRUN                        =
       CONVERT                        = ' '
    IMPORTING
       salesdocument                    = v_vbeln
     TABLES
       return                           =  it_return_qut
       quotation_items_in               =  it_item_qut
       quotation_items_inx              =  it_item_qut_x
        quotation_partners              =  it_partner_qut
       QUOTATION_SCHEDULES_IN         =
       QUOTATION_SCHEDULES_INX        =
       QUOTATION_CONDITIONS_IN        =
       QUOTATION_CONDITIONS_INX       =
       QUOTATION_CFGS_REF             =
       QUOTATION_CFGS_INST            =
       QUOTATION_CFGS_PART_OF         =
       QUOTATION_CFGS_VALUE           =
       QUOTATION_CFGS_BLOB            =
       QUOTATION_CFGS_VK              =
       QUOTATION_CFGS_REFINST         =
       QUOTATION_KEYS                 =
       QUOTATION_TEXT                 =
       EXTENSIONIN                    =
       PARTNERADDRESSES               =
  IF sy-subrc EQ 0.
    COMMIT WORK AND WAIT.                                  "Comminting the data retrieved by using BAPI.
    WRITE:/ v_vbeln.
  ENDIF.
  LOOP AT it_return_qut INTO wa_it_return_qut.
    if wa_it_return_qut-message is not initial.
    WRITE :/ wa_it_return_qut-message,'TYPE' ,wa_it_return_qut-type.
    endif.
  ENDLOOP.
ENDFORM.                    "bapi_fromdata2

Hi,
If u want to write code in user Exits you can use the Program SAPMV45A and include MV45AFZZ.
Inside the Include you can write code according to your need inside the form.
Regards
Sandipan

Similar Messages

  • Regarding userexit for pa40 transaction for validating position and persona

    when iam entering the position and  personal area in pa40 transaction , this position is should matched with personal area of the pa13 screen,and that personal area should match with pa40 presoanl area, for this requiremetnt which userexit is suitable.
    please any one worked on this type of requirement please help me on this.

    k

  • Regarding userexit of Po

    can any one tell me
    what is the name of the userexit the is triggered when a purchase order is saved

    LIST OF EXIT RELATED TO po
    AMPL0001  User subscreen for additional data on AMPL
    LMEDR001  Enhancements to print program
    LMEKO001  Extend communications structure KOMK for pricing
    LMEKO002  Extend communications structure KOMP for pricing
    LMELA002  Adopt batch no. from shipping notification when posting a GR
    LMELA010  Inbound shipping notification: Transfer item data from IDOC
    LMEQR001  User exit for source determination
    LMEXF001  Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001  Individual customer source determination in Retail
    M06B0001  Role determination for purchase requisition release
    M06B0002  Changes to comm. structure for purchase requisition release
    M06B0003  Number range and document number
    M06B0004  Number range and document number
    M06B0005  Changes to comm. structure for overall release of requisn.
    M06E0004  Changes to communication structure for release purch. doc.
    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., preview)
    MEFLD004  Determine earliest delivery date f. check w. GR (only PO)
    MELAB001  Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1  Enhancement to Document Overview ME21N/ME51N
    MEVME001  WE default quantity calc. and over/ underdelivery tolerance
    MM06E001  User exits for EDI inbound and outbound purchasing documents
    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
    MM06E009  Relevant texts for "Texts exist" indicator
    MM06E010  Field selection for vendor address
    MM06E011  Activate PReq Block
    MMAL0001  ALE source list distribution: Outbound processing
    MMAL0002  ALE source list distribution: Inbound processing
    MMAL0003  ALE purcasing info record distribution: Outbound processing
    MMAL0004  ALE purchasing info record distribution: Inbound processing
    MMDA0001  Default delivery addresses
    MMFAB001  User exit for generation of release order
    MRFLB001  Control Items for Contract Release Order

  • Regarding userexit for tcode me51

    Hi All,
    I Have requirement for tcode me51 in that one  screennumber is 505,inthat twofields are there EKBN-SAKTO,COBL-KOSTL I i need to print text for that twofields,G/L account field text and costcnter field text,can any one help me any screenexit is there,i tried with all the ways,
    points wiil be rewarded,
    urgent,
    regards,
    phani

    I think you have to modify the standard transaction for your requirement..because with exits or badi you can just add your own fields within thier specific subscreen..so it wont affect the standard transaction..but in your case..you want to add descriptions for the fields beside within same screen of the standard program...so it might be not possible using screen exits...
    regards.
    Dara.

  • Regarding UserExit or BADI

    dear sir,
                  how to use  user Exit or BADI in CRM_STATUS_UPDATE funtion module,
    Regards,
    kumar

    Kumaresan,
    i hope i got your question properly.
    There are no user-exits, badi in FM CRM_STATUS_UPDATE.
    Or you asking me how to use FM CRM_STATUS_UPDATE in a user exit.
    If yes here is an answer:
    CALL FUNCTION 'CRM_STATUS_UPDATE'
          TABLES
               OBJ_DEL  = OBJ_DELETE
               JSTO_INS = JSTO_INS
               JSTO_UPD = JSTO_UPDT
               JEST_INS = JEST_INS
               JEST_UPD = JEST_UPDT.
    Please Reward points for usefull post..
    Regards,
    Anand.

  • Regarding UserExit in sales Order creation(VA01), change(VA02)

    *Hi Gurus,*
    we are having one requirement that we have to change User status at item level in sales Order creation(VA01), change(VA02) according to certain condition( condition is if user status at item level is 'SGUC' then we need to get item category and with this item category we have to find new user status from our custom table).
    *So is there any FM or user-exits to set the User Status of the Sales Order Line Item at the time of Order Creation(VA01) or Change sales order(VA02) but before saving.*
    *looking for your inputs.*

    Check,
    In include MV45AFZZ
    Routine USEREXIT_SAVE_DOCUMENT_PREPARE
    In include RV45PFZA
    Check with USEREXIT_SET_STATUS_VBUK ,  USEREXIT_SET_STATUS_VBUP

  • Difference in objects in SAP 4.6C and ECC 6.0

    Hi Experts,
    Could anyone please let me know, whether following objects are supported in ECC 6.0?? And if not, then what alternative has been provided there?
    1> SAPscripts
    2>Smartforms
    3>Business objects
    4>User-exit/Exit programs
    5> Class-builders (is there any improvement in this?)
    6> Search helps
    I need to move my above objects from 4.6 C version to ECC 6.0. If, the objects are not supported there I need to re-implemented.
    Awaiting ur response.
    Regards,
    Anshumita.

    Hi,
    All these below mentioned will have in ECC 6
    1> SAPscripts
    2>Smartforms
    3>Business objects
    4>User-exit/Exit programs
    5> Class-builders
    6> Search helps
    But in ECC 6 they made some modification or enhancements to the above.
    Regarding userexit in FI they have added some new BTE and generally SAP prefers for BADI instead of userexit.
    But regarding OSS support for SAPSCRIPT i am not sure.
    Make sure while migrating all above mentioned compatiable for unicode.
    Any other info please refer release notes.
    aRs

  • Arbitrary Number Generated before Sales Order Document number is Generated

    I want to know which is the arbitrary number generated before the sales Order Document number is created. In which table the arbitrary number is stored?
    The Exit which triggers the arbitrary number in the transaction VA01?

    Hi
    You get the Arbitrary number throug the FM NUMBER_GET_NEXT.
    interne Nummernvergabe
            data: da_rc like inri-returncode.
            call function 'NUMBER_GET_NEXT'
              exporting
                nr_range_nr = da_numki
                object      = 'RV_BELEG'
              importing
                returncode  = da_rc
                number      = vbak-vbeln.
    And regarding userexit, there is
    perform userexit_number_range using da_numki statement in include MV45AF0B_BELEG_SICHERN.
    Regards
    Raj

  • Regarding Email address - Userexit for VF02 transaction

    Once you enter a VF02 transaction, If you goto header partners and double click on the partner number it would take you to the customer master data screen in which we have an option for Email address this is in Display mode my requirement demands to make it Visible  so that the enduser would enter the email address which finally reflects in the printoutput.
    I would like to know the correct exit for resolving this issue
    Any suggestions are appreciated........................
    Naveen.

    Hi Naveen,
    Check all Exits for VF02
    Transaction Code - VF02                     Change Billing Document                                                                               
    Exit Name           Description                                                                               
    SDVFX007            User exit: Billing plan during transfer to Accounting                      
    SDVFX008            User exit: Processing of transfer structures SD-FI                         
    SDVFX009            Billing doc. processing KIDONO (payment reference number)                  
    SDVFX010            User exit item table for the customer lines                                
    SDVFX011            Userexit for the komkcv- and kompcv-structures                             
    V05I0001            User exits for billing index                                               
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure                  
    V60A0001            Customer functions in the billing document                                 
    V60P0001            Data provision for additional fields for display in lists                  
    V61A0001            Customer enhancement: Pricing                                                                               
    No of Exits:         10          
    Rewards if useful...............
    Minal

  • BADI/UserExit for MIGO in Stock Transfer

    Hi Gurus,
    I have a requirement.
    When posting a GR in MIGO, if the material has been flagged to go through inspection, MIGO post the batch to quality inspection.
    Now, when a batch has already gone through inspection (for example in another plant) and its released (passed) and its been transferred to another plant, if we are receiving this batch doing a post GR in MIGO, it automatically post it to quality inspection again.
    Is there a BADI, UserExit or way to skip this inspection and post the batch to unrestricted stock since its already gone through inspection in the previous plant and has a Decision Code A0 (accepted etc).
    We don't want to change the material master for this because we still want the material/batch to go through quality inspection if its hasn't already been.
    Thanks..
    Baz
    Edited by: Basil Balogun on Sep 23, 2010 1:49 AM

    Hi,
    Try the possibilities of MB_MIGO_BADI. I think in method LINE_MODIFY, POST_DOCUMENT and perhaps PAI_DETAIL.
    I hope this helps you
    Regards,
    Eduardo

  • Query regarding User Exit

    Hi exps
    Could you please tell me , which user exits get triggered when I save
    Invoice List (T code  : VF22) producing Idoc.
    Also tell me whether the exit EXIT_SAPLVEDF_002 get triggered during this
    process or not ?           
    Let  me know soon
    Regards
    Tulip

    J_3RSINV
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Check with these .

  • Sales Order Costing. Error values, need BAPI or Userexit or Enhancements

    Hi Experts,
    I have a situation to solve the Errors in Sales Order Costing.
    My Error is,  its not splitting values equally,,, (BOM Item Price Values)
    for example...
    let i have a parent Item A.
    and Child Items as A1, A2, A3.
    Now the Qty of A is 100. for each item the price value is 50. so the total value is 5000/-
    Now If i need one A, then I need 8 A1's, 4 A2's, 3 A3's.and let think A1 value and A2 value and A3 value (single Unit ) are equal. and let the value be 100.
    but in BOM i can see all the values of A1, A2, A3 as same. (500, 500, 500) but it should be (800, 400, 300)
    The single Unit Price is not multiplying with Quantity, but its equally splitting.
    Please tell me Can I find and BAPI or Userexit or any enhancements or any Configurations to do.
    Thanks & Regards
    Dileep .C

    no replies and my thread was dead.

  • USEREXIT FOR transaction J1IJ

    Hi
    My user wants that date in J1IJ that is excise from depot sale should same as PGI date. If it is not same it should throw some error. Is there any userexit available for the same.
    Any information will be of great help.
    Regards
    Jalaj

    Hi Jalaj,
    Use any one of  these user exits
    MJ1IJI01.
    MJ1IJF01.
    Regards
    Ram

  • Need userexit while saving the billing document (VF01)

    HI Folks,
    I need a userexit while saving the VF01 transaction code. My requirement is i need to check if there is any intercompany invoice was created before the delivery related invoice
    By default SAP creates delivery related invoice . I have checked lot of userexits with package VF but none is working and also gone through the standard userexits RV60AFZ*, still didn't find any good one for my requirement..
    All your help is highly appreciated..
    waiting for your replies.
    Regards,
    raj

    Hi,
    I have done some analysis before posting the question and one mistake i done is i have checked theUSEREXIT RV60AFZC and i checked XVBRK AND XVBRP instead of VBRK and VBRP...also whie saving this  is not called, it is called when we press enter and also when we press SAVE button in the initial screen.
    I missed the small thing...
    Thanks for the link..
    Regards,
    Nagaraj

  • Userexit while saving the billing document

    Hi all,
    Is there any userexit while saving the billing document..I want to define minimum invoice value in system.
    Regards,
    Puneet Makkar

    Hi,
    In preceding project, i had the same requirement.
    Price condition : copy from std price for minimum value.
    Use condition category (for specific determination price for invoice).
    In price procedure : apply requirement to active only for invoice (std = 22).
    Re determination of price during creation of invoice :
    use RV61AFZA with the value of condition category to adapt pricing type (ex : X).
    modify copy rule (Tcode VTFL) for item : use new value for pricing type (ex : X).
    Regards,
    Lionel

Maybe you are looking for

  • Adobe CS6 Premium Classroom in a book

    Hi, Has anyone read the new Classroom in a book, um...book yet? I wondered how much new information there would be vs the overlap between it and the CS5 version that I already have. Thats it...a short and (hopefully) easy question for a monday mornin

  • LiveCycle Designer problem saving in Adobe Reader

    I re populated an old PDF file in LiveCycle Designer. Text, Date, Check boxes. When the new file is opened in Adobe Reader x, it will not save the data. Any way to fix this?

  • Working in ECC 5.0..After approve, i need to send confirmation mail to all

    Hi, I am working in ECC 5.0...This is my requirement.. After receiving the workitem approval message in managers inbox..after he approves/rejects,whatever approval i need to send back confirmation mail to Employee as well as payroll and admistrator a

  • Issue with my Tabular form Cascading Select List

    Hello Friends, I have implemented a Cascading select list in a tabular form with the below SQL ... SELECT apex_item.hidden(31,line_no)   || apex_item.select_list_from_query(32, POLE_CODE_ID, 'select POLE,POLE_ID from CAP_PLAN_POLE_DETAILS', 'style=""

  • Mum in need of help

    my mums Apple id was her work email after leaving the company a year ago the address is no longer active, dose she need to set a new one? Can we still change it over? Will she lose everything she has bought? Any advice? THank you