LIV-Planned Del.Cost for Multiple Purchase order.

Hi Gurus,
I have following issue while doing LIV -T-code MIRO . Passing Planned del. cost (Imports -Custom Duty) for Multiple POs (Same Vendor)
Checked following basics.
1.In Po Planned Del cost are maintained .(Custom Duty)
2.in MIRO -Selected Layout All information and Planned Del. cost
3.In Details tab Entered Doc. type RI (inv. receipt-IM) for imports.
4.Entered all mand. details like Amount ,currencey etc
1.Selected Layout All information and Planned Del. cost
2.Selected in Po reference Tab- Purchase order/Scheduling agreement and in more allocation area ,I am entering mulitple purchase order.(say 2 Pos)
When I adopt required 2 Po and line items to be settled r desplayed. and Again when I enter.Only One PO is displayed and other vansihes.
I need Both the PO  (multiple PO).
Please help in resolving the issue.
Thanks in Advance.
Regards
Amar

Hi,
Yes, it is possible.
In MIRO, click on "More Allocation Criteria" button besides Purchase Order field
here go to search help of PO in the Pop-up screen and enter the vendor code and company code and execute
Now select the POs and click on "Copy" button and now click on "Adopt" button in the pop-up screen
It will copy all the POs and then follow the normal procedure of LIV.
Regards
Amar

Similar Messages

  • How to Park the single invoice for multiple purchase orders

    Hi,
    How to Park the single invoice for multiple purchase orders?

    brother this is possible to enter one Invoice fro multiple purchase order.
    call transaction MIR7, select " purchase order/Scheduling Agreement" from the PO refernce Tab. then click on arrow. give your purchase orders here.
    Thanks

  • Single invoice for Multiple Purchase Orders

    Hi,
    How to Park the single invoice for multiple purchase orders

    brother this is possible to enter one Invoice fro multiple purchase order.
    call transaction MIR7, select " purchase order/Scheduling Agreement" from the PO refernce Tab. then click on arrow. give your purchase orders here.
    Thanks

  • How to create one inbound delivery for multiple purchase order?

    Hi Experts,
    Please let me know how can I create one inbound delivery for multiple purchasing documents(PO or SA)? 
    Is there a configuration needed for this?  If yes, please let me know the configuration to make this happen.
    Appreciate your help on this.  Right answers will be rewarded.
    Thank you.
    with regards,
    Muthu Ganapathy.

    Hi,
    my situation is:
    - a WM managed warehouse, society A;
    - a HU managed warehouse (without WM), society B;
    - a purchasing process of HU from society A towards society B.
    Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
    This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
    "V51VP - item was not found - process cancelled".
    Can you help me to transfer these HU?

  • Bapi to post planned delivery cost of a purchase order

    Hi every body,
             Can anybody please give me the full details of the planned delivery cost data
    to post with BAPI_INCOMINGINVOICE_CREATE
    what are the manditory fields,
    I am using the following code , but  a few are posting , remaining r not posting
    but when I post the same through MIRO it is posted what is difference
    this error was came
    ERROR: enter good reciept data only when working with GR-based IV
    REPORT  ZBAPI_MIRO                              .
    tables: ekko,ekbe,ekpo,lfa1,EKBZ,t000.
    data: itemdata like BAPI_INCINV_CREATE_ITEM occurs 0 with header line,
      headerdata like BAPI_INCINV_CREATE_HEADER occurs 0 with header line,
         return like BAPIRET2 occurs 0 with header line,
         DOC_NO LIKE BAPI_INCINV_FLD-INV_DOC_NO,
         FISC_YEAR LIKE BAPI_INCINV_FLD-FISC_YEAR.
    DATA:error_flag.
    data: item_data like EK08BN occurs 0 with header line.
    data: begin of  itab occurs 0,
                 p_order like ekpo-ebeln,
                 p_item like ekpo-ebelp,
                 p_ctype like konv-kschl,
                 p_lifnr like lfa1-lifnr,
          end of itab.
    data:  order(10) type N,
          vendor(10) type N.
    data: begin of it_doc occurs 0,
                DOC_NO LIKE BAPI_INCINV_FLD-INV_DOC_NO,
                p_order like  ekko-ebeln,
          end of it_doc.
    PARAMETERS:  fn LIKE rlgrap-filename OBLIGATORY.
    DATA: FN1 TYPE STRING,
         l .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR fn. "p_file.
      CALL FUNCTION 'F4_FILENAME'
           EXPORTING
                field_name = 'FN'
           IMPORTING
                file_name  = fn.
    START-OF-SELECTION.
       FN1 = FN.
    PERFORM upload.
    loop at itab.
    CLEAR: EKBZ,EKPO,LFA1,ITEM_DATA,HEADERDATA,itemdata.
    REFRESH:itemdata,HEADERDATA,ITEM_DATA.
    order = itab-p_order.
    itab-p_order = order.
    vendor = itab-P_lifnr.
    itab-p_lifnr = vendor.
    select single * from ekbz where ebeln = order
                               and ebelp = itab-p_item
                              and kschl = itab-p_ctype
                              and bewtp = 'F'.
    select single * from ekpo where ebeln = order
                           and ebelp = itab-p_item.
    SELECT SINGLE * FROM LFA1 WHERE LIFNR = vendor.
    clear: item_data.
    refresh:item_data.
    call function 'ME_READ_COND_INVOICE'
       exporting
       I_BUDAT            =
        I_EBELN            = itab-p_order
        I_EBELP            = itab-p_item
       I_FRBNR            = ' '
         i_lifnr            = ' '
       I_XBLNR            = ' '
       RE_KURSF           =
       RE_WAERS           =
       I_RESWK            = ' '
       I_EKKI             = 'X'
       I_BUBIS            =
       RE_WWERT           =
       XEK08B_FLAG        =
       I_BELNR            =
       I_BUZEI            =
       I_READ_KRUEK       = ' '
       I_DISPLAY          = ' '
      TABLES
        XEK08BN            = item_data
       XEK08BN_CURR       =
    read table item_data with key kschl = itab-P_ctype.
    headerdata-INVOICE_IND = 'X'.
    headerdata-DOC_TYPE = 'KR'.
    headerdata-DOC_DATE = ekbz-budat.
    headerdata-PSTNG_DATE = SY-DATUM.
    headerdata-REF_DOC_NO = itab-P_ORDER.
    headerdata-COMP_CODE = 'HPL'.
    headerdata-DIFF_INV = itab-p_lifnr.
    headerdata-CURRENCY_ISO = ekbz-waers.
    headerdata-GROSS_AMOUNT = item_data-WEWWR - item_data-AREWR .
    headerdata-BLINE_DATE = SY-DATUM.
    headerdata-DEL_COSTS_TAXC = 'V0'.
    headerdata-PO_REF_NO = itab-P_ORDER.
    headerdata-bus_area = 'OTHR'.
    headerdata-ITEM_TEXT = LFA1-NAME1.
    *headerdata-HEADER_TXT = .
    headerdata-ALLOC_NMBR = itab-P_ORDER.
      APPEND HEADERDATA.
    CLEAR HEADERDATA.
    itemdata-INVOICE_DOC_ITEM = '00001' .
    itemdata-PO_NUMBER = itab-P_ORDER.
    itemdata-PO_ITEM = itab-P_ITEM.
    *itemdata-REF_DOC = ekbz-belnr.
    itemdata-REF_DOC_YEAR = ekbz-gjahr.
    itemdata-REF_DOC_IT = itab-P_ITEM.
    itemdata-TAX_CODE = 'V0'.
    itemdata-ITEM_AMOUNT = item_data-WEWWR - item_data-AREWR .
    itemdata-QUANTITY = item_data-BPWEM - item_data-BPREM .
    itemdata-PO_UNIT = ekpo-meins.
    itemdata-PO_PR_UOM = ekpo-meins.
    itemdata-COND_TYPE = itab-P_CTYPE.
    *itemdata-ITEM_TEXT = .
    append itemdata.
    clear itemdata.
    CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
      EXPORTING
        HEADERDATA       = HEADERDATA
      IMPORTING
        INVOICEDOCNUMBER = DOC_NO
        FISCALYEAR       = FISC_YEAR
      TABLES
        ITEMDATA         = ITEMDATA
       ACCOUNTINGDATA   = I_ACCOUNTINGDATA
       TAXDATA          = I_TAX
        RETURN           = RETURN.
    if sy-subrc <>  0.
    message e999(re) with  'Problem occured'.
    else.
      loop at return.
        if not return is initial.
         clear bapi_retn_info.
         move-corresponding return to bapi_retn_info.
          if return-type = 'A' or return-type = 'E'.
            error_flag = 'X'.
          endif.
         append bapi_retn_info.
        endif.
      endloop.
      if error_flag = 'X'.
       message e999(re) with  'Problem occured'.
        rollback work.
      else.
          Return Table from BAPI call is empty
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            WAIT   = 'X'
          IMPORTING
            RETURN = RETURN.
      endif.
    endif.
           write:/ 'Document no :', doc_no.
           it_doc-doc_no = doc_no.
           it_doc-p_order = itab-p_order.
           append it_doc.
           CLEAR IT_DOC.
    endloop.
    loop at it_doc.
       if it_doc-doc_no = ' '.
          write:/ 'purchase order not posted ' , it_doc-p_order.
       else.
       write:/ 'document no:' , it_doc-doc_no, 'p.order:' , it_doc-p_order.
      endif.
    endloop.
    *&      Form  upload
          text
    -->  p1        text
    <--  p2        text
    form upload .
      CALL function 'GUI_UPLOAD'
      exporting
        filename                      = FN1
       FILETYPE                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      tables
        data_tab                      = ITAB
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    endform.                    " upload

    I think you need to implement user-exit EXIT_SAPMM06E_012 of enhancement MM06E005.
    Look in OSS with seach term MM06E005 to get some examples.
    Note310154 "ME21N/ME51N: Customer-specific check, generating error log" has some examples.
    You should use the macros to set errors/warnings
    Example:
      mmpur_business_obj_id pt_ekpo-id.
      mmpur_metafield mmmfd_partners.
      mmpur_message_forced 'W' '00' '208' text-001 '' '' ''.
    regards,
    JG

  • Target Vs Acual Cost Comparison for multiple process orders

    Dear SAPians,
    I want to take a report for target vs actual cost for all process orders and product cost collectors created in a particular period. I have checked the standard report KKBC_ORD that serve my purpose but for a single order. I want the same report for multiple process orders and product cost collectors.
    Is there any standard report or should I create a report painter report. I have tried to create a report painter report based on library 7KO, but target cost was not showing for selected order.
    Kindly suggest.
    Shirazi

    Target Costs are available in library 601 for internal orders (and can be used for process/production orders).
    Regards,
    Adrian

  • Multiple Vendors for one Purchase order in delta load

    Hello,
    While Extracing data from 2LIS_02_SCL we are getting 2 vendors for a singe purchase order , as we know that for a purchase order we cannot have multiple vendors.
    When i checked data in deta queue (RSA7) we are able to see only single vendor for 1PO, but when we load to bw and checked data in PSA we are getting 2 different vendors for same PO.
    Regards,
    Vasu.

    Hello,
    As per my understanding you are getting data upto delat queue (RSA7) Correctly and you are getting incorrect data at PSA level In bw.
    i think you must have some customer exit in ECC for the datsource 2lis_02_scl. so i would say that there may be some problem in the code since the customer exit code will get triggered after RSA7 and before PSA in BW..
    Additionally you can cross check in RSA3 with update mode as 'D' which gives  delta before loading to BW.
    Debugging option :
    Load data to BW and pick the PO having multiple vendors and in ECC dubug using RSA3 with update mode as "R" inorder to fing the problem in customer exit code.
    Hope this helps you..
    Regards,
    Srikanth.

  • Single Del. for multiple sales order:

    Dear all,
    i wanna do a single del. for multiple sales order ,So plz provide me the exact flow to do it.
    Also provide what conditions are required to do the same.
    Waiting for ur reply,
    Thanks & Regards,
    Olet malla..

    Hi,
    It is very much possible in SAP.
    Goto the T code VL10A and enter your Shipping point and Execute.
    This will give you the list of Sales orders which are ready for delivery.
    Select the sales orders for which you want to create single delivery and click on "Back Ground".
    This will create the delivery. PGI you can do it VL02N.
    Requirement for combining Sales order are: Ship to party should be same, Route should be same, Delivery date should be same, Shipping point should be same, plant should be same.
    Regards,
    Mullairaja

  • How to cancel multiple lines for an Purchase Order

    Hello everyone,
    Does anyone know a way to cancel multiple purchase order lines, without having to do it manually?
    Is there a way to do it automatically?
    Thanks and regards,
    Ankit

    Hi,
    Not sure if it's possible through PO screen. You may cancel PO lines programatically using po_document_control_pub.control_document with p_action = 'CANCEL'. You could use it inside a loop to cancel multiple lines.
    Hope it helps.

  • Data Migration for Open Purchase Order

    Hi, All,
    Is there anyone know how to Count the volume for Open Purchase Order. What's the normal strategy for the Data Migration and Cut-over stage?
    My client want to know how many Open Purchase Order in the legacy system and then determine manual or automatic data migration. If manual, how to do? If automatic, how to do? Because all materials and vendors, plants are different number. How to track? How to find out to match between new and old?
    Thank you very much

    JC,
    Sounds a bit early to be making decisions about the realization phase.  It doesn't sound like you have finished the Blueprinting phase yet, much less the testing phase.
    Anyhow, in my experience I typically use LSMW (Legacy system migration workbench) to load MM master data (material masters), Inventory (WIP, RM, FG, etc) Purchasing Master data (Vendors, Purchase Info Records, Source Lists, Quota Arrangements), and Purchasing transactional documents (POs, PurReqs, Scheduling Agreements, etc).  Depending on the complexity and volume of data, it  may be necessary to write custom programs to load the data.  You will find this out during your requirements gathering.
    It is uncommon but possible to load all of these data manually.  I have never run across a client that wants to pay a consultant's hourly rate to sit at a terminal to peck away loading master data, so if the client intends to have his own users enter the data manually, the project manager should make provision that there will be qualified TRAINED client employees available for this data entry.  I did help with a portion of a conversion once manually; of Sales Credits, but there were only about 30 SD docs to load.   I did this the evening before go-live day, while I was waiting for some of my LSMW projects to complete in the background.
    A good opportunity to 'practice' your data loads is right after you have completed your development and customization, and you have gotten the approval from the client to proceed from the pilot build to the full test environment.  Once you have moved your workbench and customization into the client's test environment, but before integration testing, you can mass load all, or a substantial portion of your conversion data into the qual system.  You can treat it like a dry run for go-live, and fine tune your processes, as well as your LSMW projects.
    Yes, it is good practice to generate comparisons between legacy and SAP even if the client doesn't ask for it. For Purchase orders on the SAP side, you could use any of the standard SAP Purchasing reports, such as ME2W, ME2M, ME2C, ME2L, ME2N.  If these reports do not meet the requirements of the client, you could write a query to display the loaded data, or have an ABAPer write a custom report.
    You didn't ask, but you should also do comparisons of ALL loaded data - including master data.
    It sounds like you are implying that the client wants YOU to extract the legacy data.  For an SAP consultant, this is not very realistic (unless the legacy system is another SAP system).  Most of us do not understand the workings of the myriad legacy systems.  The client is usually expected to produce one or more legacy system technical experts for you to liase with.  You normally negotiate with the technical expert about every facet of of the data migration.  In addition, you will liase with business users, who will help you and the implementation team to logically validate that the final solution (turnkey SAP production system, fully loaded with data) will meet the client's business needs.
    Finally, you mentioned how do you track the mapping of master data between legacy and SAP.  There are many ways to do this.  I normally try to get the legacy person do the conversion on his end, eg, when he gives you the load file, you would like to have already translated the master data and inserted the SAP relevant values into the file.  If this is not possible, I usually use MS Access databases to maintain a master map, and I perform the mapping on a PC.  If your data package is small, you can probably get by using MS Excel or similar.
    Good Luck,
    DB49

  • How to create one GR document for mutiple Purchase orders

    Can you please explain me in SAP - How to create one Goods Receipt document for reference of Multiple purchase orders.

    Dear Tanuj,
    Both Rama & Stephen are correct.
    You can take Single GR for Multiple PO either in MIGO or MB01 as long as that POs belongs to same vendor.
    In MIGO, after putting the PO press,enter,  again give the next PO of that vendor .
    If this solve your problem, close the issue.
    With Regars,
    Krishna Reddy

  • Good receipt problem for subcontracting purchase order

    Good receipt problem for subcontracting purchase order
    with account assignment type ‘E’.
    After update to ECC 6.0. Do good receipt for subcontracting purchase order with account assigment 'E'.The system show the error message(KI235)----Two cost elements (Change in Stock (Subcontracting)&Outside processed fee) haven't CO account assignment.but the field status  for sale order is option entry , when I default cost center for the cost element  in OKB9.the system post the material document and generate the following accounting document.
    Doc.Type : WE ( Goods receipt ) Normal document
    Doc. Number    5000056065       Company code    1000         Fiscal year     2007
    Doc. date      2007.12.04       Posting date    2007.12.04   Period          12
    Calculate Tax
    Doc.currency   HKD
    tm PK Account    Account short text   Tx Cost Ctr   SaleOrder               Amount
    1 89 13500000   Stock-Work in proces                   1007823  10             274.4
    2 96 21210010   GR/IR Clearing                             1007823  10             205
    3 91 41010102   Chg in Stock(Subcon)    10901099  1007823  10            274.4
    4 86 41031000   Outside processed fe     10901099  1007823  10            205  
    5 99 13500000   Stock-Work in proces                    1007823  10            69.4
    6 81 41010101   Cost of Prod (Subco)                      1007823  10           69.40
    My problem is:
    When use MIGO to do good receipt for subcontracting Purchase order, for consumption account((Change in Stock (Subcontracting)-41010102&Outside processed fee--41031000) ,why the system don’t recognize the sale order filled as CO account assignment?

    Dear fanny chen
    Did you get a solution for your open question?
    I`m facing the same problem, so any help yould be appreciated.
    Regards

  • How to create multiple Purchase Order  using the same document number?

    HI Friends,
    I m in a product which extracts data from SAP and stored in Access database.
    For that,while i extracting Purchase Order from the Demo Database (SBODemo_US)for OEC Computers,the same DocNum is used for several Purchase Order using Index Line numbers.
    eg:
    DocNum for Purchase Order1 -->3000   0 (Index)
      DocNum for Purchase Order2 -->3000   1 (Index)
        But i can't create multiple Purchase Order using same DocNum manually in SAP B1,Could anybody please help me <b>to create a Purchase Order using same DocumentNumber?</b>
    Thanks in Advance
    SooriyaKala.P

    Hi,
    The problem statement is not quite clear to me.
    As far as I understand your statement, I think you want to club multiple orders into one purchase order using the index incrementally.
    For this I think once you have created the first purchase order, open the purchase order in edit mode the second time and append the new line items.
    If I am getting you wrong please explain the problem statement in more detail.
    Regards,
    Rara.

  • Multiple purchase orders in a file - Multiple IDOC'S based on lineitem

    Hello All,
    I have a typical requirement where as there needs to be "separate IDOCs for different material with distribution channel X and Y".
    The input is a file with multiple purchase oders inorder to generate multiple IDOCs..
    As a prerequisite I made changes in occurrence of target structure IDOC from 1..1  to 1..unbounded.
    I came to know from some sources that it can be achieved  through Java mapping but i am not aware of JAVA.
    Can anybody has the detailed Java mapping code?
    It would be great if anybody help me out from this issue .
    Thanks in advance.
    Best regards
    Hari

    Hi Raj,
    Thanks for your reply.
    May be we can achieve it using graphical mapping but its a edifact file   with multiple purchase orders.
    Internally we have some conditions like for every repetirion of the segment UNH new idoc number needs to generate
    i.e. UNH -
    >IDOC
    along with line item requirement.
    In this case need to handle logic at the top level as well as line item level or can club both.
    If possible can you please let me know what have you done in your case so that i can compare mine.
    Thanks once again.
    Hari

  • No Inoice Varification for Service Purchase Order

    I want Service entrries to be generated for service purchase order but I don,t want Invoice Varification (MIRO) for that Purchase Order or Service Entry.
    Pl let us know how can I configure this.
    regards,
    Sanjay

    Hi,
    Not sure, why there is such a business requirement...
    However, standard SAP has not provided any such facility for Item cat (D) service, any possibility to suppress IR.  You may try creating an account assignment cateogry ( Copy ofr K - Cost Cneter) and deselect Invoice Receipt checkbox in the config of new account assignment category.  Assign the new a/c assignment category to Item Category D. 
    Regards

Maybe you are looking for