Create   Sales order ,Delivery, Billing and  Invoice no. in back date.

Hello Gurus,
Goodevening ,
we have a requirement , here  we need to create, Delivery on  back date. 
Note- System should   do the  availability  check on  back date. ( 1.e on requested delivery date) and confirm quantity on that date.
Note-What ever sales transaction happned  yesterday  day will be enterded  today on yesterday  date( this daily  happens to this industry).
My problem is system is not doing availability check on requested  delivery date  its just doing on todays date and giving confirmation but in system stock was there on yesterday date.
Note - Always there is one day back log  for actual sales and system entry.
Looking for your inputs
Thanks in advance.
Regards
Ravi.M

Hi  Lakshmipathi,
  Thanks for you reply,
This a typical kind of industry.-Poultry industry
  They do the transactions  in the night times at farms where they will not have any access for systems.so they  want to post those transactions on back date.
Note- i  do have  idea, system  does do availability check on  current date,but is there any possiblity for back postings with  availablity check  that  I am  looking for all the possible  options  with all the possible  feed backs.
Note- Customer is selling the semi -finished product that i have already mentioned, whether i maintain   OR not  maintain system is doing avaliblity check  in  SD , as the meaterial  is   semi -finished  maintained by PP in MRP3.
Thanks  in advance
Regards
Ravi.M

Similar Messages

  • I  wants to change material details in sale order , delivery  & billing

    dear guru
    I  wants to change material details in sale order , delivery  & billing
    becuse user entered wrong deatils but condition is same no range to be mantained in sale order ,delivery& billing
    Regards,
    Maha.U

    Hi,
    If Material A - Description Vicks is created in Material master n if you want the same material with change of description for respective customer,you can change the description like Vicks XL while creating SO in Description of Material line item.
    Same can be displayed in invoice as well.
    Thanks
    Shri

  • To create Sale Order , Delivery and then Billing Automatically .

    hi all ,
    I want to create a program which will create SALES ORDER , then make DELIVERY of it and then BILLING  .
    Also i want to restrict the sale order to be create of those CUSTOMER whose credit limit is exceed , which is maintain in FD32 tcode .
    If i go with BDC for Sales order it creates the sales order with a warning message , which i dont want .
    Is there any BAPI for doing this ?
    I do have try to find out the customer whose credit limit are exceed so as to restrict them in Program itself , but do not find the table for credit exposure to compare it with credit limit .
    Please give me your Suggestion .
    Secondly , Which BAPI is suitable for DELIVERY and BILLING in 4.7 version .
    Thanks .

    Hi,
    Check these below BAPI's
    BAPI_SALESDOCU_CREATEFROMDATA
    BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
    BAPI_OUTB_DELIVERY_CREATE_SLS  Generates Delivery for Customer Order
    BAPI_BILLINGDOC_CREATE         Custimer Individual Billing Document : Create Billing Document
    BAPI_BILLINGDOC_CREATEFROMDATA Create Customer Individual Billing Doc.
    Regards,
    Jyothi CH.

  • Sales order net value and invoice net value differ

    Hi Gurus,
    i placed  sale order 03/08/2009 the net value of the order is 30000 USD, the same day i have done some price modification (manually i entered the header condition with value of 50 USD) after entering the header condition sales order net values is showing 50 USD. then delivered and invoiced. in the invoice net value is showing 30000 USD. my requirement is the invoice also has to show the 50 USD only. why it is not showing the sales order net value? is there any setting need to be done  regarding this problem?
    Thanks in advance

    i changed the pricing type as D
    From your comments, I presume in copy control, a different alpha value would have been maintained and with that settings, sale order, delivery and billing were generated.
    What I would suggest you is that you create a sale order once again for the same customer and 5 materials, make same changes in pricing, do PGI and billing.  See how it works.
    thanks
    G. Lakshmipathi

  • Sales order in USD and Invoice in CLP

    Hello everybody,
    I have a requirement as follows:
    Client wants sales order to be USD and billing document should happend in CLP (Chilean Peso - Chile currency).
    I have checked copy control for Delivery - Billing. But no ware i could find currency change option.
    Even I can not use User Exit because currency field in VF01 is in grey out mode, we can not edit that field.
    Pl suggest me how to do this.
    Thanks in advance.
    Regards,
    SD

    Hi,
    There is no any option to change currancy at time of invoice creation
    But round the way solution is available
    Create sales order with CLP Currancy (VA01) >>> Delivery (VL01N) >>> Create invoice with CLP currancy (VF01)
    Then go to t-code EWUO
    And change the currancy of sales document
    Kapil

  • Creating Sales Order thru Billing Dcoument..

    Hello ABAP'ers
    I am new to ABAP development and i need your help in Creating a Sales Order thru Billing Docu. I know all the tran codes and tables to use for this but want to understand the process in detail how it all works.
    Creating Sales Order thru VA01
    Creating Delivery thru VA03 from Sales order display (Need to more in depth for this step)
    Post Goods issue delivery
    Create Billing Document.
    Any help in creating this process will be sincerely appreciated.
    ABAP Rookie
    Moderator message: what Brad said...
    Edited by: Thomas Zloch on Nov 4, 2010 5:32 PM

    Check with your business analyst, functional analyst, or development team lead.  These are (basic) process issues not related to ABAP development - or there's always the help files...

  • Bapi: create sales order with reference to Invoice.

    HI ,
    i am trying to create sales order(credit memo request) with respect to invoice.
    What  BAPI to use. also, please provide with sample code.
    I have passed invoice to BAPI_SALESDOCU_CREATEFROMDATA1 at header level(ref_doc).
    and i am  passing other details correctly. the pricing procedure attched to original invoice is not getting triggered for th newly creating sales order.
    Please help me with this.

    use   BAPI_SALESORDER_CREATEFROMDAT2
    search the forum for sample program

  • Sales Order Progress Billing and Revenue Recognition

    I need some suggestions to take care of a progress billing and revenue recognition requirement. Billing and revenue recognition need to happen in parallel but on totally different schedules. Here's a sample scenario that I'd like to set up OM and AR without customization to do the following:
    Sales Order $100000
    Billing
    Jan 06 $25000
    Feb 06 $60000
    Mar 06 $15000
    Revenue Recognition
    Jan 06 $20000
    Feb 06 $30000
    Mar 06 $40000
    Apr 06 $10000

    Hi
    There is no standard functionality that support integration of Order Management and Oracle Projects Billing.
    In Projects you can generate revenue based on progress. There is a form in Projects, where user may enter once a period the percentage of progress for the project.
    You may want to setup the project with revenue distribution rule as event, and assign a progress based billing extension to the project.
    You should develop your own code to generate projects invoices for items delivered from OM. A custom code could be loading events using API, an event for each shipment transaction in OM. Note, if you are going to generate invoices from projects, you should avoid interfacing the transactions from OM to AR, to prevent double accounting.
    Dina

  • Create sales order with refrence to invoice number

    Hi,
    I am creating salesorder using FM SD_SALESDOCUMENT_CREATE in my custom report.
    My requirement is to create a sales order with refrence to a invoice number. Kindly let me know which parameters are need to be passed to this FM to create sales order with refrence to a invoice.
    Regards,
    Rajneesh

    Hi,
    Please I have something similar requirement ot create the sales order from the billing document via Idoc.
    Please let me know if any ideas thanks
    Cheers
    Jasmeet

  • Maximum no of Line items for sales order,delivery document and billing docu

    Dear friends,
    How many line items we can enter for the following,
    1) a Sales order
    2) a Delivery document
    3) a Billing Document
    Thanks in advance.
    Regards,
    Shrikant

    Hello,
    the maximum limit of line items are as follows
    order-9999
    for delivery and invocie , it is restricted to 999 accouitng line items. since the tranfer to accounting can handle only 999 items , the restriction on delivery and invocie
    ex if there are excise postings, for a single line , there might be 5/6 lines genetrated for each line in invocie , therfore as per this the line in invocie get restricted
    you have a sap note , which offers suggestions to partially over come this
    hope this helps
    Thanks
    akasha

  • CREATE SALES ORDER WITH REFERENCE TO INVOICE USING RECORDING

    Hi,
    I wanted to know if it was possible to create a sales order with reference to an invoice using recording(SHDB transaction).If there is some other method please explain the method in detail(Its very urgent)

    Hi,
    You should be able to use BAPI_SALESORDER_CREATEFROMDAT2 instead of doing a BDC and you can populate the reference document in the relevant header field.
    Gareth.

  • Create Sales Order / Delivery with BAPI

    Hi,
    I want to create a sales order and the its delivery using BAPI. Is there such BAPI or should i use two different BAPI functions.
    I also need to post goods issue after the completition of the delivery. Which BAPI is the most appropriate for my pupose?
    thanks for your help,
    - ferudun

    Hi,
    Check this example of creating a sales order and for creating delivery...and PGI
    ************SALES ORDER INPUT CREATION.
    PARAMETERS: p_auart TYPE auart OBLIGATORY.
    PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
    PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
    PARAMETERS: p_spart TYPE vtweg OBLIGATORY.
    PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
    PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
    *ITEM
    PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
    PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
    PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
    PARAMETERS: p_itcat TYPE pstyv   OBLIGATORY.
    DATA DECLARATIONS.
    DATA: v_vbeln LIKE vbak-vbeln.
    DATA: header LIKE bapisdhead1.
    DATA: headerx LIKE bapisdhead1x.
    DATA: item    LIKE bapisditem OCCURS 0 WITH HEADER LINE.
    DATA: itemx   LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    DATA: partner LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
    DATA: return  LIKE bapiret2    OCCURS 0 WITH HEADER LINE.
    DATA: lt_schedules_inx   TYPE STANDARD TABLE OF bapischdlx
                             WITH HEADER LINE.
    DATA: lt_schedules_in    TYPE STANDARD TABLE OF bapischdl
                             WITH HEADER LINE.
    HEADER DATA
    header-doc_type = p_auart.
    headerx-doc_type = 'X'.
    header-sales_org = p_vkorg.
    headerx-sales_org = 'X'.
    header-distr_chan  = p_vtweg.
    headerx-distr_chan = 'X'.
    header-division = p_spart.
    headerx-division = 'X'.
    headerx-updateflag = 'I'.
    PARTNER DATA
    partner-partn_role = 'AG'.
    partner-partn_numb = p_sold.
    APPEND partner.
    partner-partn_role = 'WE'.
    partner-partn_numb = p_ship.
    APPEND partner.
    ITEM DATA
    itemx-updateflag = 'I'.
    item-itm_number = '000010'.
    itemx-itm_number = 'X'.
    item-material = p_matnr.
    itemx-material = 'X'.
    item-plant    = p_plant.
    itemx-plant   = 'X'.
    item-target_qty = p_menge.
    itemx-target_qty = 'X'.
    item-target_qu = 'EA'.
    itemx-target_qu = 'X'.
    item-item_categ = p_itcat.
    itemx-item_categ = 'X'.
    APPEND item.
    APPEND itemx.
      Fill schedule lines
    lt_schedules_in-itm_number = '000010'.
    lt_schedules_in-sched_line = '0001'.
    lt_schedules_in-req_qty    = p_menge.
    APPEND lt_schedules_in.
      Fill schedule line flags
    lt_schedules_inx-itm_number  = '000010'.
    lt_schedules_inx-sched_line  = '0001'.
    lt_schedules_inx-updateflag  = 'X'.
    lt_schedules_inx-req_qty     = 'X'.
    APPEND lt_schedules_inx.
    Call the BAPI
    CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
         EXPORTING
              sales_header_in     = header
              sales_header_inx    = headerx
         IMPORTING
              salesdocument_ex    = v_vbeln
         TABLES
              return              = return
              sales_items_in      = item
              sales_items_inx     = itemx
              sales_schedules_in  = lt_schedules_in
              sales_schedules_inx = lt_schedules_inx
              sales_partners      = partner.
    Check the return table.
    LOOP AT return WHERE type = 'E' OR type = 'A'.
      EXIT.
    ENDLOOP.
    IF sy-subrc = 0.
      WRITE: / 'Error in creating document'.
    ELSE.
      COMMIT WORK AND WAIT.
      WRITE: / 'Document ', v_vbeln, ' created'.
    ENDIF.
    ************DELIVERY CREATION.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln LIKE vbap-vbeln,
            posnr LIKE vbap-posnr,
            zmeng  LIKE vbap-kwmeng,
            matnr  LIKE vbap-matnr,
            werks  LIKE vbap-werks,
          END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
          WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
          WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr zmeng matnr werks
           INTO TABLE t_vbap
           FROM vbap
           WHERE vbeln = v_vbeln.
    LOOP AT t_vbap.
      t_request-document_numb = t_vbap-vbeln.
      t_request-document_item = t_vbap-posnr.
      t_request-quantity_sales_uom = t_vbap-zmeng.
      t_request-quantity_base__uom  = t_vbap-zmeng.
      t_request-id = 1.
      t_request-document_type = 'A'.
      t_request-delivery_date      = sy-datum.
      t_request-material = t_vbap-matnr.
      t_request-plant = t_vbap-werks.
      t_request-date = sy-datum.
      t_request-goods_issue_date = sy-datum.
      t_request-goods_issue_time = sy-uzeit.
      APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
         TABLES
              request      = t_request
              createditems = t_created
              return       = t_return.
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
      MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    ************Post goods issue.
    READ TABLE t_created INDEX 1.
    DATA: vbkok_wa TYPE vbkok.
    vbkok_wa-vbeln_vl = t_created-document_numb.
    vbkok_wa-wabuc = 'X'.
    DATA: v_error.
    CALL FUNCTION 'WS_DELIVERY_UPDATE'
         EXPORTING
              vbkok_wa                  = vbkok_wa
              delivery                  = t_created-document_numb
         IMPORTING
              ef_error_in_goods_issue_0 = v_error.
    COMMIT WORK.
    Thanks,
    Naren

  • Sales Order - Delivery - Billing

    Hi All !
    Please suggest on the design.
    When I look into standard database table. I can see the join condition correctly.
    1) VBAK & VBAP
    VBAK-VBELN=VBAP-VBELN
    2) VBAP & LIPS
    VBAP-VBELN= LIPS-VGBEL
    VBAP-POSNR= LIPS-VGPOS
    3) LIPS & VBRP
    LIPS-VBELN=VBRP-VGBEL
    LIPS-POSNR=VBRP-VGPOS
    But as the design practice we shud be using the standard datasource. CORRECT?
    My requirement:
    2LIS_11_VAITM:
    1) Order Qty = VBAP - KWMENG
    2) Order Amount = VBAP -NETWR (Net value)
    2LIS_11_V_SCL
    1) Open Quantity (order Qty confirmed yet to be delivered) = OLFMNG
    2) Open Amount = MCBW_OLFWRT
    3) Scehdule line = ETENR
    2LIS_11_VDITM
    1) Billing Qty = FKIMG
    3) Billing Amount = NETWR
    Issue: In the 2LIS_11_V_SCL, I am cant find any field whose VBAK-VBELN matches with it? In other words Sales Order Doc Number = Delivery Sales Order . Please advise. Thanks.
    With Regards
    Rekha

    Hi Rekha:
    Please take a look at SAP Best Practices (Scenario Documentation and Building Blocks).
    Open this URL: http://help.sap.com/bp_bw370/html/index.htm
    Click "Preconfigured Scenarios" link
    Click on the Links to navigate on the different available scenarios and to see the documents you can download (Technical Documentation > Configuration Guide)
    *Customer Relationship Management
    -- Sales Analysis
    -- Cross-Functional Analysis: Financial and Sales Data
    -- Booking Billing Backlog Analysis
    -- Sales Planning
    -- Scheduling Agreements Analysis
    -- CRM Analytics
    Regards,
    Francisco Milán.

  • BAPIs to create sales orders for Returns and Debit Memo Request

    Hi,
    I have to create a sales order for document type Returns as well as a debit memo request.The BAPI 'BAPI_SALESORDER_CREATEFROMDAT2' is giving the following error message for Debit Memo Request document creation as well as for Returns.
    761 Unpermitted combination of business object BUS2032 and sales doc. category L
    I found BAPIs:
    ‘BAPI_CUSTOMERRETURN_CREATE’ for creating sales document of type ZDRE and SD document category ‘H’.
    ‘BAPI_DEBITREQUEST_PROXY_CREATE’ for creating sales document of type ZDDR and SD document category ‘L’.
    please let me know if anybody have used them. If so what values need to be passed to I_UPLOAD_ID,I_DESTIN,I_SFA_REL parameters of BAPI_DEBITREQUEST_PROXY_CREATE. Are there any alternative solutions using the Salesorder bapi.
    I have to create documents based on the flat file data no reference sales document numbers are available.
    Appreciate your help..
    Good Day
    Regards
    Bhargavi

    Look at the code done by me
    Program Name:                                                        *
    SAP Name    : ZAXXXXXX               Version    :                    *
    Programmer  : Chris Dong of ITDC                    *
    Description :                                                        *
    Includes        :                                                    *
    Function Modules: XX_XXXXXX                                          *
    Transactions    :                                                    *
    Programs        :                                                    *
    REPORT  XXXXXXXX LINE-SIZE  80
                     LINE-COUNT 65
                     MESSAGE-ID ZA
                     NO STANDARD PAGE HEADING.
    CLEAR l_order_partners.
    l_order_partners-partn_role = 'AG'.
    l_order_partners-partn_numb = '0001202491'.
    APPEND l_order_partners TO li_order_partners.
    CLEAR l_order_partners.
    l_order_partners-partn_role = 'WE'.
    l_order_partners-partn_numb = '0001202491'.
    APPEND l_order_partners TO li_order_partners.  
    Sales document type
    l_order_header_in-doc_type = 'ZDR'.  
    Sales organization
    l_order_header_in-sales_org = '1000'. 
    Distribution channel
    l_order_header_in-distr_chan = '01'.  
    Division
    l_order_header_in-division = '04'. 
    REF DOCUMENT
    l_order_header_in-REF_DOC = '9100000144'.
    order reason
    l_order_header_in-ord_reason = '925'.
    item number
    l_order_items_in-itm_number = '000001'. 
    material no
    l_order_items_in-material = '000000000007000012'. 
    Qty
    l_order_items_in-target_qty = '0000000000100.000'. 
    APPEND l_order_items_in TO li_order_items_in. 
    *BUS2094 Credit memo request " OSS NOTE 93091
    *BUS2096 Debit memo request " OSS NOTE 93091
    CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA'
    EXPORTING
    ORDER_HEADER_IN = l_order_header_in
    BUSINESS_OBJECT = 'BUS2096'
    WITHOUT_COMMIT = ' '
    CONVERT_PARVW_AUART = ' '
    IMPORTING
    SALESDOCUMENT = l_vbeln
    RETURN = li_return
    TABLES
    ORDER_ITEMS_IN = li_order_items_in
    ORDER_PARTNERS = li_order_partners
    Message was edited by:
            Chris Dong
    null

  • Create Sales Order with ES and LORD throws "not an input field"

    Hello,
    Im am getting the error:: "Field AUART is not an input field"
    I am trying to use the enterprise service: PurchaseOrderRequest_In for creating a Sales Order in ERP. I have done the settings under:
    - (IMG: Sales and Distribution -> Electronic Data Interchange -> EDI Messages -> Configure EDI Partners -> Convert External To Internal Partner Numbers )
    - (IMG: Sales and Distribution -> Electronic Data Interchange -> EDI Messages -> Configure EDI Partners -> Assign Customer/Vendor To Sales Organization Data )
    - Customizing transaction WUFWUF -> Transformations , application CL_PUR_PURCHASEORDER_RQ
    - SD_01 business function is activated
    Now when I send in a message I can monitor the errors in /SAPPO/PPO2 I get a list of errors telling me:
    "Field AUART is not an input field" and the same error for 5 other fields. If I debug the method I can see that the table LORD_MAPPING is read. It also looks like the service actually calls program SAPMV45A with screen 4440. This screen does not contain the fields with error. The errors are caught in
    class: CL_LORD_OBJECT
    Method: DO_IMPORT_MAPPING
    Line: 58-72
    , due to <field_inpmod> eq '0'. This is the input mode for the screen used.
    Any pointers to what I have missed would be greatly appreciated.
    Best regards,
    Emil Jessen

    check function group XVED. Within this function group there are some includes that allows you to change the behavior of SAP while creating the sales order after EDI inbound.
    There are the two includes ZXVEDU03 (to add additional data from the IDOC to the sales order) and ZXVEDU04 (to modify the batch input for creating the sales order). Maybe you can find your fields in here and clear them, so that SAP doesnt try to change the order-type field in EDI processing.
    In case you want to allow certain fields to be editable, check userexit MV45AFZZ form "userexit_field_modification". There you can set fields editable or not.
    Example:
    CASE screen-name.
        WHEN 'VBAP-MVGR3'.
          IF sy-tcode = 'VA01'.
            screen-input = 0. " 0 = field NOT editable, 1 = field editable
          ENDIF.
    ENDCASE.
    Regards
    Ralf

Maybe you are looking for

  • "Save As" Dialog Box crashing

    I have an MacPro 10.4.11 that's connected to an Xserve. When I run any application from either Creative Suite 2 and 3 and try to save a file to the Xserve and click on the drop-down menu in the Save As dialog box which I think is called the Finder di

  • Cannot buy paid apps, but I can get free ones. iTunes cannot complete action error.

    When trying to buy paid apps, I get an error. The error states " iTunes can not complete action" every time. I have $50 in my account and no restrictions. This error does not come up when installing free apps. Any help?

  • Import CSV into the Database Tables

    Hello All, I have a requirement to import the CSV coloum values into the backend table. It would be great if anyone could help me out with the procedure in APEX. Looking for response. Regards, Sandeep Reddy

  • Trying to download new iphone 4 update and itunes cant connect to server?

    Im trying to download the new software and my itunes keeps telling me it cannot connect to the server, it this a general problem with itunes or my computer? Also is it worth downloading the new software?

  • Web.xml - adjusting the session configuration

    I recently applied SP07 for NW7.01 to one of our portals, and since doing this I can not find where to make adjustments for the session timeout. It used to be defined in the web.xml, does anyone know where it was moved to? I used to go here: /usr/sap