Re: Problem in recording VF02 billing transaction

Hi all,
           I am having a problem in recording the VFO2 for the processing of Despatch details in third screen Header Texts.
How to write the BDC code for uploading data for this TCODE VF02.particularly with header texts.....
                                              Thanks in Advance
                                                      Ravi

Hi
Check this function module : <b>GN_INVOICE_CREATE</b>
<b>CALL FUNCTION 'GN_INVOICE_CREATE'
      EXPORTING
        DELIVERY_DATE   = DELIVERY_DATE
        INVOICE_DATE    = INVOICE_DATE
        INVOICE_TYPE    = 'ZFX'
        PRICING_DATE    = PRICING_DATE
        VBSK_I          = X_VBSK
        WITH_POSTING    = 'D'
        ID_NO_ENQUEUE   = 'X'       
      TABLES
        XKOMFK          = IT_KOMFK
        XKOMFKGN        = IT_KOMFKGN
        XKOMFKKO        = IT_KOMFKKO
        XKOMFKTX        = IT_KOMFKTX
        XKOMV           = IT_KOMV
        XTHEAD          = IT_HEAD
        XVBFS           = IT_VBFS
        XVBPA           = IT_VBPA
        XVBRK           = IT_VBRK
        XVBRP           = IT_VBRP
        XVBSS           = IT_VBSS
        SUCCESS_DOC_OUT = IT_SUCCESS.</b>
Or you can use BAPI :- <b>BAPI_BILLINGDOC_CREATEMULTIPLE</b>
<b>CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
EXPORTING
CREATORDATAIN = GS_CREATORDATAIN
TESTRUN = co_x
POSTING = co_x
TABLES
BILLINGDATAIN = GT_BILLINGDATAIN
CONDITIONDATAIN = GT_CONDITIONDATAIN
CCARDDATAIN =
TEXTDATAIN =
ERRORS =
RETURN = GT_RETURN
SUCCESS = GT_SUCCESS.</b>
regards,
Hiren Patel
Don't forget to Reward points

Similar Messages

  • Problem during recording of CJ01 transaction for BDC

    Hello All,
    I am facing a problem during the recording of CJ01(Creation of projects) for creation of BDC program.
    The problem is during recoding after entering the the first WBS element with level 1 and i press the '+' button to create one more WBS element with Level 2,the first WBS element with level 1 goes to the bottom of the line item table and now if try to create the WBS element with Level 2 in the first line it wont allow because of the fact that the first WBS element with level 1 is below it.
    But if i enter the first WBS elemnt with level 1 in the first line and come to the next line and enter the second WBS element with level 2 it will create since Level 2 WBS is below the Level 1.But this approach cannot be used for doing a recording for BDC.
    Can anyone help in this regard
    Thanks in Advance
    Ashish

    Hi Ashish,
    NW is right. It is not proper to use BDC for CJ01. You can get more control and better if you use the following function module,
    1. Use BAPI_PROJECT_MAINTAIN to create project definition and WBS Structure in one go. see the documentation in the BAPI on how to use this. Post the resut in this forum if you face any problem
    Ravi

  • My credit card  has been charged for book, however my purchase history shows no record of the transaction and I have not received the book. The online problem reporting system does not have options to report this incident. Who can I cal

    My credit card  has been charged for book, however my purchase history shows no record of the transaction and I have not received the book. The online problem reporting system does not have options to report this incident. Who can I call?

    Would be problems with purchases, billing, and redemption option.  It's not 100% exact to your issue, but it will get you to the right department.
    Go here https://expresslane.apple.com/GetproductgroupList.do then select ITunes, then Store, then Purchases, Billing, and Redemption.  Then.. probably pick "My topic is not listed." 

  • Update Termiante Problem in the VF02

    Dear SAP Technical Guru's,
    I am facing Update termiante problem in the VF02 Screen .
    MESSAGE
    Update was terminated
    *System ID.... MRD
    Client....... 100
    User..... PWC
    Transaction.. VF01
    Update key... BE944DDDC5AEF1338261001635B0CD06
    Generated.... 09.07.2008, 14:25:50
    Completed.... 09.07.2008, 14:25:50
    Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC*
    Also When I scroll through the Condition records in the billing screen the conditions are disapperaing.
    I have a Userexit attached to it RV60AFZC
    Please suggest the solutions of the problem.
    regards,
    Amlan Sarkar

    I am attaching the code of the userexits:
    ***INCLUDE RV60AFZC.
    This include is reserved for user modifications                      *
    Forms for invoicing                                                  *
    The name of modification modules should begin with 'ZZ'.             *
          USEREXIT_NUMBER_RANGE_INV_DATE                                 *
          USEREXIT_FILL_VBRK_VBRP                                        *
          FORM USEREXIT_NUMBER_RANGE_INV_DATE                           *
          This userexit can be used to determine the numberranges for   *
          the internal document number. This userexit can be used when  *
          the number_ranger should impact the invoice date via table    *
          TVFKD.                                                        *
          If this userexit is active the USEREXIT_NUMBER_RANGE is not   *
          processed anymore, that means this userexit has priority.     *
          US_RANGE_INTERN - internal number range                       *
          This form is called from form LV60AU02 and LV60AU11           *
    FORM USEREXIT_NUMBER_RANGE_INV_DATE USING US_RANGE_INTERN.
    Example: Number range from TVFK like in standard
    US_RANGE_INTERN = TVFK-NUMKI.
    ENDFORM.
          FORM USEREXIT_FILL_VBRK_VBRP                                  *
          This userexit can be used to fill fields in VBRK and VBRP     *
          Be aware, that at this time the work areas KUAGV KURGV        *
          KUWEV and KUREV are not filled.                               *
          This form is called from FORM VBRK_VBRP_FUELLEN.              *
    FORM USEREXIT_FILL_VBRK_VBRP.
    Example: change Tax country
    VBRK-LANDTX = T001-LAND1.
    *{   INSERT         MRDK900206                                        1
    *if sy-tcode = 'VF01'.
    read table xkomv with key kschl = 'ZTOD'.
    if sy-subrc <> 0.
       clear xkomv.
       xkomv-kschl = 'ZTOD'.
       append xkomv.
    endif.
    *endif.
    *----Commented
    READ TABLE XKOMV WITH KEY KSCHL = 'ZTOD'.
    IF SY-SUBRC <> 0.
       CLEAR XKOMV.
       XKOMV-KSCHL = 'ZTOD'.
       APPEND XKOMV.
    ENDIF.
    *----End of comment
    *}   INSERT
    ENDFORM.
    *eject
    regards,
    Amlan Sarkar

  • Problem in Save the Billing Document

    Hi,
    We have a problem while saving the Billing Document i.e.
    Document 83034087 saved (error in account determination)
    Message no. VF051
    when we saw it;s Revenue accounts, found there -
    Condition type............Message.................Description
    ZM05............................121.......................No G/L account found in Account determination type KOFI
    Access     Message     Description
    08     121     No G/L account found in Account determination type KOFI
    10     121     No G/L account found in Account determination type KOFI
    20     121     No G/L account found in Account determination type KOFI
    30     121     No G/L account found in Account determination type KOFI
    40     121     No G/L account found in Account determination type KOFI
    50     121     No G/L account found in Account determination type KOFI
    Plz guide...

    Hello Anil.Sap321,
    Your problem has to do with ACCOUNT DETERMINATION.
    Step 1: Check which account determination procedure is assigned to your billing type i.e. SPRO>SD>Basic Functions> Account Assignment/Costing>Revenue Account Determination>Define and Assign Account Determination
    HINT: normally, this is KOFI00 in standard sap
    Step 2: Check the Condition Types in your account determination in the control data in the same path as in step 1 for the Definition (e.g. KOFI, KOFK)
    Step 3: Check your accesses e.g. for KOFI (this should correspond to your VKOA tables).  Here, you can see the sequence in which your accounts are determined. Plus, at field level you can see where the data are taken from and then you can check your master data etc. during troubleshooting.
    Step 4: Identify in which combination your G/L should be in and you or your FI counterpart should configure the G/L in the designated VKOA table (transaction VKOA).
    TIP: To know which G/L account you need to input, you need the help of Financial guys as different companies have their different set of G/Ls or Chart of Accounts.
    Step 5: When this is configured in your VKOA, you can re-test.  Look at your Revenue Account determination analysis to see if your "access" in which you made your VKOA entry is successfully read during account determination.  
    NOTE: The G/L you or your FI contact have configured must exist in the Company Code involved in your accounting process.
    Good luck and let me know if this helps you,
    Eva

  • Authorization problem with VF01 "Create Billing Documents"

    Dear All,
    We face following problem with VF01 "Create Billing Documents".
    Transaction: VF01
    User: Joe
    Authorization of Joe:
         VKORG Sales Organization: A, B (authorization object V_VBRK_VKO)
         FKART Billing Type: 1, 2 (authorization object V_VBRK_FKA)
    The objective for Joe:
       Joe is qualified to create bills in
          sales org A only for billing type 1 and in
          sales org B only for billing type 2.
       Joe should not be able to create bills for
          sales org A with billing type 2 and in
          sales org B with billing type 1.
    How can we solve this problem?
    We already searched for userexits without any success.
    Any help or ideas are very appreciated.
    Regards
    Markus Wilhelm
    Project Manager ERP

    Dear,
    There are standard authority-checks based on Sales organization (authorisation object V_VBRK_VKO) and/or Billing type (V_VBRK_FKA).
    An option would be to create a new billing type, define specific authorisations and use the new billing type for these documents.
    The bad thing is that you would also need a special (new) sales order type, because the billing document type is unique per sales order.
    So maybe it is easier to have a different sales organization.
    Another option would be to create a new authorization object and check it in the billing documents.
    If you wish, you could modify program LV60A005 & LV60A006.
    Then you might check various user/customer exits.
    Some functions to check: EXIT_SAPLV60A_001/002,
    EXIT_SAPLV60B_001 - 008, EXIT_SAPLV60B_010 - 011.
    Regards,
    R.Brahmankar

  • HT3552 I have been trying to download apps from the app store and every time it tells me there is a problem with my previous billing and direct me to put in new billing information and every time i do that it still will not let me download any apps.

    I have been trying to download apps from the app store and every time it tells me there is a problem with my previous billing and direct me to put in new billing information and every time i do that it still will not let me download any apps.

    Have a look here >  http://support.apple.com/kb/TS1646

  • Battery problem while recording videos.

    I got my ipod touch 5 1 month ago. I got a problem while recording videos. The battery was around 40 percent, but after I recorded a video for about 1-2 minutes. The 20% was popup, then it turned off automatically. While I turn on it, the battery will be about 30 percent. It happened several times. Is this normal?
    Does anyone have the same problem?
    Thanks!

    Hi,
    Please refer the below link...
    http://www.sapfans.com/forums/viewtopic.php?f=27&t=20842
    Kuber

  • Stereo Audio Record problem (While recording video as well)

    Hi,
    I just just bought Sony Xperia C3 dual yesterday. I'm having problem with audio recording. I installed the Sony audio recorder from Google play store but while recording in stereo mode with it the gain suddenly drops after 1/2 second(s). Same problem while recording a video with stock camera app as well, video quality is fine but the audio with it is,just worst. Tried third party app like regorge pro but faced the same problem. Tried disabling the AGC with it, but no good. Recording in mono mode just works fine and I get clear record.
    Any solution?
    Thanks.

    @uliwooly  This one i recorded today morning. The audio starts good & clear at the begining but just after one second it drops & then you can hear the bus engine sounds like waterfall. Here is the youtube link https://www.youtube.com/watch?v=5H1jNxyYMlw Here's another video uploaded by a review site with the same problem https://www.youtube.com/watch?v=z3vKwydfN6U & more from youtube https://www.youtube.com/watch?v=-GLLj2ommP4  then i used a third party audio recorder with mic switch option https://www.youtube.com/watch?v=D6d4uAEZFRE as usual with the rear mic the gain suddenly drops after second & you can hear some weird sounds like a "movie bomb" sound at 00:04, "rattle snake" sound at 00:05 & 00:12 & with the front mic starts at 00:17 you can hear the difference. It's mono but so clear & sharp.  Finally, as i dont have the mic swith option while recording video, all videos i record will have the same problem. This is definitely not  the typical "sony" thing to carry on.

  • Problem with Printing the Billing date...

    Hi Experts...
    Here im facing the problem in printing the billing date.
    The scenario is as follows.
    The posting date of Billing is 10.10.2008
      The document date of Billing is also 10.10.2008.
    At the time of printing the Billing document it is taking another date otherthan 10.10.2008,where it should be 10.10.2008.
    What modifications should i do to rectify the problem.
    Please advice.
    Regards,
    Y P.

    Prasad,
    Ask your ABAPer do debug and find out what date (Table-Field) is used in the Invoice Output program. You will know the reason and if you think that the date being used is incorrect, you can ask your ABAPer to change it to VBRK-FKDAT which is the billing date.
    Chandan

  • Problem with use of COM+ Transaction and DB Transaction

    Problem with use of COM+ Transaction and DB Transaction
    We build a Web site that use sometime COM+ Transaction and sometime DB
    Transaction. If we use a COM+ Transaction and a few seconds later we try to use
    a Database Transaction (OracleConnection.BeginTransaction), we get the error
    Connection is already part of a local or a distributed transaction
    Of course the error does not produce everytime; it takes some try before we get
    the problem. And of course, if i use pooling=false on the connection string,
    the problem does not appear.
    i run the Web page
    and push the COM+ Transaction and DB Transaction one after the other for some
    times and the problem should appear.
    Environment: Windows server 2003, .Net Framework 1.1, ODP.Net 9.2.0.401,
    Database Server 9.2.0.4

    > Why in form builder can't I...
    Is this happening at runtime or at buildtime? You'll need to provide more info on what you are actually doing that's causing the problem.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Can the Condition records in the transaction NACE be transported?

    Can we Transport the Condition records in the transaction NACE from one system to another ( I mean from Dev to Quality).
    I have navigated through all the menu in the transaction NACE but haven't found any link for transport.
    Any help pls.

    Hi,
    Please find the bellow thread which is related to NACE transaction.
    <<link removed>>
    Regards,
    Goutam Kolluru.
    Edited by: goutam kolluru on Feb 1, 2012 4:56 AM
    Edited by: kishan P on Feb 1, 2012 11:48 AM

  • I'm having a problem while recording a video

    'm having a problem while recording a video
      When the memory card and the highest quality ..
    Stop and is working
    I recorded video works normally on the memory card.

    Nokia C5-00 5MP

  • BAPI for Purchase Info record creation - ME11 transaction

    Hi,
      Is there any bapi or function modules which will create the Purchase info record in Me11 transaction and also bapi for change Purchase info record in Me12 transaction?
    Points will be awarded.
    Regards,
    vinoth.

    Hi,
    ME_MAINTAIN_INFORECORD
    ME_UPDATE_INFORECORD
    ME_GET_INFORECORD_CONDITIONS
    ME_PRICING_INFORECORD.
    ME_DIRECT_INPUT_INFORECORD
    ME_POST_INFORECORD.

  • BDC Recording for 3 transactions in SD

    i need to cancel contracts using these transaction sequentialy i.e VF46 VF11and VF42 using bdc .how to go about it in recording for 3 transactions
    regards
    shankar

    Hi try this,
    Call one BDC after the another, Like if u want to create a sales order and then correspondingly display it as well, u can capture the sales order created afer ur first BDC theu the messages mostly in SYMSGV1 and using this u can do a call txn skip first screne of VA03.
    If u are talking about session, get 2 session names and move them to different sessions or if both txn are dependant on each other, move it one after the other thru call txn. It is the same, howmany ever trx u wabnt to post thru BDC.
    OR
    After your call transaction stmnt, check for sy-subrc = 0 and refresh bdc internal table.
    Populate the bdc internal table for the new trxn and then call the trxn using call transaction stmnt.

Maybe you are looking for

  • Drive sockets misaligned in MacPro

    I have misalignment problems in the drive bays of my a Quad Core 2.8 GHZ Macpro. There are four drive bays and it appears the e-sata sockets in the back of the machine are bent down slightly because they would not connect with the tabs on the back of

  • Application crashes after IOS 5

    Application crashes after installing IOS 5

  • Need Help with mysql admin for Mac

    Hello all. I am new to cold fusion and databases all together. Infact I am doing an online tutorial to get me started, my problem is the tutorial really just scratches the surface for the mac side and in some cases sorta explains how to do but no vis

  • Problem Printing to a Canon MX700 Printer

    I have a new Macbook Air (love it) and I want to print to my Canon MX700 printer. I have the driver properly installed on the MBA and I can print a test page to the Canon MX700 from the MBA. However, when I send an actual file to the printer, it neve

  • Ipad and iTunes 10

    I installed Itunes 10 in my PC (Windows XP Home Edition). Since then, when I connect my Ipad and the system crashes and the following error appear: "STOP: 0X0000007E). When I had the older version of iTunes, nothing happened.