Error through an identical billing date?

Hi experts,
I've the following problem.
I have a billing which consist of the total price of a project and 2 advance payments with identical billing dates. Both  advancepayments have been made and processed by the financial accounting department. *The problem is if we try to send a ballance report to our customer  the final amount is incorrect.
The reason therefore is that only one advance payment is subtracted from the total billing amount. But both advance payments are printed on the billing. *
Is there anyone  around who had the same problem and a solution?
Thank you in advance
Christian

See the link below for the syntax of UTL_FILE.FOPEN
http://download-east.oracle.com/docs/cd/B10501_01/appdev.920/a96612/u_file2.htm#1002215
You need to pass a directory object name.
http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_58a.htm

Similar Messages

  • Third Party process - billing date change in Sales order / Customer Invoice

    Dear Friends,
    In Third Party Sales Process , as we are aware  billing is order related billing and it will become due only after vendor invoice is received.
                   My situation is in the original sales order billing date is eg: 01.02.2009 . The subsequent vendor invoice ( Invoice receipt done based on PR --> and PO)  has a later date eg: 05.02.2009 .
    This means that the customer biling can be done only after this date.  
    How the system behaves in this case wrt to the billing date ( 01/02/2009) of the original sales order.
    Regards
    Mahesh
    Edited by: Mahesh sap on Feb 4, 2009 8:55 AM

    Hi all ,
             Thanx all for your responses . But my case is a bit peculiar . Here the vendor invoice is coming by IDoc through EDI . When EDI flow is confirmed, the billing date is pushed ahead. As per billing calendar  in CMR the customer can be invoiced only on the last date of the month. 
    As a result if the original billing date in the sales order is Feb end, when vendor invoice received through EDI , the billing date is shifting to march end .
    Is it because the date of vendor invoice is causing this?  Obviously the customer billing date falls only after vendor invoice date.
    Regards
    Mahesh

  • Error on field billing date in VF02

    Hi Gurus
    There is an error on field  billing date in SD invoice,the field is VBRK-FKDAT.
    When the user has reversed the original invoice, the invoice billing date has been changed by reverse invoice date.
    I don't know the reason, it is first time that the system is working in this way.
    Is there a way to change directly the field billing date?Can i act on table VBRK in some way?
    I have already tried to change in debug the table VBRK but doesn't work.
    Thanks in advance

    Hey,
    Nicolas' reply is correct.
    And in case you could not maintain the relevant table and want to undo the
    check against the check table for some chars you have to remove the check
    table from table TKEF and afterwards regenerate the check routine RK2FGPKE.
    I will explain this more in detail on the basis of an example: imagine you want
    to get rid of the check table for char WW123. You must then proceed as follows:
    1.) Remove the entries for fields CHTAB and CHFIE from the TKEF record
        for WW123 (that means FIENM = WW123) so that these fields are after-
        wards initial in table TKEF for the WW123 record. 
    2.) Execute function module RKD_SHORT_TEXT_GENERATE for APPLCLASS = KE
        so that program RK2FGPKE is regenerated.
    But please be careful about this workaround and test it throughly in your DEV or QAS
    system before apply in PRD system.
    Best Regards
    Young

  • Pushing out a billing date through a project - affect the pricing in a SO

    Hello
    I have two sales orders for a customer with same terms of payment, pricing procedure and everything almost similar except dates (say billing dates). the company is mainly using project systems. they are using billing plans. even the billing plans, billing types are also same.
    The Issue is that, for one sales order it picking the Gross Value (present in document header -> Condition tab) as Net Value for the sales order. However for the another sales order it is picking the Total (present in document header -> Condition tab) as Net Value for the sales order.
    Can anyone please explain me why the system is behaving like that, what is the mistake I did. I want the system to pick total value.
    "pushing out a billing date through a project would affect the pricing in a sales order. the netted discount is not showing any more." - this is the issue
    Thank You,
    Gokul

    I have Flip for Mac...
    But do you have the paid for version or the free one?
    The free version only lets you export half of the video up to a maximum of thirty seconds.

  • Add billing date in existing prog when goes through VF01

    How do I add the billing date as sy-datum in my program that uses BDC to create billing documenst for the sales order in the output . I would like this to take te billing date as sy-datum. I know if if I add the billing date as todays date while generating biling documenst for multiple selections of sales order it will process and create a billing doc for it, right now which si not happening as billing date is missing. I want to add the billing date in BDC. Could I get some help please. In the below case only for p_rdos.
    *&      Form  process_vf01
    *       Call transaction VF01 and fill screen table with order values
    FORM process_vf01.
      DATA: ln_index(2) TYPE n,
            lc_field(20) TYPE c,
            lc_fkart TYPE vbrk-fkart,
            li_lines TYPE i,
            lc_msgtxt(99) TYPE c,
            lwa_bdcoptions TYPE ctu_params,
            lwa_mess LIKE LINE OF it_bdcmess,
    *        lc_date like vbrk-fkdat.
            lc_date like sy-datum.
      REFRESH: it_bdcmess.
      lwa_bdcoptions-dismode = cns_mode.
      lwa_bdcoptions-updmode = cns_upd.
      CASE 'X'.
        WHEN p_rdff.
          lc_fkart = cns_fkff.
        WHEN p_rdos.
          lc_fkart = cns_fkos.
          lc_date = sy-datum.
      ENDCASE.
      DESCRIBE TABLE it_vbeln LINES li_lines.
      REFRESH: bdc_tab.
      PERFORM update_bdc USING: 'X' 'SAPMV60A'    '0102',
                                ' ' 'BDC_CURSOR'  'RV60A-FKART',
                                ' ' 'RV60A-FKART' lc_fkart,
                                ' ' 'BDC_OKCODE' '/00'.
      LOOP AT it_vbeln INTO wa_vbeln.
        ln_index = sy-tabix.
    *   Up to the second delivery of the BDC add the Delivery to the screen,
    *   after that click the More Documents for every entry.  logic changed for DEVK902353
    *   changed again in added for every line DEVK910604
        CASE ln_index.
          WHEN 1.
            CONCATENATE 'KOMFK-VBELN' '(' ln_index ')' INTO lc_field.
            IF li_lines = 1.
              PERFORM update_bdc USING: ' ' lc_field wa_vbeln.
            ELSE.
              PERFORM update_bdc USING: ' ' lc_field wa_vbeln,
                                        ' ' 'BDC_OKCODE' 'FKAN'.
                  ENDIF.
          WHEN OTHERS.
    *        IF p_rdos  <> 'X'.
            CONCATENATE 'KOMFK-VBELN' '(2)' INTO lc_field.
            PERFORM update_bdc USING: ' ' lc_field wa_vbeln,
                                      'X' 'SAPMV60A'   '0102',
                                      ' ' 'BDC_OKCODE' 'FKAN'.
        ENDCASE.
      ENDLOOP.
    * VF01 will go to a different screen if only one line selected
      IF li_lines EQ 1.
        PERFORM update_bdc USING: 'X' 'SAPMV60A' '0104',
                                  ' ' 'BDC_OKCODE' '=SICH'.
      ELSE.
        PERFORM update_bdc USING: 'X' 'SAPMV60A' '0102',
                                  ' ' 'BDC_OKCODE' '=SICH'.
      ENDIF.
      CALL TRANSACTION 'VF01'  USING bdc_tab OPTIONS FROM lwa_bdcoptions
                              MESSAGES INTO it_bdcmess.
      WRITE: / 'BDC Messages:'.
      SKIP.
      LOOP AT it_bdcmess INTO lwa_mess.
        CALL FUNCTION 'RH_MESSAGE_GET'
          EXPORTING
            arbgb             = 'VF'
            msgnr             = lwa_mess-msgnr
            msgv1             = lwa_mess-msgv1
            msgv2             = lwa_mess-msgv2
            msgv3             = lwa_mess-msgv3
            msgv4             = lwa_mess-msgv4
          IMPORTING
            msgtext           = lc_msgtxt
          EXCEPTIONS
            message_not_found = 1
            OTHERS            = 2.
        WRITE: /5 lc_msgtxt.
      ENDLOOP.
    ENDFORM.                    " process_vf01

    u can chk this code
    data:  wa_vbsk TYPE vbsk,
    wa_vbsk-smart = c_f.
    APPEND wa_komfk TO it_komfk.
            CLEAR wa_komfk.
            CALL FUNCTION 'RV_INVOICE_CREATE'
                    EXPORTING
    *                 delivery_date             = 0
                     invoice_date              = v_date "ur current date
    *                 invoice_type              = '    '
    *                 pricing_date              = 0
                     vbsk_i                    = wa_vbsk
                     with_posting              = 'D'
    *                 select_date               = 0
                     i_no_vblog                = ' '
                     i_analyze_mode            = ' '
                     id_utasy                  = ' '
                     id_utswl                  = ' '
                     id_utsnl                  = ' '
                     id_no_enqueue             = ' '
                     id_new_cancellation       = ' '
    **             IMPORTING
    *               VBSK_E                    =
    *               OD_BAD_DATA               =
    *               DET_REBATE                =
                    TABLES
                      xkomfk                    = it_komfk
                      xkomv                     = it_komv
                      xthead                    = it_thead
                      xvbfs                     = it_vbfs
                      xvbpa                     = it_vbpa
                      xvbrk                     = it_xvbrk
                      xvbrp                     = it_vbrp
                      xvbss                     = it_vbss
    *               XKOMFKGN                  =
    *               XKOMFKKO                  =
    Edited by: kartik tarla on Apr 3, 2009 10:28 AM

  • Vf02 error while releasing a billing doc to accounting

    Hello All,
    I m getting the below mentioned error while releasing a billing doc for a accouting.
    I have checked all the settings in vkoa , ob52 and many more and all are set properly, now m not able to track where actually the prob is.
    error is: No account is specified in item 0000001004
    Message no. F5670
    Diagnosis
    No account was specified for account type "S" in item "0000001004" of the FI/CO document.
    System Response
    The Financial Accounting program cannot process the document.
    Procedure
    A system error has probably occurred in the application you called up. Check the data transferred to item "0000001004" of the FI/CO document.
    Points wil be rewarded
    Thanks,
    SUnny

    Hi,
    Have you checked what is the determination account determination log ? You can do this by entering in VF02 and select from the menu Environment -> Account Determination Analisys -> Revenue Accounts.
    In this log you can see what are posting keys determined from the pricing procedure that should be posted in the FI document and determine very easy in which step the account was not determined.
    After that you can maintain the correct account in VKOA transaction.
    BR,
    Valentin

  • GR date (MIGO) as the Billing date in Third Party Sale

    Dear All,
    I have a scenario where the GR date should be the billing date in third party sale.
    Can it be accomplished by any user exits of billing? Please share your ideas and if this can be done through user exit, please name the user exit.
    Thanks in advance.
    Regards,
    Ipsit

    hi,
    read sales order number or PO number or get the information from document flow of VBFA if pO exists thengo to PO history in EKBE table if BWART - 101 then trigger billing document with reference to SALES ORDER on the same day.
    for that you need to create a Back Ground Job in SM36.
    balajia

  • Problem with billing date at closed period

    Hi
    We have a problem with billing date in transaction . Previously we could set up different (earlier) billing date than the actual posting period and now it is not working. We receive an error message that the posting period is closed ) .
    I attached an example invoice which we managed to post and where you can see what Iu2019m thinking about, parking number: 1024337, BILLING DOCUMENT: 841835. In this case the billing date was at 30.11.2007, but the posting in 15.07.2008 and we managed to post.
    Pls help that issue
    yps

    hi,
    it is due to posting period closed for the month of 07/2008.
    u need to open posting during that period.
    Regards,
    Greeshma

  • Error While Uploading GL Master Data in LSMW

    Hello Experts,
    I am running into error while uploading GL master data in LSMW, I created recording through FS00, then I mapped the fields, it all went good till 13th step, but last step got stuck(Run Batch Input Session), when I am running batch input session, system is showing this message "Function Code cannot be selected"
    Your help would be highly appreciated.
    Regards
    Muhammad Yousuf Ali
    SAP FI Consultant

    Hi,
    first can you pls check your Hierarchy mode setting in FS00 -  before executing Batch input session -
    Open FS00 - go to settings - and Do not display navigation tree select radio button and save it
    then Now Run fresh LSMW - your issue will resolve
    Mahesh

  • Why do I get "Error 1 occured at Config Data Registry.vi(get data) invalid object 0" while starting my application?

    Why do I get "Error 1 occured at Config Data Registry.vi(get data) invalid object 0" when starting my application created in LabVIEW 7.1?  I am starting the application in a PXI rack running Windows XP.  I have an executable written in LabVIEW 7.0 that runs without this error.  After clicking the Continue button in the error, the application seems to continue happily.
    Is there something I need to include when I make the executable?
    I would like to understand and eliminate this start up error.
    Thanks in advance.
    BobNorth

    Hi Bob,
    I looked through the program and I figured out where the error is coming from, and potentially what is causing it. In a lot of the cases of the program you are searching a 1-D array for the name of the case, and if you don't find it then it skips the function and gives "Error 1 occurred at Config Data Registry.vi(CASENAME) invalid object 0". I attached a screenshot that shows what I mean. The Search 1-D Array.vi is returning a -1 which means it didn't find the case. The reason I believe this is happening is because the shift register for that array is not initialized. While the other cases "reset" and "register" interact with the array shift registers and most likely create the array you need, if the program defaults to the "get data" case then it will try to run that before registering and won't have an array to search. This would also explain why it only has this problem at first and seems to run just fine after that. To fix this you should either make an initial array and wire it into the shift register or make the "reset" case the default as opposed to the "get data" case.
    Regards,
    Peter W.
    Attachments:
    Config Data Registry.png ‏55 KB

  • Invoice List - Calculation of the Billing Date

    Hello,
    I'm facing some problems by setting up the invoice lists in our system. I added a factory calendar to the customer who has to receive invoice lists and the field VBRK-FKDAT_RL is filled so I'm able to create the list.
    My problem now is, that the system will ever use the Billing Date of the Real Invoice also as Billing Date for the Invlice List and if I try to create a list for e.g. four invoices created on four different days I will receive four Invoice Lists instead of one.
    How can I control the billing date for the invoice list so that, e.g. the customer receive an invoice list for every quarter? Or monthly? Or..?
    Thanks in advance for your help.
    Kind regards
    Sascha

    Hello,
    I know this is an old thread, and you were able so solve your problem.
    Neverthless, since I had more or less exactly the same problem and was only able to solve it, for e.g. a weekly periodicity after some try and error, I wanted to present the solution for this invoice list periodicity:
    Valid From      Valid To     Workday           Text
    01.05.2014  06.05.2014    (not checked)    First week May
    08.05.2014  13.05.2014    (not checked)    Second week May
    ... and so on.
    It is important to EXCLUDE the day in the definition of the weekly periods, that the is supposed to be the next available invoice list date, which is then filled in the invoice Header (FKDAT_RL in VBRK) at the time of invoice creation.
    At the same time I have all work days checked in the first screen of factory calendar maintenance.
    Hope this is helpful for people running into the problem.
    Cheers,
    Steffen

  • In which tables are CIC0 billing data stored?

    Dear Gurus,
    Quick question.. may I know in which tables are the billing transaction data stored?
    Thanks in advanced.
    BR,
    Jayne.

    hi
    CRMD_BILLING is the table for you
    else if you wanna see through header data go to table
    CRMD_ORDERADM_H
    and there you give the object id and you can paste the GUID produced there in side the table CRMD_ORDER_INDEX
    to see the billing data
    best regards
    ashish

  • How to set Service render date should be equal to Billing date

    Hi All,
    At present when invoice is created the service rendered date (FBUDA) is taken as the basis for the Rebate condition types to select the condition value from the agreement.
    The business requires that for the rebate conditions, service rendered date should be equivalent to the billing date, so that correct agreement is selected based on the billing date.
    Required Change: Service Rendered date should be equivalent to the Billing Date for only Rebate condition Types and only for particular Sales Org.
    To achieve this how can I proceed, I have gone through all user-exist for billing no where I have found
    Could you please guide me to achieve this functionality?
    Thanks and Regards,
    Jaya.G

    Hi Yadav,
    My requirement is to put the billing date in service render date
    I.e. in my scenario the Actual GI date is populating into billing date and also in service render date (komk-fbuda)
    If we enter billing date manually while creating the billing that should be reflect in service render date, in condition level.
    Here it is not happening, it is taking the Actual GI date in service render date,
    Here VBRP-FBUDA is different form komk-fbuda.
    Vbrp-fbuda is have to reflect form Actual GI date only
    My requirement is, I need to populate the billing date into service render date for some conditions only. These conditions are rebate type conditions.
    I can populate the billing date to all conditions not for particular conditions
    In user exit userexit_pricing_prepare_tkomk
    I can move the vbrk-fkdat to tkomk-fbuda
    But this not my requirement
    I need to populate the billing date to service render date to some conditions types only
    In this exit I canu2019t restrict the conditions, I mean in this routine I am not able to select the condition types
    Please advice me where can I write the code to achieve my functionality
    Thanks in Advance
    Jaya.G

  • Changing Exchange rate as per Billing  date

    I have got 1 requirement while creating Billing document through VL01 transaction the user change the header data Billing date as per billing date the exchange rate also will be change automatically.
    Enhancement : SDVFX008
    Exit Name : SAPLV60B_008.
    Include : ZXVVF008.
    in that the client have 2 marketing place one is india and another is US the if user change the invoice Billing date VBRK-FKDAT as per billing date US$ exchange rate will be change automatically in the field VBRP-KURST. i written code but i did not fetching data in to table in this exchange rate maintained in table TCURR and my code is.
    "" Data : ukurs1 type tcurr-ukurs,
              date(10 )type c.
    if cvbrk-fkdat is not initial .
    select singe ukurs into ukirs1 from tcurr
                  where gdatu = date and
                              tcurr = 'USD'.
      loop at vbrk where vbeln = doc_number.
        clear cvbrp-kursk.
        cvbrp-kurst = ukurs1.
      endloop
    endif.""

    Hai,
    "" Data : ukurs1 type tcurr-ukurs,
    date(10 )type c.
    if cvbrk-fkdat is not initial .
    select singe ukurs into ukirs1 from tcurr
    where gdatu = date and
    tcurr = 'USD'.
    loop at vbrk where vbeln = doc_number.
    clear cvbrp-kursk.
    cvbrp-kurst = ukurs1.
    *MODIFY cvbrp.*
    endloop
    endif.""
    Modify the internal table & check it.
    Regards,
    Sudhakar Rayala
    Edited by: SudhakarRayala on Feb 14, 2010 1:28 PM

  • LBBIL_INVOICE. Billing Data: Transfer Structure to Smart Forms

    Hi...
    Can u please help me out in my query regading how the data passes to
    LBBIL_INVOICE. Billing Data: Transfer Structure to Smart Forms.
    I have an smartform which runs through VF01/VF02/ VF03 while pressing the print preview button.
    But if i try to run it directly from driver program, no data wil be displayed. Now i have the requirement to detach from VF03.. and make it to run directly from my driver program.
    what shall i have to do to achieve this. Should i have to take all the internal tables saparately or else can i use LBBIL_invoice structure itself.
    If i can use that structure itself, how to make the data flow into it.  Pls help me.
    In my codeing these includes were there. is there anything related , is the data passes because of these includes
    INCLUDE rlb_invoice_data_declare.
    definition of forms
    INCLUDE rlb_invoice_form01.
    INCLUDE rlb_print_forms.
    Pls clarify my dobut...
    Thanks in advance,
    Hema

    1. These are normal structure
    2. you can use anywhere but they designed for forms currently.
    3. Yes ,it works like it will look at NAST Table -> nast table will connect the TNAPR Table -> tnapr will have smart form print program.
        so smart form program calls smartform and it will show output
    4. you can create your own structure and use them into anywhere like report program or forms..
    5. you can see example simple form name SF_EXAMPLE_01 ,program name is SF_EXAMPLE_01 ,you can design your own form and print program.
    Thanks
    Seshu

Maybe you are looking for