Auto Assignment of PO Number during MIRO

Friends,
During bill passing following entry has been generated.
Liabilty of RM                                            Debit
Liabilty of Cenvat(Excise)                        Debit
Liabilty of Cenvat(E.Cess)                       Debit
Liabilty of Cenvat(H.Cess)                       Debit
                   To Party A/c
Now in  RM line item PO no. is automatically populated in assignment field but for other liabilties account it is coming 000000 by defualt.
Now I want PO No. in these line items as well i.e. Excise, E.Cess, H.Cess. So how to do it?
Thanks in advance
Regards
Valay Pandya

Hi
please maintain the Sort key - PO number in GL master record.
014  Purchase order
Regards
Ram
Edited by: Ram Babu Yeminedi on Aug 25, 2009 11:29 AM

Similar Messages

  • Portal Master-detail form how to auto assign detail record sequence number

    Portal Master-detail form how to auto assign detail record sequence number.Please help me?

    You can just read the following section
    Can I specify a sequence number generator as the default value for a form column?
    Yes. Enter the following in the "default value" field for the column:
    #<schema name>.<sequence name>.nextval
    where <schema name> is the name of the schema containing the sequence, and <sequence name> is the name of the sequence. The entry is preceded by a "#".
    For example, if the schema name is "SCOTT", and the sequence name is "CUSTOMER_SEQ", the default value entry is:
    #SCOTT.CUSTOMER_SEQ.NEXTVAL
    same way you can do for master - detail form.
    for more information on forms please refer the following URL.
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
    hope it helps.

  • How to auto assign a number to some data using PL/SQL

    Hi,
    Assume that i have a few lines of data...
    How do i auto assign number to the data without hardcoding it?
    In this instance, i want p_id to be auto-generate...
    create or replace procedure insert_file
    p_id number,
    p_file_type varchar2,
    p_file_name varchar2
    )as
    geor MDSYS.SDO_GEORASTER;
    begin
    insert into nyp_images values( p_id, p_file_type, sdo_geor.init('NYP_IMAGES_RDT') );
    select image into geor from nyp_images where image_id = p_id for update;
    sdo_geor.importFrom(geor, NULL, p_file_type, 'file', p_file_name);
    update nyp_images set image = geor Where image_id = p_id;
    end insert_file;
    Thanks and regards,
    Esther

    In this case you could slightly change your procedure to
    create or replace procedure insert_file (
      p_file_type     varchar2,
      p_file_name     varchar2,
      p_id        out number
      )as
      geor MDSYS.SDO_GEORASTER;
    begin
      insert into nyp_images values( your_seq.nextval, p_file_type, sdo_geor.init('NYP_IMAGES_RDT') )
         returning image_id into p_id;
      select image into geor from nyp_images where image_id = p_id for update;
      sdo_geor.importFrom(geor, NULL, p_file_type, 'file', p_file_name);
      update nyp_images set image = geor Where image_id = p_id;
    end insert_file;I highly reccommend you to take classes in this SQL and PL/SQL stuff or look for some external ressources that can guide you.

  • Auto GR of Serial number assign material

    Dear All,
    I have assign serial number to the inhouse produce material. And as per client requirement of automatic GR for same material, am doing auto goods movement at the time of confirmation.
    So for serial number assignment material system giving error for serial number obligatory material this movement is not possible.
    Is there any other method for serial number assign material to do auto GR. Plz revert its urgent.
    Regards,
    Rajesh

    Rajesh
       we tried to do Auto Gr with serial number for FG iIn my company but can't do. Finally we convinced our users to do manually.This is SAP standard that Auto GR is not possible for the material maintain with Serial Number
    So you must convince your clients for the same
    I hope that  will help to you
    Regards
    S.Anbalagan

  • Substitution of GL account during MIRO?

    Hi,
    Is it possible to substitute an gl account during posting to FI with the MIRO transaction?
    If so, what are the steps?
    Thank you very much,
    Eric van Zundert

    Hi,
    You only can change the G/L account number when MIRO, which the PO was generated with account assignment category! For example, the PO with account assignment category -- K Cost center, when you do MIRO, you can go to item line's column "G/L account No.", change the G/L No. to the substitute one; or find one column with name account assignment, then click the button, you can change the G/L account No. as well.
    Regards
    Z.T

  • Wrong PAyment Term Picked During MIRO

    Hello,
    I have an issue,
    1) I create PO .
    2) Then do MIGO and assign DELIVERY NOTE Feild .
    3) Then Further I create a MIRO giving DELIVERY NOTE feild as 'PO REFRERNCE' .
    NOw During MIRO its picking Wrong PAYMENT TERM.
    I checked Vendor master for PAYMENT TERM its maintained properly.
    I even checked OBB8 for proper assignment of Payment Terms.
    Eg For Vendor -123 Payment Term assigned is '3000'
    in PO its picking 3000
    but During MIRO it gives Incorrect Value '9000'
    Kindly suggest.
    Thanks & Regards,

    In MRM_PAYMENT_TERM
    Payment term feild (ZTERM) is not Export parameter,how can we Use this..
    It picks wrong payment term when Delivery note is selected During MIRO for 'PO Reference'
    If he uses PO number it gives correct payment term..
    Regards,

  • BADI/USER-EXIT to chnage the value during MIRO

    Dear Sir,
    We need some help as what BADI / USER_EXIT is available which can allow to change the value during MIRO .
    Our business requirement is that during MIRO , we need to populate the PO Number in the Assignment field .
    Pl guide us about the availibility of BADI / USER_EXIT and the sample code to implement the same .
    We assure to award full points for the suggested solution please .
    Regards
    B Mittal

    Dear Mr Eli Klovski
    Thanks for reply . We have already defined sort key as 14 , but in MIRO posted  FI document  it is not populating PO number . So we need to go for BADI/User_Exit .
    As per SAP note 392342 , INVOICE_UPDATE can not change the value in MIRO .
    Regards
    B Mittal

  • Assigning self generated code during receipt

    Hi
    My client is assembles ambulances.In his scenario he receives a simple four wheeler and changes it into finished ready ambulance.
    Now the problem and requirement is:
    During receipt of simple four wheeler at shopfloor they assign it a code and the code is unique and remains same upto dispatch and after sales service also.The code is as follows: VehicalCompanyState/No./Date
    Now requirement is during receipt of four wheeler they want that code should be self generated, for that vehicle on basis of VehicalCompanyState/No./Date.
    How this can be done in SAP b1?
    Thanks

    hi,
    Auto generate of Serial number on receipt of ambulance will suit requirement.
    Refer to help file.
    http://help.sap.com/saphelp_sbo2005b/helpdata/en/1d/48a291fc4a0448bbc8dacd344e956c/frameset.htm
    Jeyakanthan

  • Error during MIRO for tax code .

    Dear All ,
                            User is doing MIRO but an error comes as " Tax code V0 does not exist in TAXINN " , here i need to tell u that what had happened that in P.O the material is not charged  with any tax , so user have given tax code as V0 , but he had forgotten to maintain cond for BED non cenvatable %  so he had made the cond. record in FV11 , Here my querry is that during MIRO the tax code V0 without cond record gives error from where the system is not capable to fetch the data ?
    OR is there any check so that in such cond. the error should be like this " No cond record is maintained for V0." instaed of
    " Tax code V0 does not existsin TAXINN "
    Rgds
    sap12

    U need the user should assign tax code V0 for non-taxable materials.
    Error what it giving is correct. U should assign this V0 to ur tax Procedure TAXINN.
    Path to Assign
    Spro - IMG - Financial Accounting(New) - FA Global settings - Tax on Sales/ Purchase - Calculation - Taxcodes for Tax-Excempt Sales.
    Procedure - TaxCode - Reason
    If ur not able to solve the problem, Send me ur requrement clearly.
    Subramanian.R

  • Re: Freight Cost during MIRO

    Dear All,
    Need help...I configured the following steps in order to capture freight cost during MIRO. but during MIRO,
      the GL account captured/defaulted  to freight cost  is same as the  expense accnt instead of the freight cost account..
    eg. Expense -1111
          Freight   -2222
          Vendor  - 3333
    Created  1 PO and maintain the ff:
    PO is 1 line item 1pc=1000
    ZFR1 - Condition type  for Freight cost = 200
    At the time of MIRO ( we dont have GR processing),the screen display 2 line item for the expense and freight cost but the GL account defaulted in the freight cost is same as expense account instead of the freight account. then if do a simulate, the following are the entry (which is wrong)
    Vendor   1111                 1200  
    Expense   3333              1000(-)
    Expense   3333                200(-)          * supposed to charge to my freight accnt 2222
    below step i configured.
    created new condition type ZFR1 (copying std FR1B)
    put B- Delivery cost and tick 'Accrual' in the settings
    maintain transaction event ZFR and posting key
    assigned GL acccount to ZFR
    include the condition type ZFR1 in the calculation schema, put ZFR in the  field 'accrual'
    Appreciate all your advise. many thanks in advance.
    Rgds,
    She

    Hi,
    Check your OBYC settings whether you have assigned the correct GL for the new trans Key.
    Regards,

  • Purchasing Vendor During MIRO

    We have implemented partner functions, linking a purchasing vendor with an A/P vendor, using standard functionality.
    In testing, A/P reports that they are currently able to enter the invoice against the purchasing vendor as well as against the A/P vendor.
    What is needed to prevent the purchasing vendor number from being inadvertently selected during MIRO?

    HEy
    If you meantained the vendor in XK01 adress of the vendor and its code both you can see the header data screen in MIRO.
    And if you want  a print of document you will have to set document for printing from MIRO - GO TO >  messages.
    Set the printer and get a print preview from t code MR90 with document no.
    Kaustubh

  • Service Tax condition not picking during MIRO

    Hi,
    Referring earlier posted thread,
    http://forums.sdn.sap.com/thread.jspa?threadID=2135441&tstart=0
    I want to know insert a Tax Code - VAT for 10% and a Condition Type - Service Tax for 10.3%...
    During MIRO, Service Tax Amount is not Picking... Why???
    There is any solution for it.....

    Hi,
    If we create Service condition type, then why need to create Tax code in FTXP and maintain in FV11...
    Why both things need to create...??
    No need to maintain
    check for your service tax condition type
    Cond. class   A Discount or
    Calculat.type A percentage
    Cond.category B Delivery co
    and you have accrual tick for your condition in t-code M/06
    also check in your pricing procedure you have assign account key and accrual key for your condition type in t-code
    M/08
    Regards
    Kailas Ugale

  • Check duplicate asset number during MIGO

    Hi MM/Abap Gurus ,
    What user exit can be used to check duplicate asset number during GR. E.g: I have a PO with same asset number for item line 1 and 2. What user exit can be used to set warning msg if duplicate asset number exits during MIGO. Please advise if there any user exit can be used for my requirement?
    Thanks
    Mitra

    Hi Puspha,
    Actually, the scenarios as below:
    1. PO created with 1 line item with Acc Assign Cat = A and multiple account assignment. Therefore, under the account assignment tab there are duplicate asset number inputted.
    2. Hence, when do GR, the system should prompt warning message " Duplicate asset number exists".
    Above are the requirement. I need any user exit that I can use in MIGO, where there is checking on duplicate asset number or during the sving of MIGO, I could inforce a logic on the checking.
    Your help appreciated.
    Thanks

  • Unique serial number during production order release for FG materials

    Hi,
    Actually our client is asking for serial number generation for each FG material during its production order release.
    So that with this serial number he can track it in shop floor plus after dispatching to customer.
    Here the scenario is Make To Order, this serial number will also be considered by SD during dispatch.
    For serial number creation, I referred documents from SAP best practices(help.sap.com).
    After this, now I am able to create serial number for specific material automatically.
    Currently I am getting serial number with respect to material specific, i.e., serial number generating with respect to FG codes. Ex:- FG1 - 1, 2, 3, 4 and FG2 - 1, 2, 3, 4.
    But as per my client requirement, they want serial number without material specific, i.e., common serial number for all FG codes.
    Ex:- Sr No- 1-FG1, 2-FG1, 3-FG2, 4-FG1 - - - - according to production order releasing sequence.
    Plz inform if any settings are to be made.
    Thank you in advance.

    Hi Arman,
    I Had got solution for how to track which FG is linked to which SFG sr no, just go through the below link it also gives how to use COIB transaction.
    COIB transaction usage, how to track which FG is linked to which SFG sr no
    But still I had not got solution for
    how to assign common serial number for all FG codes automatically
    Ex:- Sr No- 1 -> FG1,
    2 -> FG1,
    3 -> FG2,
    4 -> FG1
    - - - - according to production order releasing sequence.
    Whether is it automatic serial number assignment is possible or not.
    Plz inform if any settings are to be made.
    Thank you in advance.

  • Postings during MIRO reversal

    Hi Gurus,
    I have created a PO with account assignment (GL).
    *During MIGO entries are:*
    Acct  Assignemnt(GL)   +
    GR/IR                         -
    *During MIRO:*
    GR/IR                        +
    Vendor                       -
    But during MIRO reversal via MR8M:
    Vendor                      +  (full amount)
    GR/IR                        -   (Partial)
    Acct Assignment(GL)   -   (Partial)
    Why it hits account assignment (GL) during MIRO reversal?
    Please throw some light.
    Karthi

    Thank you Srinivas.
    The entries are like this:
    MIGO:
    GR/IR                     100
    Cons. Account        100
    MIRO:
    GR/IR                     100
    Vendor A/c              100
    Reversal of MIRO:
    Vendor A/c             100
    GR/IR                      30
    Cons. Account         70
    Please clarify.
    Karthi
    Edited by: Karthi Paramas on Nov 6, 2008 10:07 AM

Maybe you are looking for

  • Ipod not being recognized by the emac

    My 20 GB photo/color ipod was not working, so it was suggested that the ipod get a new hard drive. After installing the new hard drive the ipod will not turn on and keeps returning to disk mode. When I plug it into the computer, it is still not showi

  • How to display the Message Pool Messages in CE 7.2

    Hi Experts, Please let me know how to display the Message Pool Messages in CE 7.2. I have tried with reportContextAttributeMessage, but it is deprecated in CE 7.2. Please do the needful.Its Urgent. Thanks & Regards, SatheshKumar R

  • Facetime turning itself off

    I have an iPhone 4 running OS 4.2.1.  Everything was working well until last week when Facetime stopped working.  Everytime I go into settings, it shows that Facetime is turned off.  I turn it on and come back later only to find that it is once again

  • How can I get a larger output size without dropouts?

    Using FMLE 3.2 to push HD to UStream.  Capture card is a Decklink Studio2.  Codec is h.264.  I see blocking and get dropouts on the input side when I increase the output size above 720 x 404.  I have used different bit rates, up to 2500.  Same proble

  • While statement

    Hi, I have a while statement and within this a return statement, but when i compile this it produces an error - missing return statement. This is my code: public double getResults() { // Open getResults method while ( i >= 10 ) { // Open while i++; r