File attachment for Purchase Requistion Number

HI
I want to attach the file to the Purchase requisition Number generated in CJ20N.
Does the PR BADI change will have the attachment transfer function?
or is there any way i could attach the file in Header level or item level in PR
Regards
Chandra

Hi,
Did you resolved this?
I have same requirement. Can I know what is the BADI/FM/BAPI?
Thanks,
Ireme

Similar Messages

  • Different number range for Purchase requistion

    Hi,
    While converting Planned order to Purchase requisition (Manual Run), i need different number range for Purchase requistion for different plant.
    I maintained different number ranges in OPPQ, and maintained number range in OMI3, the number range which i ahve maintained as per the plant are seems to be not working.
    Can somebody help me in this..
    Kariya...

    hi,
    Please define the number ranges with respect to the MRP group OPPR,OM12 and OM13 with respect to the plant and try hope it helps
    Regaards
    sravanthi
    Edited by: Sravanthi683 on Jul 10, 2009 8:58 AM
    Edited by: Sravanthi683 on Jul 10, 2009 9:00 AM

  • Purchase requistion number not been generated for material shopping carts

    Dear Experts,
    I am able to create a purchase requistion for text shopping carts once it is approved. For material if i create a shopping cart then status is showing approved(activated workflow without approval) but purchase requistion number not been generated.
    It was happening suddenly...earlier i was able to generate PR for material shopping carts.
    Please advise on this
    Thanks
    Ravo

    Hi Venkatesh,
    Can you please give me the detail requirement. If you want generate a PR for catalogue items then you have to maintain the setting in SPRO_>srm->SRM SERVER->cross application basic settings-> define objects in backend systems...
    Thanks
    Ravi

  • Purchase Requistion - Number Range

    Hi,
    Can we define alph numberic (ABC0001) for number range (internal / exerternal) for purchase requistion. If yes How?
    regards

    Hi ...monsooor..
    You can Use ALPHANUMERIC..numbering for External Assignment in PR..
    This can be done in OMH7 - Maintain No Range for PR.
    For Internal Assignment we cant use directly in OMH7 ..instead you can use userexit with help of ABAPpper...
    Thanks & Award if useful..
    R.B.K.Kannan

  • User Exit for Purchase Requisition Number Range

    Dear Experts,
    I searched on sdn, i got M06B0003 &M06B0004 this 2 user exit for PR Number range.
    I have activated both User exits but while creating PR is not getting effect of that user exit.
    I have checked by putting Break-point in respective user exit but while saving the PR it should go to that break-point but it not going there aslo.
    And also i have checked user exit MM06E003 but it is for Purchase Order number range.And for PO it is working.
    Please help me to solve this issue.Solution will be appreciated.
    Regards,
    Sanket.

    Hi,
    Sorry that badi will not help try this one ...EXIT_SAPLMEREQ_009 in MEREQ001 where the export parameters is purchase requisition number....
    Thanks,
    Shailaja Ainala.

  • Standard/Custom program to set deletion flag for Purchase Requistions

    Hi all,
    If any of you know the Standard/Custom program to set deletion flag for purchase requistions, please let me know. It would be of great help.
    Thanks in advance,
    Karthik

    Hello
    Bapi BAPI_REQUISITION_DELETE will help you.

  • CREATION OF SET FOR PURCHASE ORDER NUMBER

    Dear Sirs,
    I want to create a basic set containing all purchase order number, even though i am using table MSEG and field EBELN, i am not getting and values in it. how to create a basic set containing all the available PO numbers, which can be used in FI validation.
    Give me the full setting to create a above mentioned set.
    Thanks and Regards

    i didn't get what u are saying please elobrate. let me put forth my issue clearly.
    my client want to check where there is any PO available are not, for payments exceeding 1,00,000/-
    So i am cofiguring a validation, for which i want to keep the  "set of PO numbers" in "CHECK" part of the validation. which i am unable to do. when ever i try to select the set it is saying no valid object found.
    SO please help me with ur expert knowledge in this regards
    Thanks & Regards

  • No goods receipt possible for purchase order Number and Item number.

    Hello experts,
    When I create a Goods Reciept with reference to Purchase Order using BAPI_GOODSMVT_CREATE, the following error message appears.
    No goods receipt possible for purchase order <PO number> <line item number>.
    But the GR is getting created manually using Transaction MIGO for the same PO number.
    I found some blogs to check for deletion indicator and Movement type and quantity, when I searched SDN for the same Issue.
    In my case 
    1.deletion indicator is not set for the Purchase order line items
    2.And Movement type is 101
    3.And gm_code is 01.
    Could anyone please suggest me, what else could be the reason for this error?

    Here is the code what i have written.
      f_gmvt_header-pstng_date = sy-datum.
      f_gmvt_header-doc_date   = sy-datum.
      f_gmvt_header-pr_uname   = sy-uname.
      f_gmvt_header-ref_doc_no = p_ebeln.
      f_goodsmvt_code_tmp        = '01'.
    * Looping the PO details.
      CLEAR: gf_item,f_gmvt_item.
      LOOP AT gt_item INTO gf_item.
    * fill the bapi item structure details
        f_gmvt_item-material   = gf_item-material.
        f_gmvt_item-plant      = gf_sbms-werks.
        f_gmvt_item-stge_loc   = '0001'.
        f_gmvt_item-move_type  = '101'.
        f_gmvt_item-po_number  = p_ebeln.
        f_gmvt_item-po_item    = gf_item-po_item.
        f_gmvt_item-entry_qnt  = gf_item-quantity.
        f_gmvt_item-entry_uom  = 'PC'.
        f_gmvt_item-entry_uom_iso = 'PCE'.
        f_gmvt_item-po_pr_qnt = gf_item-quantity.
        f_gmvt_item-orderpr_un = 'PC'.
        f_gmvt_item-orderpr_un_iso = 'PCE'.
        f_gmvt_item-no_more_gr = 'X'.
        f_gmvt_item-ref_doc    = p_ebeln.
        f_gmvt_item-prod_date  = sy-datum.
        f_gmvt_item-mvt_ind    = 'B'.
        f_gmvt_item-move_reas  = '101'.
        f_gmvt_item-vendor      = gf_lfm1-lifnr.
        APPEND f_gmvt_item TO t_gmvt_item.
        CLEAR f_gmvt_item.
      ENDLOOP.
    * cALL THE bapi fm FOR gr POSTING
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header               = f_gmvt_header
          goodsmvt_code                 = f_goodsmvt_code_tmp
    *     TESTRUN                       = ' '
    *     GOODSMVT_REF_EWM              =
       IMPORTING
         goodsmvt_headret              = f_gmvt_headret
    *     MATERIALDOCUMENT              =
    *     MATDOCUMENTYEAR               =
        TABLES
          goodsmvt_item                 = t_gmvt_item
    *     GOODSMVT_SERIALNUMBER         =
          return                        = t_return
    *     GOODSMVT_SERV_PART_DATA       =
    *     EXTENSIONIN                   =
      IF sy-subrc = 0.
    * For commit the changes use BAPI_TRANSACTION_COMMIT FM.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
    *      MOVE: f_GMVT_HEADRET-MAT_DOC   TO WA_DET-MBLNR,
    *            f_GMVT_HEADRET-DOC_YEAR  TO WA_DET-MJAHR,
    *            f_GMVT_HEADER-REF_DOC_NO TO WA_DET-EBELN.
    *      APPEND WA_DET TO IT_DET.
    *      CLEAR WA_DET.
      ENDIF.

  • BAPI_PO_CHANGE me22n add profit center for purchase requisition number

    Hello all,
    I have to add an item line for a specific sales order( p_vbeln ).
    for that i use BAPI_SALESORDER_CHANGE and it works and the item is inserted.
    ( p_posnr = sales order item and ln_etnr = schedule_line = 1 )
    Now I have to maintain the specific po item line and to insert the Profit Center related to the Purchase Requisition Number that was assigned to the above sales order item like using transaction ME22N.
    when i use the transaction all i have to do is to ADD the Purchase requisition number to the PO Order Number and to add the PROFIT CENTER.
    for this i use BAPI_PO_CHANGE.
    i colect the folowing data:
    from table VBFA( vbelv = sales order number vbeln = l_ebeln)
    PO Number = p_ebeln.
    from table VBEP ( vbeln = sales order number, posnr = the previously inserted sales order item )
    Purchase Requisition Number = l_banfn
    Purchase Requisition Item = l_bnfpo
    from table VBAP (vbeln = sales order number, posnr = the previously inserted sales order item )
    Profit Center = l_prctr
    from table EKKN
    select max(  ebelp )
    from ekkn
    into l_ebelp
    where ebeln = l_ebeln.
    add 10 to l_ebelp
    Purchase Order Item = l_ebelp .
    and i move the data:
      i_t_poitem-po_item = l_ebelp.
      i_t_poitem-preq_no = l_banfn.
      i_t_poitem-preq_item = l_bnfpo.
      i_t_poitem-acctasscat = cc_x.
      APPEND i_t_poitem.
      i_t_poitemx-po_item = l_ebelp.
      i_t_poitemx-po_itemx = cc_x.
      i_t_poitemx-preq_no = cc_x.
      i_t_poitemx-preq_item = cc_x.
      i_t_poitemx-acctasscat = cc_x.
      APPEND i_t_poitemx.
      i_t_poaccount-po_item = l_ebelp.
      i_t_poaccount-itm_number = p_posnr.
      i_t_poaccount-SCHED_LINE = ln_etnr.
      i_t_poaccount-profit_ctr = l_prctr.
      APPEND i_t_poaccount.
      i_t_poaccountx-po_item = l_ebelp.
      i_t_poaccountx-profit_ctr = cc_x.
      APPEND i_t_poaccountx.
    then i use the function BAPI_PO_CHANGE:
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder                = p_ebeln
          testrun                          = l_test
       TABLES
         return                            = i_t_return_po
         poitem                          = i_t_poitem
         poitemx                        = i_t_poitemx
         poaccount                    = i_t_poaccount
         poaccountx                   = i_t_poaccountx.
    BUT i get the folowing result ( messages in return table)
    Insert item for PO-order                                                                               
    Message:  Changing of PO using Enjoy BAPI unsuccessful ;                                                
      Message:  Purchase order item 00120 still contains faulty account assignments ;   
      Message:  Enter Profit Center ;                         
    what should i do?
    best regards,
    emilia

    hello,
    i debugged the function.
    first the data from poaccount is copied in lt_account.
    then this happens:
      PERFORM get_current_data
          TABLES    poitem               poschedule               poaccount
                    pocondheader         pocond
                    extensionout
                    poexpimpitem         allversions              popartner
                    potextheader         potextitem               return
          USING
                    l_po                 lf_header_currency
          CHANGING
                    expheader            exppoexpimpheader.
      exppoexpimpheader = poexpimpheader. "foreign trade export workaround
    after this form is executed poaccount-profit_ctr is empty.
    lt_account-profit_ctr in not empty but then it is not anymore.
    in the form this happens:
    item data
      CALL METHOD im_po->get_items
        IMPORTING
          ex_items = lt_items.
      LOOP AT lt_items INTO an_item.
        l_item ?= an_item-model.
        CALL METHOD l_item->get_data
          IMPORTING
            ex_data = ls_mepoitem.
        ls_mepoitem-ebeln = ls_header-ebeln.
        APPEND ls_mepoitem TO lt_item.
    schedules
    accountings*
        CALL METHOD l_item->get_po_accountings
          IMPORTING
            ex_accountings = lt_accountings.
        LOOP AT lt_accountings INTO an_item.
          l_accounting ?= an_item-model.
          CALL METHOD l_accounting->get_data
            IMPORTING
              ex_data = ls_mepoaccounting.
          ls_mepoaccounting-ebeln = ls_header-ebeln.
          APPEND ls_mepoaccounting TO lt_account.
        ENDLOOP.
    item conditions
    foreign trade (item data; EIPO)
      ENDLOOP.
    so it acctualy copies every item from purchase number ebeln in lt_item.
    for each one of them it copies the account data into lt_account.
    so the last loop is for the item that i want to enhance.
    here it copies all the necessary data in lt_account except of course the profit center because that's the one that i need to insert.
    after this loop there is a form:
      PERFORM move_account_out TABLES lt_account
                                                                ext_poaccount
                               USING  header_currency.
    where the ext_poaccount is the poaccount parameter.
    this form:
    clears ext_poaccount.
    copies the data from lt_account into ext_poaccount.
    and returns the ext_poaccount with the empty Profit center field
    and so after performing get_current_data my parameter is deleted.
    then it's almost the end of the function and nothing else related to the poaccount parameter.
    so it's no use for me to insert the field Profit_Center?
    is there another FM that i should use to be able to insert the profit center?
    what should i do?
    Best regards,
    Emilia

  • Purchase requistion number and line item number linkage with work order opr

    Hello,
    I want to know what is the link between Purchase requisition number along with its line item number with work order operation number.
    For the non stock component assign to Work order operation ( say operation 10) the PR get generated for that component which assign to that operation .
    in which table we can find that PR as input and output as Work order number along with its operation .
    In AFVC table if we put PR as input then it does not show any entry for that PR number?
    Regards
    Vaibhav

    HI Vaibhav,
    If you have the Work Order Number AUFNR, then you can get AUFPL from AFKO.
    Then Pass AUFPL to AFVC table to get BANFN(Purchase requisition number) and BNFPO(Item number of the purchase requisition in the order).
    Regards,
    Ravi

  • DMS - File attached for FI posted document

    Hi All,
    I am new for DMS .
    My requirement is - we have web application in .net  . Vendor update entry in web application , attached some file with that page and go to submit .
    It comes in SAP through proxy and posting in FI has been done .
    But the file attached in .net application is stored in .net application server .
    So now requirement is when we open posted document in SAP we need that file attached with posted document (available in GOS for that t-Code) .
    My question is -
    1 - how we create entry in DMS dynamically ( we got posting confirmation in SAP through proxy and we got that file in SAP application server through file transfer ) . But how to entry maintain in DMS (we have multiple document for single posted document ). Even I know how to create document type for DMS n basic thing of DMS .But I need algo . 
    2-  How that entry link maintain to that FI T-Code . 
    Thanks to all .
    Regards,
    Alter

    Hi Ravi,
    you need to customize in OAC3 the Documenttyp link to FI Object.
    e.g
    ObjectType      Doc.type   Status Cont. Rep. Link  Doc.class      Ret.per.
    BKPF               #ZXYDOC#      X      C1    TOA01      PDF              180
    From your Server you need to call am FM (something like ALINK_CREATE_ASYNCHRON_META" on your SAP System via RFC to save the File after you created the Object.
    regards
    Kim

  • Restriction for purchase Requisition Number in ME21N

    Hi All,
    I want to raise an error message in ME21N, if the user creating PO without perchase rechase requisition number. For this i choosed one BADI.
    Definition Name: ME_PROCESS_PO_CUST
    Interface Name : IF_EX_ME_PROCESS_PO_CUST
    i have implemented the BADI  ZCHECK_PR
    Method :  IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM
    I have written code like this in PROCESS_ITEM method
    DATA: ls_mepoitem TYPE mepoitem,
            ls_customer TYPE mepo_badi_exampl,
            ls_tbsg     TYPE tbsg.
      INCLUDE mm_messages_mac. "useful macros for message handling
    * here we check customers data
      ls_mepoitem = im_item->get_data( ).
    BREAK-POINT.
    if ls_mepoitem-bstyp = 'ZV01'.
       if ls_mepoitem-banfn is INITIAL.
          message 'Enter Purchase Requisition Number' type 'E'.
       endif.
    endif.
    Saved & Activated  this.
    But while testing this in ME21N, it is not at all going to debug mode( I have created PO for ZV01 order type only).
    Is there any thing not finished for BADI?
    Can any one help me.
    Thank You.

    Vishnu,
    Very strange, just try deactivating and deleting your implementation and create a fresh one in the same client where you are testing and assign it to a transport request and check.
    Actually this BADI is already migrated to an Enhance spot in ECC 6 with same name 'ME_PROCESS_PO_CUST' but I still believe that SIMPLE badi implementation is still supported. OR Better do it with the latest way.
    Create an enhancement implementation of Enh spot ME_PROCESS_PO_CUST in SE19 and then for that Enh implementation, create a BADI implementation and an implementing class. Code the required thing in the implementing class methods and then check if it works. It's actually almost same way as implementing a simple BADI. If you need any help, search Forums or get back here.
    Pls note that Enh framework implementations are much faster than conventional BADIs and should always be used.
    BR,
    Diwakar

  • MRP - frozen period for purchase requistions

    Hello,
    we work with MRP with a Bill of material. Is it possible to fix a period in which the proposed purchase requisitions or delivery schedules cannot be modified anymore.
    Example:
    Everything MRP generated for purchase within the coming five weeks cannot be changed anymore.
    Thanks a lot!

    David,
    Are you talking about manual change or MRP automatic change?
    If you are talking about MRP automatic change, the standard freezing period will avoid the changes.
    But if you are talking about manual change, this is not possible in SAP and I won't recommend creating an ABAP program to do this function.
    I recommend you to use the authorization profile to avoid multiple users with authorization to change this objects (purchase requisitions or delivery schedules).
    Let me explain why I am against this kind of solution: Imagine if you have created manually a purchase requisition with the wrong part number or with a quantity ten times bigger and you realize that one second after saving the purchase requisition.
    If you have created this purchase requisition (an internal purchase document) in your "non-standard frozen period" you must be able to delete it or change the part number.
    Regards,
    Daniel de Assis Vieira
    SAP PP / MM Certified Consultant

  • Negative values for Purchase Order Number

    Hi,
    We are facing a strange issue in our R12.1.3 Ebiz instance (DB 11.2.0.1) - Solaris Sparc 64 bit - 2 node (1 node Apps, 1 node DB).
    Some of the purchase orders are having a negative purchase order number.
    SQL> select segment1 from PO_HEADERS_ALL where segment1 < '0';
    SEGMENT1
    -7951814
    -8960847
    How it could happen. Any suggestions please !

    hi muneer
    >
    We are facing a strange issue in our R12.1.3 Ebiz instance (DB 11.2.0.1) - Solaris Sparc 64 bit - 2 node (1 node Apps, 1 node DB).
    Some of the purchase orders are having a negative purchase order number.
    SQL> select segment1 from PO_HEADERS_ALL where segment1 < '0';
    SEGMENT1
    -7951814
    -8960847please see
    Error: Purchase Order Creation Could Not Be Initiated, But PO Was Created With Negative PO Number And No Distributions [ID 789464.1]     To Bottom     
    PO Creation Process Failed In Sourcing And Creates Document With Negative Numbers [ID 1479616.1]
    Purchase Order Receipt FAQ (P4312) [ID 1306869.1]
    How it could happen. Any suggestions please !looks like a bug
    Can a Purchase Order (PO) Be Created With Negative Quantity or Price? [ID 241389.1]
    AppsMasti
    Sharing is caring

  • User Exit for Purchase Requistion / Purchase Order Release Strategy

    Hi
    Can any one please tell me the List of User Exit / Enchancement Package for Purchase Requisition / Purchase Order Release Strategy .
    Thanks

    M06B0001                                                               
    Role determination for release of requisitions                         
    M06B0001                                                               
    Changes to communication structure for release of requisitions         
    M06B0005                                                               
    Changes to communication structure for overall release of purchase     
    requisitions                                                           
    M06E0004                                                               
    Changes to communication structure for release of purchasing document  
    M06E0005                                                               
    Role determination for release of purchasing documents

Maybe you are looking for

  • IPod Touch is recognized as a camera by Windows XP

    Bought new iPod Touch (2nd gen.). Windows XP recognizes it as a camera and iTunes will not recognize it. Have tried uninstalling and reinstalling iTunes and deleteing and reinstalling device driver..... Suggestions???????

  • CC Acrobat XI crashing when moving fields in tab order

    Using Mavericks 10.9.2, Acrobat 11.0.06 When editing a form PDF, if I try to move fields in the tab order (I have tab numbers showing) acrobat crashes. I tried the search fix but that does not help. Using the windows version of Acrobat through CC wor

  • DAC11g oracle/security/jps/jpsException

    Hi, I installed OBIEE11116(LINUX 32bit), informatica 9.1.0 - server(Linux) client (windows7),DAC11g client (windows7) OBIApps7.9.6.4(windows7) -- all are working fine while starting DAC11g server on linux 32bit platform, iam getting following error.

  • Upgrade JRE Embedded 7 to  JRE Embedded 8

    Hello, I want to upgrade my JRE Embedded 7 to JRE Embedded 8. But the configuration of my embedded target is this: -  Linux version 2.6.26-394-gf56b72e (g179270@rmm-p1188725fl) (gcc version 4.1.2) #1 PREEMPT Mon Sep 8 11:42:46 CEST 2014 - Processor: 

  • Iphoto and CS4 SLOW

    I use Iphoto to organize my pics, and Photoshop to edit them. From iPhoto, clicking edit, can open photoshop fine and I can edit pics. But going backwards.... If I'm in Photoshop and click Photos under media, the event blocks come up -- great, fast a