Capturing grn number dynamically on posting in migo

hi,
how can i capture grn number dynamically on posting in migo?
thanks in advance,

actually i have created a badi which triggers on clicikng on post button in migo screen and i have to include grn number in the badi which triggers before the the posting of document. so how can i capture grn number now, s it possible via buffer or any other ways?

Similar Messages

  • Unable to capture serial number in migo!

    dear all,
    i want to capture the serial numbers that i gave in MIGO transaction befor i save it to do some validation.
    i have tried with mb_migo_document badi but the serial numbers are not captured.
    is there any other way to capture serail numbers before i save the migo document?

    hi,
    check these badi.
    MB_MIGO_ITEM_BADI                       BAdI in MIGO for Changing Item Data
    MB_MIGO_BADI                            BAdI in MIGO for External Detail Subscreens

  • GRN number for rejected items in sales order

    hi sapgurus,
    i want to know the grn number for rejected goods in the sales order 
    consider if i put a sales order for a material named X for 10 quantities and if 5 quantities are rejected i will put GRN for those rejected items and add it to my stock.
    I have taken GRN no linking VBAK with VBRP .VBRP with LIPS .LIPS with MKPF thro VBELN_LA (ie.delivery note).
    the delivery note will be updated only Post goods issue happens with complete status.
    Is there any other way to get GRN no without delivery note while PGI in process Status.
    thanks in advance!
    Edited by: rakesh on Oct 3, 2008 11:29 AM
    Edited by: rakesh on Oct 6, 2008 12:31 AM

    i solved ths issue

  • How to capture workitem number

    Hi Experts,
    We have custom workflow for creating material master. The main workflow contains different sub workflows and tasks. The workflow has 4 levels approvals and it has been triggering from Z transaction using event.
    We have the requirement for report to know the Overview of all material requests currently open; (at which specific step are they pending?), Daily Overview  of  all requests currently open for more than 24 hours at a specific department: including assigned user.
    But this data we are not capturing in the Z-tables. We can get it from workflow standard tables like SWWWHEAD. For all these standard table required workitem id which is unique and will dynamically generates the number.
    My question is how to capture workitem number. Is there any function modules/reports/process to get the workitem number specific to object type/object key?
    Thanks in advance.
    Cheers,

    Hi ,
    You can use the standard WAPI for getting the workitemids for specific material nos . But when you are going to  develop report for multiple material nos then you need to call the SAP WAPI in side LOOP and END LOOP , which will affect the performance  of the report .If the no of entries is less to be displayed in the report then you can use the SAP WAPI . Other wise you can try the below code for better performances -
    Get all your material nos in one internal table  say ITAB1 .
    IF ITAB1 IS NOT INITIAL .
        SELECT   top_wi_id wi_rh_task instid FROM sww_wi2obj INTO TABLE
        itab2  FOR ALL ENTRIES IN ITAB1
          WHERE instid = ITAB1-instid
                      AND catid = 'BO'
                      AND typeid = 'BUS1001006'
                      AND wi_release = '700'
                      AND wi_reltype = '99'
                      AND removed = '   ' .
    ENDIF .
    You will get the  workitemid of workflow specifc to all  materials in the internal table ITAB2 - The field is - top_wi_id
    Just try this out . Hope it may help you .
    Regards
    Prabhudutta
    Edited by: Prabhudutta Behera on Mar 13, 2009 12:20 PM

  • No Excise posting during MIGO

    My client is a manufacturing unit. During MIGO ( making Goods Receipt ) there should not be any EXCISE entry .
    What are the settings to be done.
    I have removed the tick from the following :
      EI Capture
      EI Create/RG23 D Selection
      Post EI in MIgo
      Update RG1 at MIGO
    The tick is there in the following :
    Part 1 posting trigger
    Default Challan Qty in GR
    Duty different at GR
    But I am not getting the desired results . Please suggest me what else to be done.
    Regards
    Nandini

    Hi,
    In Case of CIN,
    Posting of Excise is done in Part1 and Part2.
    PO --> GR/Part1 --> Excise Invoice Part 2 --> Capture Excise Invoice(J1IEX)
    Now While Posting Part1, system will calculate Excise Invoice as per ur Qty and Tax Code mentioned in the PO.
    You have to maintain post part1 while MIGO Becoz if u select no Excise Invoice, and post while MIGO.
    Now in J1IEX, System will not update ur Part1 and hence 
    System will not update Part2 in this T code.
    You can try via Excise JV Via T code J1IH(But i am not sure)
    Regards,
    Pardeep Malik

  • GRN number for Delivery cost inovice

    Hi Experts,
    How to find out the GRN number for MIRO transaction for delivery costs. While posting the GRN the delivery costs are being posted but after posting MIRO transaction for the delivery costs, i couldnt find the GRN against which the transaction is posted. Pls help me to find out the same.
    regards
    Suresh

    Hi,
    Thanks for the quick reply.
    I did enable the GRN based IV in the purchase order but still i didnt get the doc num.
    If the MIRO transaction is for the Materials and not for the delivery costs, i m getting the GRN number in RSEG Table but if it is for the delivery costs i m not getting it.
    regards
    Suresh

  • RF Transaction - Capture Serial Number

    Hello Experts,
    I have a scenario where the client wants to
    capture the serial numbers during the picking?
    capture the serial numbers during the goods issue?
    is there any standard RF transactions in ECC 6.0 for capturing serial numbers while picking and GI process? or do we need customization? Please explain.
    Can we print the serial numbers in packing slip and invoice??
    Thanks,
    Sen

    Hello Sen,
    SAP has included this functionality "Capturing serial numbder during picking" from ERP ECC 5.0 onwords.
    LM80 is the standard RF transaction code for capturing serial number.
    <b>Can we print the serial numbers in packing slip and invoice??</b>
    Yes, you can print the serail number in packing slip and invoice, work with developer on this. For accurate information on this, post query in SD forum as well.
    Regards,
    Arif Mansuri

  • Period posting errorin MIGO

    Dear SAP Gurus,
    While posting GR (MIGO), system is giving error msg: M7053. Posting only possible in period 2009/04 and 2009/03 in the company code.
    I have maintained the following settings as follows:
    1. In material master u2013 accounting view: current period is: 04 2009
    2. Fiscal year variants (OB29) = V3 where calendar year check box is ticked, no of posting = 12 and no of special period = 4.
    3. Assign fiscal year variant in OB37 to company code = V3
    4. In Tcode: OMSY following values have defined
    Year: 2009, Pe = 4, Fyr=2009, M = 3, Fyr= 2008, LM = 12, Abp = Checked
    Also what values have to maintain in posting periods using Tcode: OB52
    Still I am getting the same error. Please advice.
    Regards,
    Prashanth  Pai

    HI,
    As per your Setting
    Variant V3 ,means it is a Apr to Marc Calender.
    So the period 3 and 4 means
    the Current Period is 04--July and Prev period 03 means JUN.
    Which are future Days.
    I Believe some Problem might happened in the Period opening .
    As per the Setting ,it is clear that you can post the GRN in JUN and JULY only means Future days..
    and I believe whehter system allows. becoz current month is MAY so the Period is 02.
    For Further Information go to the T code OB29.
    Hope so it clarify
    Regards
    Anjanna,

  • PO reporting that can capture PO number, PO value and cost center

    Dear SAP expert and gurus,
    Would like to seek for your professional advise and consult on which report in MM that can capture the PO number, PO value and cost center.
    Kindly advise.
    Thank you
    Regards
    Leonard Tan

    ME80FN is a good report that captured the PO number and amount. However, the cost center is not being captured here. is there any suggestion?
    ME2K is not an ideal report to user cause, user requires the data to be shown in one line instead of 2 to 3 line.
    Is there any report like ME80FN can be captured PO number, PO value and Cost Center.
    Thank you
    Regards
    Leonard Tan

  • Problem while posting in MIGO

    Dear All,
    Need your urgent help.
    While posting in MIGO, i am getting a short dump, run time error--Message_Type_X. The details of trigger location of runtime error is as follows:
    Program: SAPLMBWL
    Include: LMBWLU21
    Row:  59
    Function Module Name: MB_POST_GOODS_MOVEMENT.
    Abaper is not able to solve the problem. He said some table has become inconsistent.
    I am able to create PO and also when I am checking GR document, it is giving OK message, but as soon as I am posting the document, program is getting terminated and it is giving runtime error
    Dear its very urgent as my client is sitting on my head. I shall be really grateful, if you can solve the problem.
    Regards,
    Amit

    Dear Tushar,
    Can i have your email-id.
    As far as user exit is concerned, i am not using any user exit. It's just terminating at the time of posting. I will send the dump and abaper analysis on your e-mail
    Thanks & Regards,
    Amit

  • Substitution of account(HKONT) when posting in MIGO/MIRO

    Issue: Need to change account(HKONT) when posting in MIGO/MIRO
    example:       HKONT(GL Account)       KTOSL(Transaction type)
                   1000000001              XX1
                   1000000002              XX2
                   1000000003              XX3
    If XX3 exist then replace hkont of XX1 to hkont of XX2
    expected result is:
                   1000000002              XX1
                   1000000002              XX2
                   1000000003              XX3
    Solution with problems:
    1. Used substitution GGB1>Financial Account>line item for field HKONT. My problem with this is, since the data is in line item. How can I get the replacement of my account(shown above sample). if BSEG structure only shows 1 line item. I tried using bool_data-bseg. but its empty. Im assuming bool_data is used when callup 003(complete document) is triggered.
    I used subtitution field G/L - Exit <UXXX>
    Any Ideas or solutions would be great!!

    if your Substituion exit is called then you can directly change the value of
    BSEG-HKONT there according to your requirement.

  • Finding GRN Number

    hi,
       i have created Outstanding Liability Grns report. for that report, i need grn number and grn date.
       my tables are bsis,bsas,bkpf,bseg.
      i have fetched the grn number of every document number from xref3 field. but for some datas, the Xref3 field is empty.
        if xref3 column is empty, then i have fetched from bkpf-awkey.
      my problem is,
          for rmrp type datas, bkpf-awkey is not a grn number.
      bkpf shows the miro number for doc number.
      how can i select the grn number if bseg-xref3 is empty and doc type is rmrp(Invoice)?

    hi farooq,
    u can find request number for any object by checkinng version number of that object.
    say for example u need to check the request number in a REPORT
    Go to that REPORT in SE38 and check in menu bar in UTILITIES->VERSION->VERSION MANAGEMENT.
    After u get the request number goto SE10 Tcode and Enter the user name and
    Request Number u got from the above mentioned step.
    Click on Icon DISPLAY button and enter the Request Number u have and tick the check box
    WORKBENCH REQUEST.
    u get the list of object assigned under this request.
       Modifiable
           RQAK936923       ADITYA       12.07.2005 testing
               RQAK993989   VIVEK        22.08.2007 testing.
    u get a similar format shown above.
    The first number shown above is called REQUEST NUMBER ( RQAK936923)
    The second Number shown just below is called TASK         (RQAK993989 )
    Every request number has a task assigned to it which maitains PARENT CHILD RELATIONSHIP
    Click on the Node of TASK  and u get list of object attached to it. Futher click will give u the object name.So place the mouse or tick on the object to PRESS DELETE BUTTON to delete the object

  • GRN number allocation - reg

    Dear friends,
    We are facing the problem  on the GRN number allocation.
    Presently we are having 3 legal entities (Companies) and approx 20 Plants.  We are facing an issue on GRN numbers getting allocated across the group. (Eg GRN No #1 allocated to Plant I which belongs to Company A and GRN No #2 is allocated to Plant II which belongs to Company C).
    Auditors are insisting on the GRN number based on plant or atleast for a legal entity (company).
    Is there any feasibility to configure the GRN number range based on company / plant.
    K.Annamalai

    Hi,
    It is not possible to configure the Material Document no renage with respect to Plant/or compant code..
    The main reason is the the Tranaction elements like WE, WA are ited with material no range..
    And the transaction elelments are at client level.
    That is how the SAP has been designed.
    We need to explain to auditorss..Material Doc no is the Just no. assignment...and it is unique no across the clinet...
    And NO way the material doc no will miss lead the accounting practice..
    one step ahead you can create your onwn transaction elelment XE,XA similat to WE and WA and split the no. ranges..
    But all the std movement types are in bulit by SAP based on WE, WA etc....So it it very diffifult to think on this option.
    Hope you got the point..
    Thanks,
    Kumar Arcot
    Group
    Element    Elem. Text                           Year From No.   To No.          Stat. Ext.
    Inventory documents
                                              9999       0100000000 0199999999  100000019
    IB
    ID
    IN
    IZ
    WV
    Material documents for goods movement issue
                                              9999       4900000000 4999999999 4900002681
    WA
    WH
    WI
    WL
    WQ
    WR
    WS
    WZ
    Material documents for goods receipt
                                              9999       5000000000 5999999999 5000000339
    WE
    WF
    WO
    WW
    Inventory sampling procedure no
                                              9999       0200000000 0299999999
    SI

  • GRN number is discontinuous

    Dear all,
    Our auditor noted that the GRN number in our SAP is discontinuous. Should the GRN be continuous? What happens if the GRN is discontinuous in the system? Does the GRN be deleted/blocked/missed? How can I know why those GRN disappeared?
    Thanks for your help!
    Fred

    Hi
    This issue with the internal number assignment occurs due to buffering in the application server. Buffering increases the performance of the server and documents don't loose their properties. Nevertheless, it may cause gaps in the internal number assignment and sometimes the numbers may not be chronologically assigned. As I stated before, this won't cause inconsistencies in the system and is usually not an inconvenient, unless you require sequential number assignment in your documents due
    to legal reasons. In this case, you'll have to disable buffering in the application server.
    in order to disable buffering Just access transaction SNRO and enter the Object type MATBELEG http:// Number Range for Material and Phys. Inventory Document In change mode, in the menu bar, please, follow the path:
    Edit -> Set-up buffering -> No buffering
    Check note 62077 which describes this issue in detail

  • GRN number in MIRO

    Hi
    I would like to enter grn number directly in MIRO instead of searching through Vendor =>P.O => GRN.
    is there any way....
    please help
    Regards.
    Sr

    It is not possible to refer the GRN.
    But GRN and delivery note can be linked with 1 to 1 relation . Make delivery note as mandatory field at header level.
    Then delivery note equal to GRN .
    refer delivery note instead of GRN

Maybe you are looking for

  • Where to save web.xml file in apache jserv with servlet 2.0

    hi, we are using apache jserv which included servlet 2.0 we are able to run .class files and jsp files,but we are using web.xml file for connection pooling which we were used in tomcat but we are unable to find web-inf folder in apache/jserv to save

  • What is error 101? i am trying to download elements 10

    Can anyone help me understand what error 101 is when I try to download Adobe Photoshop elements 10?

  • Did u use jar files as classpath for appletviewer?

    as tested, jar files can not be used as classpath for appletviewer. java command is bellow appletviewer -J-classpath -Jc:\folder00\some.jar; -Jc:\folder01\any.jar; MyAppletClass the jar files (or classpaths) above do not work. I am not sure about my

  • Extracting the pricing condition records

    Hi, I would like to extract the pricing condition records of a particular sales organization. I need to upload these records to another system. Any guidelines? Thanks a million.

  • Pernr change type field

    Hi, Does anybody know if is possible to change type field PERN ?? We need this field were type char, not type numc. Thank you in advance, Marta.