Using Save_text for Billing Document

Hello,
I've created BDC program to create Billing Documents in SD. I will be required to use the function module "save_text" to upload the long text. However the long text does not get updated. I've tried calling the save_text and this time the long text gets uploaded. Does anyone know why this is happening?
Thanks
Gladys

This is my code. I've used the very same codes for creating sales order, delivery note and quotation and it works. Somehow it just doens't work for Billing document.
form save_header_text tables text_line using tdid.
  DATA : HEADER LIKE THEAD.
  data: v_function(1).
  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      INPUT  = record-billdoc
    IMPORTING
      OUTPUT = record-billdoc.
  header-tdname = record-billdoc.
  header-tdobject = 'VBBK'.
  header-TDID = record2-tdid.
  header-tdspras = 'E'.
  CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
  CLIENT                = SY-MANDT
      HEADER                = header
  INSERT                = 'X'
   SAVEMODE_DIRECT       = 'X'
  OWNER_SPECIFIED       = 'X'
  LOCAL_CAT             = ' '
IMPORTING
   FUNCTION              =  v_function
  NEWHEADER             =
    TABLES
      LINES                 = text_line
EXCEPTIONS
  ID                    = 1
  LANGUAGE              = 2
  NAME                  = 3
  OBJECT                = 4
  OTHERS                = 5
  IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

Similar Messages

  • Print Excise invoice in Series grp 111 using J1IP for Billing document 1234

    Dear Gurus,
    I have an issue in which I create Sales Document>>Delivery Document and after that if I save my Billing Document a message pops up like:
    Print Excise invoice in Series grp 111 using J1IP for Billing document 12345
    And Excise Invoice gets generated automatically without J1IIN, to which I can view in the display mode in J1IIN.
    I wish to Create Excise Invoice by using T Code: J1IIN not automatically.
    I have checked all the number ranges and search the forum extensively but couldnu2019t found a possible solution.
    Please help me!
    Regards,
    Ashu

    Hi,
    Create Excise Invoice Automatically
    Instructs the system to automatically create an outgong excise invoice immediately you create a commercial invoice or a pro forma invoice.
    The system creates the excise invoice in the background.
    Dependencies
    If you want to make use of this function, you must also define the default plant, excise group, and series groups in Customizing for Excise Duty, by choosing Business Transactions -> Outgoing Excise Invoices -> Maintain Default Excise Groups and Series Groups
    SPRO>Logistics General>Tax on Goods Movement>India>Basic Settings-->Maintain Excise Groups.
    Under the Outgoing Excise invoice tab there is a check box (Excise invoice during billing)
    Regards,
    Saju.S

  • Number Range (series) for Billing Document (F2) and Excise Invoice

    Hi All,
    I want to know how the number ranges / number series is defined for billing documents (F2) and excise invoice, for India business scenario.
    In India, the excise invoice is given to the customer so that he can the excise duty/ cenvat. This invoice acts as the Tax invoice (having all pricing elements apart from excise duty) against which customer outstanding is considered. That is, the payment due will be tracked against this Tax (excise) invoice.
    But in SAP, the accounts posting is done (customer a/c debited) when we creaate and post the billing document (type F2). Hence, the outstanding amount is tracked against the billing document created. This billing doc/invoice will have all the pricing components like price, discount, freight, etc apart from excise duty.
    The excise invoice is created separately....with ref to the above billing doc....for posting the excise duty.
    If the number ranges for billing document and excise invoice are different then it is difficult to trace the outstanding amount from a particular customer on the basis of excise invoice created in the system.
    Can somebody provide inputs/solution on this?
    Thanks indvance.
    Rgds,
    Amit

    Hi Saurabh,
    My question is not how to define number range for billing doc and excise invoice? i mean what procedure / tcode to be used for the same?
    My question is whether we need to define same number range for Billing doc (F2) as well as Excise Invoice.
    For example: number range 1000 to 1999  --- same for F2 and excise invoice....
    Lets say billing doc 1000 is created. Further, when we create excise invoice w.r.t. this billing doc....the excise invoice created will also need to be 1000. ....so that we can identify that against this excise invoice, we need to collect the payment from customer.
    If the number ranges for billing doc and excise invoice are different, then it is difficult for the user to trace the outstanding payment .....because genarally the excise is treated as Tax invoice by companies in India ...(so that the customer can claim the excise duty....when he purchases the goods from the company).
    Whereas the customer account is hit when the billing doc is posted .....hence i feel, we need to keep the same number range for billing doc and exice invoice.
    Hope the question/scenario is clear now.
    I would appreciate the inputs on the above, from the consultants/experts who have worked on SAP implementation projects in India.
    Rgds,
    Amit

  • No tax information exists for billing document

    Hi
    We have a problem. In our scenario, we create a service order followed by service confirmation and bill from service confirmation. All prices including taxes are maintained in r/3. prices and taxes are picked in the service confirmation also.
    When we create an invoice from crm (CRM billing), the correct price and tax is picked . But when we try to maintain billing documents, we get an error as follows.
    " No tax information exists for billing document 90000108-0000000010, condition type JIVC". Document are not getting posted to R/3.
    JIVC is the tax condition type created in r/3 and downloaded to crm. GL account determination settings have been maintained in CRM.
    However when i do a billing in CRM without tax, accounting documents are generated and hitting the right GL account. Also, when we do a billing in in r/3, the tax is hitting the right GL account.
    I have not maintained any TTE settings in CRM. Are TTE settings required at all in this scenario? If so could you inform what needs to be done.?
    We are on CRM 5.0 and R/3 4.7.
    Thanks and regards
    Bhaskaran

    Hi Bhaskaran,
    In CRM according to the taxes there r two ways of calculation,
    in ur scenario u r using the R3 billing so it according to downloading of condition types and cond records it will shows the taxes in the invoice
    if u r maining u need to call the TTE
    i hope u r with indian client if follow in backend
    check these settings in R3
    TAXINN (India):
    Following are the condition types:
    Define New Condition Type
    IMG > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define Condition Types > Maintain Condition Types (V/06)
    T.Code - Details of Condition Types
    V/06 – JIVP copy of JLST (A/R VAT Payable) & change condition category to ‘D’ & Access Sequence ‘MWST’
    V/06 – JIVC copy of JLST (A/R CST Payable VAT) & change condition category to ‘D’ & Access Sequence ‘MWST’
    OBQ1 - JIVP copy of JLST (A/R VAT Payable)
    OBQ1 - JIVC copy of JLST (A/R CST Payable VAT)
    Define Account Key JN6,JN7 & JN8 (T.Code: OBCN & also in SD)
    IMG> Financial Accounting> Taxes on Sales and Purchases> Basic Setting> Check & change setting for Tax Processing (OBCN)
    IMG> Sales & Distribution> Basic Function> Account Assignment / Costing> Revenue Account Determination> Define & assign Account Keys> Define Account Keys.
    and check the proper condition records r downloaded or not check middleware settings for that.
    If u r doing CRM billing i am not sure of indian client, as i know u need to do maintain the Pricing procedure in CRM also and u have to call the TTE
    Regards
    Manohar

  • How to see the change logs for billing document

    Dears,
    Could you please how to see the change logs for billing document.
    My client is using ECC 6.0 & if i use VF03 > Environment > changes > does not show the changes i had made.
    Thanks in advance
    Ranjan

    hello, friend.
    you should be able to see changes done after the initial creation and saving, by going thru Environment > Changes.  try it again, and this time make sure that changes were done to the billing document prior to posting to accounting.
    normally, when configuration of Billing is done correctly, there will be little or no instances of changing anything in the Billing document,  as saving the document after creation will post this to Accounting.  of course, inclusion of a posting block in the billing type will provide you the opportunity for changes. 
    regards.

  • Exit for Billing document

    HI ,
    I need an enhancement point for billing document creation.
    SAP uses FM RV_INVOICE_DOCUMENT_ADD to determine the invoice number using Function Module NUMBER_GET_NEXT.
    I need an enhancement point immediately after the standard SAP invoice number has been determined where I can put my own code and use

    Hi
    See in customizing (trx SPRO):
    Sales and Distribution->System Modifications->User Exits->User exit for billing
    Max

  • Text determination for billing document

    pls tell me text determination for billing document.pls tell me each and every phace for text determination for header billing document;
    when am creting text determination am getting so many problems,
    i saw in text form in header text,but i didnot get it in  out put invoice,
    pl send each and every phace of the text determinations,if possible send screen shots for text determination,
    its urjunt

    hi
    1) T-code VOTXN ,for the text object Customer>Sales and distribution>click the Text types-->create your 4 digit Text ID
    2) Come back to initial screen of this t-code and again selct the text object Customer-->Sales and distribution and click change. Select the text procedure and double click on the Text IDs in text procedure.Here you create a new sequence and select the 4 digit Text ID you have created initialy.
    3)Asign the Text procedure which you have selected in step2 and double click onText procedure assignment .Here you assign the Text ID to the Customer Accout group.
    4) In the customer master,sales area tab>Extras menu>text,Select the text which you have created now and enter text into it. and save.
    The text which you have created now ,can be used for multiple purpose(Ex.sales order,delivery,billing,pricing,inforecords,legal). for example in this case, You just want to display this text during sales order processing,then proceed as follows,
    5)T-code VOTXN ,for the text object Sales document>Header>click the Text types-->create your 4 digit Text ID.
    6) Come back to initial screen of this t-code and again selct the text object Sales document-->Header and click change. Select the access sequence and create new acces sequence(This access sequence is similar to that of in Pricing).Select this acces sequence and double click the access sequence for text ids.Here in the first column this is Serial no.second column is text object(This is the area from which text has to be refer.In our case we have created the customer Text object for sales and distribution area,so i.e.KNVV) and the next column is Text id,This is the id which we have created at customer text object for sales and distribution initialy,at step 1). The next column is partner function,it will identify for which parter this text has defined.Next 2columns are Languages(if you want to define for all langugage or specififed language),next column is for specified languge for partner function.if you have any requirement to be fulfilled you can create those requirements in the next columns or else leave blank,save and come back to text proceudure.id.
    7)Select the text procedure(for ex.01-Sales header) and double click on the Text IDs in text procedure.Create new entries Fill in the sequence and the text id which we have created for sales document-header(in step 5).There is a small check box in the 3rd column which is used whether the text should be refered or copied(this is used if you want to modify the text during the sales order processing or just dispaly the originail text as it is),next column is whether the text should be displayed while creating or it is not obligatory, last column is acces s sequce,this is nothign but the sequence which we have created in step 6) and save.
    8)in the final step assign the text proceudre id to the particualre sales order.

  • Pricing type in copy control for billing documents

    Hi Experts,
    In copy control for billing documents, there is a pricing type M - copy pricing elements, turn value?
    What is the effect of this pricing type?
    thanks

    Pricing type 'M' is used in copying control - billing document to sales document and in particular for sales document type 'RK' - Invoice correct request.
    Pricing type 'M' is used as 2nd pricing type to correct the field VBRP-WAVWR with +/- sign.
    So in short, for pricing type M, no prices are re-determined, but values are corrected with +/- sign.

  • Change Condition Record for Billing Document

    Hi All,
    I want to change the condition value(0) for billing document, if condition record statisfy some checks.
    Which user exit I have to use to change the condition records while saving the billing document.
    Thnaks
    Mugunthan

    Hi,
    You have to create a new VOFM pricing routine to change the value
    Thanks,
    Naren

  • External number range for billing document (Invoices)

    Hi guys,
    I have a requirement from one of client to implement external number range for billing documents.
    I can only see a provision for internal number range in customising for Billing document type.
    Please can you assist me with detailson how to set up external number range for billing documents (Invoices).
    Thanks, Felix

    Hi Felix
    I think the similar requirement is in Venezuela also.
    So pl. check the SAP Note 849438 . As per the note :-
    The solution is delivered in the indicated support packages. In case you can not implement the correspondin support package for your release immediately, please follow the procedure described below:
    1. In the Data Dictionary Editor (transaction SE11) please open the definition of domain J_1AOFFNREL, go to the fixed values and add value 'P' with description 'Number Assingment using Prenumbered Forms' in a position so that the possible values remain sorted alphabetically.
    2. In the Message Editor (transaction SE91) please go to message class ICC_CN and add the new message 837 with text '&1: Official doc. numbering is not available for delivery documents!'.
    3. If you are implementing the note in release 4.6C, please create the following function modules:
    o     OFF_NUMBER_LOCAL_ASSIGN_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_ASSIGN_TW
    o     OFF_NUMBER_LOCAL_NUMBERING_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_NUMBERING_TW
    o     XBLNR_BUILD_AND_SPLIT_VE in function group IDSDCNUTIL, and then copy the interface (all parameters and exceptions) of the function module XBLNR_BUILD_AND_SPLIT_PECL
    4. Implement the source code corrections as shown below.
    The following customizing actions should be also executed when the solution by delivered by the corresponding support package. If you applied the solution manually, then please use the IMG activities listed in the section Cross-Application Components -> General Application Functions -> Cross-Application Document Numbering -> Taiwan as a reference. After the installation of the corresponding support package the customizing node for Venezuela can be used.
    1. Enable the use of business place for country Venezuela as described in the OSS Note 726537.
    2. Define the necessary document classes and configure the document types you would like to get an official document number as relevant for official document numbering in the desired mode. Please check the OSS Note 571376 for some explanations about the meaning of the different settings.
    3. Define the necessary number ranges and intervals and assign them to the combination of company code, business place, document class and validity period. If you use the customizing activity for Taiwan, then please leave the prefix field empty.
    Regards
    Amitesh

  • How to determine number range for billing document based on company code ..

    Hi Friends!!
    can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
    Amit...plz help me!!

    Hi Amit,
    1. Define different Billing Document number ranges in  SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
    e.g.
    NO.  From number To Number    Current number  Ext
    A1   0930000000    0930999999
    A2   0940000000    0940999999
    A3   0950000000    0950999999
    2. Define a Ztable ZNUMB_RANGE as follows
    Comp. Code | Tax departure country | Billing Doc Type | Number Range
    100                IN                               F2                      A1
    200                IN                               F2                      A2
    200                US                              F2                     A3
    3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
    Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
    If found pass this number range value to us_range_intern.
    us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
    Let me know if you are clear.
    Thanks,
    Mandar

  • Number ranges for billing documents

    Our client has got 130 plants (105 are depots and 25 manufacturing plants) ) from which sales transactions are handled.
    There is a legal requirement that billing documents should have separate number ranges for a particular depot / plant. We have adopted the following method: -
    -  SAP standard number range object (transaction VN01),
    -  Customized table wherein we mapped billing document types, plant and number range object,
    -  User exit RV60AFZZ (Form Userexit_Number_range) to determine the number range during invoicing.
    We have consumed almost all of the possible number range object combinations (starting from AA to ZZ and 01 to 99) due to the huge number of plants.
    For the new depots, how to set up the number range objects for billing documents (example: is there any way by which this object can be made as three digits)?
    With best regards,
    S Viji

    We have not done such thing.
    But you can change it from 2 digit to 3 digit using access key. Which should be the last option.
    Look for option like creating customized number range object (instaed of using RV_BELEG which you are currently using). RV_BELEG is used for number ranges for Order, delivery in addition to billing. So the new number range object should also be able to provide number range for that.
    Also try make the current number = 0 of "consumed" no range and then delete the number range and recreate it (using VN01 or SNRO object RV_BELEG)

  • Number range for billing document..its urgent!!

    Hi Friends!!
    can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
    Amit...

    Hi,
    Look at object RV_BELEG in t.code snro. It  is the number range object for SD Documents. Click on Number Ranges and then Intervals to view the different number ranges and associated intervals.
    Now look at t.code 0vlk, which is Define Delivery Type. If you double-click on a delivery type BV it goes to more detail. See the field: "NR int. assgt.". This is the number range for delivery type BV.
    This number range will be used in any company code or tax departure country that this delivery type is used in.
    Regards,
    Shamma

  • Open several PDFs in the same Reader window using tabs for each document

    How do I open several PDFs in the same Reader window using tabs for each document?  I'm using Reader 11.0.03 and Windows 7.  

    That would be a nice feature!  Suggest it at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform - hopefully it will make it into Reader XII.

  • Can i use iCloud for pages documents iMac?

    can i use iCloud for pages documents iMac?

    Hi lmdavis72,
    It looks like you can.
    From "iCloud: Documents in the Cloud overview"
    You can download a document from icloud.com/iwork to your Mac or Windows computer, edit it, and then drag the revised version to icloud.com/iwork. It’s then automatically updated on all of your iOS devices. You can also drag an iWork ’09 (Keynote, Pages, and Numbers) or Microsoft Office (PowerPoint, Word, and Excel) document created on your computer to icloud.com/iwork.
    So it looks like it can go between iOS devices and your iMac.
    ivan

Maybe you are looking for

  • Urgent- using adobe flash player 10 to view files from a URL (in javascript)

    Hello I am trying to cereate a video search engine that retrieves and then plays videos. I have decided to use adobe flash player to play the given files, howver with no luck. I am successful at actually hosting the player in my html code, however, w

  • Making an interactive pdf with animations and a video?

    Hi Everyone, I'm working in InDesign CS6 and I've made a interactive pdf with swf animations, exported it to an interactive pdf and everything works great from the little animations to the page curl. Now, I would like to put a video in on one of the

  • Error message in 2006 screen

    Hi, when i am assing the quota in 2006 a screen with error message come just before the 2006 screen -- Error message --     "No validity Intervel for key 2  30  30 " regrdas rj

  • Absolutely can't publish to .mac

    like the title says, I just can't publish to .mac, I tried almost everything, and every time I get the following error: An error occurred while publishing file "/Web/Sites". Try publishing again later. I tried publishing from another user, new site f

  • Adding Greek & German language to R12

    Hi I am in the process of adding Greek & German language support to R12. But when I go to license manager>Langauages...I see all languages are disabled.,except American My present character set is US7ASCII & I login as SYSADMIN. Any help will be grea