Goods Receipt and Goods Issue - Posting Date and Document Date Problem

Hi All,
I was using SDK to build own add on to insert Posting Date and Document Date under Inventory> Inventory Transactions> Goods Receipt and  Inventory> Inventory Transactions> Goods Issue, but the UI Screen Posting Date and Document Date shown current date.
My SAP Business One version was 2007A SP00 PL42 and alreadly upgrade to SP05.
End up result still the same.
Is there someone can help me?
Thanks you.
Best Regards,
danny

Hi there,
I already solve it by myself.
Actually is i call the initialization twice:
Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
Thats what make this problem happened.
Sorry.
Best Regards,
danny

Similar Messages

  • Configurable system message No Goods Receipt/Delivery has been posted

    When user add a new AR Invoice or AP Invoice without creating prior to it
    Goods Receipt or Delivery document system always displays message: 'No
    Goods Receipt/Delivery has been posted. Continue?'. This message should
    be configurable as for users which don't use Delivery or Goods Receipt PO is useless. User should decide if he or she wants to display it or not. For most customers clicking on this message is a huge wasting of time as it displays at every sales or purchase operation.

    Hi
    If you use Shipping notification then you have to create inbound delivery VL31n and do the PGR in inbound delivery  VL32N itself.
    Incase of scheduling agreement schedule lines you have to make sure the following
    1) Schedule line delivery date shoud be todays date or in the past
    2) Schedule must be released by using message type based on the type of schedule ( Normal, JIT or forecast)
    Hope it helps
    Thanks/Karthik

  • Problem of Query of Module Purchase Order, Good Receipt PO, Good Return

    Hi,
    I would like to seek for assistance regarding double entries of documents,  I have used the query and found out lately the it has a problem, Please refer to thread "Query of Module Purchase Order, Good Receipt PO, Good Return" for details.
    You help is very much appreciated.
    Regards,
    Clint

    Hi Clint,
    Try this one:
    SELECT DISTINCT 'GRPO' AS TYPE, T1.DOCNUM
    'GRPO/RET#', T3.DOCNUM 'PO#',T1.CARDCODE,
    T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE, T0.QUANTITY,
    T0.PRICE, T0.LINETOTAL
    FROM DBO.PDN1 T0
    INNER JOIN DBO.OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN DBO.POR1 T2 ON T0.BASEENTRY = T2.DOCENTRY
    INNER JOIN DBO.OPOR T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE T1.DOCNUM = '[%0]' AND T0.ITEMCODE IS NOT NULL
    UNION ALL
    SELECT DISTINCT 'RETR', T1.DOCNUM,T3.DOCNUM,
    T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE,
    T0.QUANTITY, T0.PRICE, T0.LINETOTAL
    FROM PDN1 T0
    INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN RPD1 T2 ON T0.TRGETENTRY = T2.DOCENTRY
    INNER JOIN ORPD T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE T1.DOCNUM = '[%0]' AND T0.ITEMCODE IS NOT NULL
    If you still have duplicates, let me know any differences in those lines.
    Thanks,
    Gordon

  • Query of Module Purchase Order, Good Receipt PO,  Good Return

    Hi,
    Like to ask assistance regarding Module Purchase Order, Good Receipt PO,  Good Return under Purchasing A/P.
    I have a hard time to linking the tables above:
    PO Module have table : OPOR and OPOR1
    GRPO have table : OPDN and PDN1
    Good Return have table : ORPD and RPD1
    Its very mind bubling linking this 6 tables can anyone please can assist regarding the situation, a query that shows that they are connected to each other.
    Thank very much!
    Clint

    Clint,
    Like Suda said, this query assumes your have normal business practise.
    One more thing to mention, the lower part of union all needs some other change.  Here is the complete query:
    SELECT     DISTINCT 'GRPO' AS TYPE, T1.DOCNUM "GRPO/RET#", T3.DOCNUM PO#,T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE, T0.QUANTITY, T0.PRICE, T0.LINETOTAL, T0.TOTALFRGN, T0.RATE
    FROM         PDN1 T0
    INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN POR1 T2 ON T0.BASEENTRY = T2.DOCENTRY
    INNER JOIN OPOR T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE    T1.DOCNUM LIKE '[%0]'
    UNION ALL
    SELECT     DISTINCT 'RETR', T1.DOCNUM,T3.DOCNUM, T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.ITEMCODE, T0.QUANTITY, T0.PRICE, T0.LINETOTAL, T0.TOTALFRGN, T0.RATE
    FROM         PDN1 T0
    INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN RPD1 T2 ON T0.TRGETENTRY = T2.DOCENTRY
    INNER JOIN ORPD T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE    T1.DOCNUM LIKE '[%0]'

  • Purchase Order Module  - Goods Receipt PO - Goods Return - AP Invoice

    Hi all expert,
    I have a senario is :-
    Open Purchase Order Module  -> Goods Receipt PO -> Goods Return -> AP Invoice
    Puchase Product A by "Purchase Order" with Qty 6,000 After "Good Receipt PO", found out 3,500 pcs is out of spec then "Goods Returns" 3,500 pcs. Then continue do "AP Invoice" with Qty 2,500 pcs.
    Question is 1 week later, the supplier replacement back 3,500 pcs, so how am i going to start to steps? since PO have been close.
    When i at  "Goods Receipt PO" wanna to copy from "Goods Return", it is show nothing.
    Your advise is highly appreciated.
    Thanks.
    Regards,
    Danny

    Hi Danny
    i think you have to create a new PO then GRN then PI...since you copied the PO to GRN it will show as closed as there is a target doc. linked to the PO. A PO can be changed only if there is no target doc linked to it .
    Hope this helps.
    Bongani

  • Translation date from document date instead of posting date

    I have a requirement to set automatically Translation date from Document Date instead of Posting Date as usual in SAP.
    My company code hasnu2019t got neither 2nd local currency nor 3rd local currency.
    As usual, when posting transactions in foreign currency, translation date is derived from posting date.
    I would like to know if is possible to set that translation date would be derived from document date. As I said before, because of the company code only has one currency defined, is not possible to change it in OB22.
    Thanks a lot

    Has anyone ever tried to change the Translation date on the FI documents generated by F.05 (FBB1). I am having this requirement at one of the clients I am working on. I need to substitute the document date in the translation date field. I tried using substitution through GGB1 (OBBH) and also I tried using the BADI - FI_TRANS_DATE_DER, but none of the two options work.
    Is there any other option to do it or did anyone had any success in doing this????
    Appreciate all the responses.
    thanks in advance.

  • Posting date or document date

    hi all,
    for baseline date, i can base on posting date or document date.
    may i know where in spro, we can define the baseline date to be based on posting date or document date to calculate the net due date depending on the days in payment term?
    example
    posting date 20-08-2008
    document date 18-08-2008
    payment term 10 days
    so net due date is either 30-08 or 28-08 depending on posting or document date.
    thanks

    Hi,
    When you are creating a payment term with Tcode OBB8, there a radio button option is available. Choose among the four options.
    1) Posting Date
    2) Document Date
    3) Entry Date
    $) No Default.
    Hope this will fix ur issue.
    Thanks,
    Srinu

  • Last goods receipt, last goods issue and last purchase order

    Hi Experts!!
    is there any table/info structure where I have the last goods receipt material document number, last goods issue material document number and last purchase order number? I want to extract this information to Business Warehouse.
    Best regards

    Are you looking for a report similar to MB51?
    If you put little more detail, i might be able to help. I don't know much about info structures but i can tell you the SAP tables.
    All Movement Details are in the below tables.
    MKPF- Material Document Header,
    MSEG - Material Document Detail -( you can put your material, plant for selection)
    Last PO  - you can get it from Info-record (EINE- EBELN, EINE-EBELP).
    Thanks,
    Shekhar Ramineni

  • 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.

  • Delivery and Goods Receipt without goods value

    Hi!
    this is my first post in this forum, hi everybody
    Now the question:
    My goal: warehouse manager shouldn't see goods value (prices) of purchased material and final products (sold goods).
    That means I would like to remove all value data (Unit Price, Discount%, Total etc.) from the documents Delivery and Goods Receipt. Is it possible? The values should be then added by accountancy (any kind of connection between warehouse documents and journal entry?).
    Is it possible to split the value data from quantity data (SAP BO 2007A)?
    Thank you for any suggestion!
    Aleksandra

    You may try form setting to hide all those columns for this user.
    Thanks,
    Gordon

  • Copied DocDate of Good Receipt into Good issue Docdate Field

    Hi,
    I want to copied the Field of DOCDATE of Good Receipt into Field of DOCDATE into Good Issue can u plz tell me how it can be done ?

    Hi Chaitesh......
    In Which field do you wat the DocDate of Goods Rec. copied to Goods Issue?
    Is that UDF or you want it in GI's Standard Posting Date Field.
    If incase you have to create a Ref. No. field on Goods Issue Document where Goods Receipt Records will be fetched through FMS and once your select the GR's Document No. it will auto fetched DocDate of Goods Rec. into Field where you want to display...........
    Regards,
    Rahul

  • Able to do Goods Receipt without Goods Issue in Intercompany STO process

    Hi,
    We are in ECC 6.0 and noticed that we are able to post Goods Receipt in receiving plant (Intecompany) without even goods issues in supplying plant.
    How to restrict proceeding Goods receipt in case no GI at supplying plant?
    Please advice.
    Regards,
    Ram

    SAP explains in OSS Note 25220 - No stock in transit with cross-company purchase orders:
    This procedure was chosen because usually the issuing and receiving companies have to be managed on different computers.  In addition, goods receipt in the receiving plant can be posted before goods issue in the issuing plant with this kind of stock transfer, i.e., the corresponding stock in transit would temporarily be negative.
    If you want restrict this situation, then you have to do some coding in  userexi: EXIT_SAPMM07M_001

  • Goods receipt can able to post without releasing the scheduling agreement.

    Hi experts,
    We have the SA which is created with document type LPA. Line item is having the confimation control key 0001.We believe that without releasing the SA we can't make the GR.
    ASN has been posted against the SA but without releasing the agreement i can able to post the GR.
    If we didn't create any ASN system won't allow us to make the GR.
    Kindly explain the usage of the doc type LPA and the conf contrl key 0001 in the SA.
    Thnaks for your help
    Reg
    raj

    Hi,
    In order header, go to goods receipt tab, check the storage location maintained. I think this storage location / plant combination is not linked to warehouse 717.
    Hope this answers your query.
    If helpful award points
    Regards,
    Vivek

  • Process order, no goods receipt without goods issue.

    Dear Experts,
    My client does auto and manual goods receipt for process order. He wants GR not to happen auto or manually till GI is not being done. I tried by user status but, user status was not changing automatically as system status. Secondly is their any user-exit for the same.
    Regards,
    Rajesh Prasad.

    Rajesh,
    Please check the following,
    Enhancement - MBCF0002
    Function Module - EXIT_SAPMM07M_001
    Include - ZXMBCU02
    This has been several times discussed in this forum, so suggest you to do a forum search for details about this.
    Regards,
    Prasobh

  • Automatic posting of invoice(miro) against pending Good Receipt of Goods

    Hi Gurus,
    We had pending Migos(good receipts)against which bill(miro) has to be done. Is there any Transaction code where we can book the bills(miro) on mass scale against pending gir.
    Reargds
    Rajesh K

    hi,
    You can check tcode MIRA...you make IR in the background...
    (If possible in your case, if settings are maintained, then can also do via ERS)...
    Regards
    Priyanka.P

  • PO Item Goods Receipt indicator change based on the PO document type

    Hi All,
    Our requirement is for a particular PO document type the PO Item Delivery tab > goods receipt indicator needs to be set as blank and the field should be greyed.
    For this PO type we are usign the account assignment category K and F. We cannot remove the Goods receipt indicator from this account assignment in SPRO because this is the central change and it will affect other Purchase organizations.
    We are using the R3 4.6c Version.
    We tried the User Exit "MM06E005" with exit FM "EXIT_SAPMM06E_016" but this cannot be used to changed the PO Item standard fields.
    Badi ME_PROCESS_PO_CUST not exist in R3 4.6c.
    Is there any other solution avl to meet out requirement.
    Thanks & regards.
    Madhan.

    Hi,
    I think you have posted the question in the wrong Forum.

Maybe you are looking for