Sales and Billing data is not fetching in case of STO

Hi
We have  tables VBAK and VBAP - sale oder 
                                VBRK and VBRP - Billing data
Now problem is that I want to make a BW datasource in ECC in which i create view from which we need to populate data for order and billing together but we are facing problem in case of STO where billing doc canu2019t be create against with Sale order doc
Suppose, If I create a view from which all record regarding order and Billing are coming from table VBAK,VBAP,VBRK and VBAP then we have got record  but in case of STO where billing doc canu2019t be created with against of Sale order then we have failed to find the record against sales doc because view fetch data depend upon intersection functionality.
We need sales data in case of STO also. please give the helpful for the same.
Thanks & Regards,
Gourav Sekhri

Hi Krishanan
I am facing the same problem which have been mentioned by you (i am not getting sales doc data for normal sales orders if billing document is not yet created, which might not be desirable in my scenario).
I have also created generic extractor based on view(all data only for sales order) and also creating append structure for all field based on billing data.
but now i am facing the problem in which i need to take VBRK table data based on sales doc but in VBRK table sale doc is not defined.
kindly look into the matter and give the helpful reply.
Thanks & Regards,
Gourav Sekhri

Similar Messages

  • Billing date is not populating into the sales order

    Hi Experts,
    I am creating the sales orders by filling the IDOC's Segment data from a file. Sales orders are getting created however the BILLING DATE is not getting populated by the date from file instead it is taking the system date.
    Segments used are
    Header: E1EDK03   016  021  and  026.
    Item: E1EDP03  016  021  and  026.
    Please help me in this regard.
    TIA.
    Regards,
    Kishore.
    Edited by: kishore gaddam on Jul 18, 2009 10:06 AM

    Hi,
    Check with function guy , there could be some settings need to be done for getting external date populated in billing date field.
    Thanks,

  • Pricing date and billing date in va01 transaction

    Dear all,
    step 1:   we have sales order of order type IEL1 in our sap system
    step 2: then we do have order type IELB which is called billing request . this is created in va01 transaction against IEL1 sales order type. now here billing document is created.
    at the time creation of billing request (order type IELB) we get data flown in from sales order of type (IEL1).
    now my requirement is that pricing date and billing date needs to be today's date and not the past date which was in sales order.
    please help me in getting current date at the time billing request.
    what is exit or modification i have to do.
    if not clear please let me know.
    thanks
    krishna

    hi,
    in va01 i create a sales order of type IEL1 and as well order type IELB.
    now in our process we create sales order of type IEL1.
    then we create billing request of type IELB with reference to order of type IEL1.
    finally we create invoice in transaction code vf01 against order type IELB.
    THIS is the process we are following.
    thanks
    krishna

  • How to combine sales and delivery data

    hi
    i have requirement to make a report from sales as well as deliveries. Important fields in report are sales document , material , plant , sales document type , country key , sold to party , ordered quantity , delivered quantity , price from vakon ( KBETR ), actual goods issue date.
    The required extractors are 2LIS_11_VASCL, 2LIS_11_V_SSL ,2LIS_11_VAKON.
    Problem is how to combine sales and delivery data as V_SSL has different key figures.Multicube is not the solution as dont have plant , sold to party and many other fields in V_SSL.
    Kindly suggest how to combine sales and deivery data.
    Regards,
    Monika

    I guess you do have shipping point in delivery.
    In most scenarios shipping point may not(or) may be same like order plant.
    Although they are different you can still roll up the delivery information to order level by plant since you have order # available as reference key in delivery.
    With this reference key you can convert all delivery information to order (item) level.
    I guess you can use one merge ODS with one cube (or) with 2 ODS for each at order level for validation.
    You may have to map delivery type to order type as per R3 configuration as well.
    speak with any Logistics guys for help.
    cheers
    Martin

  • Mass change of pricing date and billing date in credit memo request

    Hi,
    Can i change the billing date pricing date on credit memo request docs using MASS transaction?
    If i enter the regular sales order number it prompts me to change the value but if i enter the credit memo request doc number,the message "No data meets the selection criteria" is displayed.I also checked with IDES ,message is the same
    Is there any different way to do mass change for credit memo requests or am i missing something here.
    Please Suggest
    Thanks
    Abhilash Nayak

    Hi,
    Go to the transaction code MASS  and enter the OBJECT  TYPE as BUS2032 and enter
    It will lead you to the next screen where you can find the  Table and Field TABS
    Select the  SALES ORDER HEADER DATA  and choose the fields data and choose the fields PRICING DATE and BILLING DATE  and execute
    In the subsequent screen you can see the selection screen where you can enter all the Sales documents for which you want to change
    Key in all the documents and execute
    Now change the date as per your requirement and check the effect
    regards,
    santosh

  • Ship to party and Bill to party not reflecting in marketing documents

    Hi,
        Ship to party and Bill to party not reflecting in marketing documents inspite of defining it in BP Master data.why does it happen.we are on 8.8 version and this is happening in Livedatabase.
    Thanks,
    Mansoor Baig

    Hi Mansoor,
    Is this for new transactions or existing ones that went thru the 8.8 upgrade? Is this for new BP that the address doesn't show or existing (if you have other transactions with no address problem then it shouldn't be the address format setup unless something happened in the upgrade).
    Heather

  • Difference between Invoice created date and billing date.

    Hi Gurus,
    I opened the Billing Document in display mode(T.Code:VF03).In header data I found two tabs one is Created On and another one is Billing Date. Here in the billing document the both dates were different.
    Please let me know the difference between Created On date and Billing Date.
    your afforts are highly appriciated.
    JYothi.

    Dear Jyothisd,
    Invoice created date : Invoice created date is nothing but the date on which you have created the invoice.
    Billingdate:Billing date is the date on which you suppose to do the billing for respective customer. Tease billing dates will be proposed to invoice from sales order if it is order related  or else actual goods issue date is proposed to billing document as a Billing date if particular billing document is delivery related.
    If you want you can change the Actual billing date the result is invoice created date.
    Please revert if you want any further clarifications
    Thanks&Regards

  • Cross company sale and billing process

    Hello Everyone,
    Could you please help me to configure Cross company sale and billing process step wise..my senario is:-
    End Customer(J090) order goods (R-797) to company code and sales org (U100/U151). The stock is not available in plant U111. The inter company plant CQ11 agrees to supply the material (R-797) to the end customer directly. Now i need to create two invoices 1. End customer invoice and 2. Inter company invoice to the ordering plant AN36.
    Comp code : U100
    Plant : U111
    Sales area : U151,DL,00
    Material : R-797
    End Customer :J090with sales area U151,DL,00 and company
    code U100.
    Delevering company
    Comp code : CQ00
    Plant : CQ11
    Sales area : CQ11,DL,00
    Please help me in this regard.
    I shall be liable to u.
    Thank u
    Rikin

    Hi
    1. Assign the Delivering Plant CQ11 to the distribution chain U151+DL (Ordering sales org + dist.channel).
    2, Assign Inter-company Billing type IV to your Order Type (e,g, OR).
    3. Assign the Plant CQ11 to Sales Area U151/DL/00.
    4. In XD01, create the Sales organisation U151 as a customer in the Supplying Sales area CQ11/DL/00. Then specify the customer number (e.g, 1111) against the Sales organisation U151.
    5. Supplying company code CQ00 should exist as a vendor for the ordering company U151.
    6. Now, maintain Pricing Procedure determination for the customer Invoice as below.
    Customer Pricing Procedure (of the end customer) + Document Pricing Procedure (of your Order Type) + Ordering Sales Area (U151/DL/00) -
    >> RVAA01.
    7. Create condition record in VK11 for condition type PR00 on the level Ordering Sales org/End customer/Material (U151/End cust no/R-797).
    8. Create condition record for condition type PI01 on the level, Ordering Sales org/Supplying Plant/Material (U151/CQ11/R-797).
    Mark the condition type PI01 as statistical in the Pricing Procedure RVAA01. It is cost for the ordering company (U100) but revenue for supplying company (CQ00).
    9. Maintain another Pricing Procedure (e.g, ICAA01) for Intercomp[any Billing as below,
    Supplying Sales area (CQ11/DL/00) + Customer PP of the Internal customer created (e.g,1111) + Doc PP of the Inter-company Billing (e.g, IV) -
    >> ICAA01.
    10. In t.code V/06, for the condition type IV01(Inter-company Price), maintain/specify condition type PI01 as the reference condition.
    We do not create condition record for Inter-company price condition type IV01. Infact, it takes the value from the ref condition PI01.
    When goods are delivered to the customer J090 by supplying company CQ00, the Ordering company U100 will bill the customer J090 where the Pricing Procedure RVAA01 will be used (copied from the Sales order).
    Next the Supplying company CQ00 will bill the Ordering company U100 using Intercompany Billing Type IV with reference to the Sales order, where Pricing Procedure ICAA01 will be used.
    In the Inter-company Billing condition type PR00 also appears but in inactive mode. Condition type PI01 and IV01 takes the same value.
    Hope, this will help.
    Regards

  • Regarding : Material document data and PO data do not match (Plant)

    Hi Gurus,
    Please go through this BAPI program.
    While uploading it is giving an error ' Material document data and PO data do not match (Plant) '.
    Please help regarding this issue.For all Other moment types it is working fine except this 351 moment type.
    dATA: i_excel TYPE truxs_t_text_data. "work table for excel upload
    DATA: BEGIN OF it_itab OCCURS 100,
          docdate(10),
          postdate(10),
          mvt_type(3), "Movement Type
          plant(4), "Plant
          lgort(4),
          pur_doc(10), "Purchase Document No
          po_item(3), "Purchase Document Item No
          material(18), "Material Number
         delnote(16),
          erfmg(13),
          uom(3),
         lfmng(13), "Quantity
          batch(10) TYPE c,
          vfdat TYPE vfdat,
          END OF it_itab.
    DATA: it_goodsmvt_head TYPE TABLE OF bapi2017_gm_head_01      INITIAL SIZE 100,
          it_goodsmvt_code TYPE TABLE OF bapi2017_gm_code         INITIAL SIZE 100,
          it_goodsmvt_item TYPE TABLE OF bapi2017_gm_item_create  INITIAL SIZE 100.
    DATA: wa_goodsmvt_head LIKE LINE OF it_goodsmvt_head,
          wa_goodsmvt_code LIKE LINE OF it_goodsmvt_code,
          wa_goodsmvt_item LIKE LINE OF it_goodsmvt_item.
    DATA: w_mat_doc  TYPE bapi2017_gm_head_ret-mat_doc,
          w_year     TYPE bapi2017_gm_head_ret-doc_year.
    DATA: BEGIN OF it_errmsg_goodsmvt OCCURS 10.
            INCLUDE STRUCTURE bapiret2.
    DATA: END OF it_errmsg_goodsmvt.
    DATA : obj_type LIKE bapiache09-obj_type,
           obj_key  LIKE bapiache09-obj_key,
           obj_sys  LIKE bapiache09-obj_sys.
    DATA: v_date1 TYPE sy-datum.
    DATA: v_date2 TYPE sy-datum.
    DATA: w_lines TYPE i.
    DATA: errflag.
    SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-100.
    PARAMETERS: p_file TYPE  rlgrap-filename.
    SELECTION-SCREEN END OF BLOCK bk1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          field_name = 'P_FILE'
        IMPORTING
          file_name  = p_file.
    Start-of-selection processing
    START-OF-SELECTION.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_line_header        = 'X'
          i_tab_raw_data       = i_excel
          i_filename           = p_file
        TABLES
          i_tab_converted_data = it_itab[]
        EXCEPTIONS
          conversion_failed    = 1
          OTHERS               = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT it_itab.
        REFRESH it_goodsmvt_head.
        REFRESH it_goodsmvt_item.
        CONCATENATE it_itab-docdate6(4) it_itab-docdate3(2) it_itab-docdate+0(2) INTO v_date1.
        CONCATENATE it_itab-postdate6(4) it_itab-postdate3(2) it_itab-postdate+0(2) INTO v_date2.
        wa_goodsmvt_head-pstng_date = v_date2.
        wa_goodsmvt_head-doc_date   = v_date1.
       wa_goodsmvt_head-ref_doc_no = it_itab-delnote.
    wa_goodsmvt_head-pr_uname   = sy-uname.
        APPEND wa_goodsmvt_head TO it_goodsmvt_head.
    Maintain it_goodsmvt_code
        wa_goodsmvt_code-gm_code    = '04'.
    Maintain it_goodsmvt_item
    *LOOP AT it_itab.
    IF wa_goodsmvt_item-po_number IS INITIAL.
        wa_goodsmvt_item-po_number    = it_itab-pur_doc.
        wa_goodsmvt_item-move_type    = it_itab-mvt_type.
        wa_goodsmvt_item-MOVE_PLANT      = it_itab-plant.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = it_itab-material
          IMPORTING
            output = it_itab-material.
        wa_goodsmvt_item-material     = it_itab-material.
        wa_goodsmvt_item-stge_loc     = it_itab-lgort.
        wa_goodsmvt_item-po_item      = it_itab-po_item.
        wa_goodsmvt_item-entry_qnt    = it_itab-erfmg.
        wa_goodsmvt_item-ENTRY_UOM_ISO    = it_itab-uom.
       wa_goodsmvt_item-po_pr_qnt    = it_itab-lfmng.
        wa_goodsmvt_item-batch        = it_itab-batch.
        wa_goodsmvt_item-expirydate   = it_itab-vfdat.
       wa_goodsmvt_item-NO_MORE_GR   = 'X'.
        wa_goodsmvt_item-mvt_ind      = 'B'.
        APPEND wa_goodsmvt_item TO it_goodsmvt_item.
        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
            goodsmvt_header  = wa_goodsmvt_head
            goodsmvt_code    = wa_goodsmvt_code
          IMPORTING
            materialdocument = w_mat_doc
          TABLES
            goodsmvt_item    = it_goodsmvt_item
            return           = it_errmsg_goodsmvt.
    Process of commit work
        IF it_goodsmvt_head[] IS NOT INITIAL.
          DESCRIBE TABLE it_goodsmvt_head LINES w_lines.
        ENDIF.
        IF it_goodsmvt_item[] IS NOT INITIAL.
          DESCRIBE TABLE it_goodsmvt_item LINES w_lines.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
        IMPORTING
        RETURN        =
          CLEAR errflag.
          READ TABLE it_errmsg_goodsmvt INDEX 1.
          IF it_errmsg_goodsmvt-type EQ 'E'.
            WRITE:/'Error in function', it_errmsg_goodsmvt-message.
            errflag = 'X'.
          ELSE.
            WRITE:/ it_errmsg_goodsmvt-message.
          ENDIF.
          IF errflag IS INITIAL.
            COMMIT WORK AND WAIT.
            IF sy-subrc NE 0.
              WRITE:/ 'Error in updating'.
              EXIT.
            ELSE.
              WRITE:/ 'Material Document created successfully and the Document Number for the Material',
                      wa_goodsmvt_item-material,'is:', w_mat_doc, w_year.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.

    Hey,
    Just wanted to post that in my case this was the error of MVT_IND field in item table. When I made it from 'B' to blank then it worked.
    Mine is solved....
    Thanks

  • Please help to get onhand stock report with last purchase and billed date warehouse and item wise

    please help to get onhand stock report with last purchase and billed date warehouse and item wise

    Hi Rajeesh Ambadi...
    Try This
    SELECT distinct T0.ITEMCODE , t1.ItemName, T0.ONHAND as 'Total Qty',  
      T1.LASTPURDAT ,t1.LastPurPrc
    FROM OITW T0 INNER JOIN OITM T1 ON T0.ITEMCODE = T1.ITEMCODE
    INNER JOIN OITB T2 ON T1.ITMSGRPCOD=T2.ITMSGRPCOD left join ibt1 t3 on t3.itemcode = t0.itemcode and t3.whscode = t0.whscode
    WHERE
    T0.ONHAND>0
    AND T0.WhsCode ='[%0]'
    Hope Helpful
    Regards
    Kennedy

  • Status 51 material document data and po data do not match(vendor)

    i am using we19 to try an inbound idoc mbgmcr(receipt for po)
    i put in gm_code 01
    movement indicator B(goods receipt for po)
    vendor 3815
    PO 4500015241
    PO Order Item 00030
    Movement type 101
    qty in unit of entry  1
    iso code unit of measurement pc
    on the po screen i see the po item and qty to be delivered is 75
    when i run the inbound idoc i get
    status 51 material document data and po data do not match(vendor) but as i say on the po inquiry screen i see the po vendor item with 75 to be delivered
    what am i missing????????????????

    thank you
    i put in the leading zeros and got rid of that problem
    now i am getting status 51
    posting only possible in 2004/07 and 2004/06
    but in the posting date i use 07/02/2004  i have tried several dates in the period but get the same error
    any ideas?
    thanks you

  • FA-retirement-Asset value date and posting date are not in same fisc year

    Hello,
    I would like to post retirement in the new fiscal year but with asset value date in the previous year so that NBV is calculated correctly. It is not possible neither in ABAON nor in ABAVN with any transaction type.
    I always get message 'Asset value date and posting date are not in same fiscal year'.
    Is there any way how to handle this?
    Thank you,
    Jan

    Hi,
    I have tried this but the settings of our Depr keys works in the way. That if you use asset value date in the new month it will calculate depreciation for the whole month.
    This means if I retire with asset value date 31.12.2008 - NBV will be calculated as at 31.12.2008.
    If I retire with asset value date 1.1.2008 - NBV will be calculated as at 31.1.2009.
    Thank you anyway!

  • Asset value date and posting date are not in same fiscal year

    Hi,
    Our business user has created an asset under an incorrect asset class, which he is trying to transfer to a new asset whcih was created under correct asset class. However system is restricting user with the error message "Asset value date and posting date are not in same fiscal year". Can you please advise me how we can proceed further with this error.
    Regards,
    Asam.

    Hi,
    To transfer one asset to another asset within a company code can be done through ABUMN only.
    While doing this transfer you have enter the document date, posting date, and value date for the transaction, but all these dates should be in same fiscal year only.
    In your case you must have been entered the dates for asset value date and posting date , and these two dates are in diff financial years.
    Please make sure that both the dates are in same FY.
    Hope this will fix your issue.
    Thanks,
    Srinu

  • Posting Date and Billing Date.

    Hi Experts,
    I am working on an IS-U project at the moment.
    Could anyone please let me know what is the difference between Posting Date and Billing Date?
    Thanks in Advance.
    Regards,
    Chandu.

    Hi,
    <b>Posting Date:</b> The date on which a transaction in SAP will be posted to the appropriate accounts. SAP will default this field to be the current date, but changes are allowed. For items to be posted in a future or past period, you must enter the posting date.
    <b>Billing Date:</b> Billing date from - Date the billing began and Billing Date To - The default is the last date of the current month.
    Hope this helps.
    PB

  • I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.Not working in USA timezone.

    I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works fine in our side (Timezone,kolkata ,india even for Timezone,slvaniya,USA) but our USA client is telling that on changing the date it not starts from start-up sequence.Can anyone plz suggest the reason for it.

    This is the code which we have used.
    //////////Return if it is first time for the day or not//////////////
    + (BOOL)isFirstTimeToday {
    BOOL result = YES;
    NSDate *now = [[NSDate alloc] init];     /// represents the current time
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: now];
    NSDate *today = [gregorian dateFromComponents:components];
    [now release];
    [gregorian release];
    NSDate *savedDate = [[NSUserDefaults standardUserDefaults] objectForKey:LAST_TIME_VISITED];
    if (savedDate) {
    if ([today earlierDate:savedDate] == today) {
    result = NO;
    return result;
    ////////Stores the date/////////////
    + (void)userDidVisitReenforceScreenToday {
    [[NSUserDefaults standardUserDefaults] setObject:[NSDate todayAtMidnight] forKey:LAST_TIME_VISITED];
    ////////////What [NSDate todayAtMidnight] stores/////////////////////
    + (NSDate *)daysFromNowAtMidnight:(NSInteger)nOfDays {
    NSDate *date = [NSDate dateWithTimeIntervalSinceNow: (86400*nOfDays)];
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: date];
    NSDate *dateAtMidnight = [gregorian dateFromComponents:components];
    [gregorian release];
    NSLog(@"dateAtMidnight : %@",dateAtMidnight);
    return dateAtMidnight;
    + (NSDate *)todayAtMidnight {
    return [self daysFromNowAtMidnight:0];
    Please Suggest..

Maybe you are looking for

  • Block purchase receipts for a material for a given period during MRP.

    Hey all, What is the most simple way to block delivery of a material for a specific period of time within a plant? I want to block a 3 month period, where no deliveries can be received, however I still want to run MRP during this time. I want MRP to

  • Error when starting firefox 3.6 on Solaris 10 x86

    Sometimes, when we start firefox 3.6 on an Ultra 40 with an Opteron processor, we get the following error: esd: Unknown device `SUNW,audio810', but will try anyway. Firefox works fine, but what does this error indicate, and how can I make it go away?

  • Reconfigure reboot for Solaris 10 u5 x86 guest in VirtualBox

    Hello, I just installed the new kernal patch into a Solaris 10 u5 x86 32-bit guest OS in VirtualBox 2.0.4 on a WinXP 32-bit host. I need to do a reconfigure reboot. I can't seem to get to the ok prompt from which to use boot -r. init 0 does not work,

  • O icloud compartilha com my iphone

    o icloud compartilha com my iphone o localizador do iphone? Quero saber se posso localizar o meu iphone atraves do icloud?

  • How to verify that an event is triggered

    Hi Experts, I am running a BW job that is based on an event (or basically a group of events using event collector). Some times, I need to debug it to find out why the job is not triggered and it is very difficult to find out which event was not there