Need to copy a custom field from sales order to billing document

Hi All,
I have a requirement, I need to add a new field in the sales order header part and even a field in the billing document, once i add this field up in both the documents in the header part i need to create a copy routine using the VOFM tran, can any body help me on what's the procedure to add a field in billing document and does the copy routine transfer the data ( Custom Field ) from Sales Order to the Billing Document, if yes can somebody help me with the procedure on how to and code of it.
solved it myself ....
Regards.
Message was edited by: seshi
        seshi

Hello,
Regarding item 1, is it in the region of the global links (ie logout, home, preferences, etc.)? If not, have you tried creating a link via personalizations to the region you wish to have the link displayed (item type = link, destination = fully qualified name of your .xml page/region?
Regarding item 2, you may have to create the custom subtab programatically using the controller for the region of the current subtab layout.
Regarding item 3, you can also add a submit button to the page button bar region via personalizations. You can then add any logic you want to the button in the controller for the page.
Hope this helps.

Similar Messages

  • User exit to copy the data from sales order to billing document

    hi everyone,
    Is there an user exit to copy the data from sales order to billing document?
    Regards
    Prabudh

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Copying Text From Sales order to Billing Document

    Hi all,
    I have searched all posts for my issue but found nothing so that i am posting this issue.
    I want to copy the Some text form sales order to billing document is there any cnfig to do this
    order is there any exit for billing in which i can write code to copy text from sales order to billing document.
    please provide me a solution.
    Thanks in adavnce.
    Vinod.

    Hi,
    Use the same t-code VOTXN to do access sequence assignment.
    When you choose text object Billing Doc (header/item), there is 3 folders in dialog structure:
    - Text procedure
    - Access sequence
    - text procedure assignment
    In the text procedure folder, select related text procedure, then assign the created access sequence to respective text id.
    Hope this help.
    Cheers,

  • Standard COGS cannot be Transferred from Sales Order to Billing Document

    I did a test in current client with the following steps:
    Create Sales Order for Configurable Material -> Execute Sales Order Costing Run, marked and Saved the result via CK51 -> Create Prodcution Order for such Sales Order -> Confirm Prod Order -> Conduct GR per the Prod Order -> Conduct Goods Delivery for the Sales Order-> Create Billing.
    (There is not any costing value during the whole process)
    There are many Value Fields in the CO-PA document regarding to this billing, the value of standard COGS items(including Material Cost, Period Machine, Variable Labor etc) are also included and their value are expected to be transferred from Sales Order. However,  in my testing, those COGS value failed to be transferred to Billing document. I am not sure whether there is any config related. (KEPC hs already been done in such case). Would any expert can help on that?

    en, It is solved now. Untick "Transfer aux. CC Split" in KE40, then the value can transported to billing.
    Edited by: Ying Zhu on Nov 18, 2008 1:10 PM

  • Copy Txt values of Text dertermination from sales order to Billing document

    Dear Forum,
    How can we copy a Text Determination proc from a Sales Transaction type to a Billing document.
    I have created a Text Determination proc for a Sales Transaction type..
    i.e
    Text Object: CRM_ORDERH (Transaction Header)
    Definition of Proc
    Text Object               CRM_ORDERH
    Text Det.Proc.           ZMODKIT
    Text Type                  ZPAY
    Sequence                  0002
    Access Sequence      ZPAY
    Transfer Type             Save reference only 
    In Access Sequence
    Ref. Object        CRM_ORDERH
    Ref. Object         Transaction Header
    Ref. Text Type    ZPAY
    Ref. Text Type    Payment Details
    Text Determination For Billing
    Text Object      BEA_BDH
    Text Det.Proc.   ZMODKIT
    Text Type        ZPAY
    Sequence        0002
    Transfer Type   Copy
    Access Sequence ZPAY
    Desc. Access    Payment Details
    In Access Sequence
    Text Object      BEA_BDH
    Access Sequence  ZPAY
    Sequence         0002
    Ref. Object     CRM_ORDERH
    Ref. Object     Transaction Header
    Ref. Text Type  ZPAY
    Ref. Text Type  Payment Details
    Scenario:
    i create a Sales order by enetering few details along with Text types.
    When i go for the billing
    1) SAP Menu> Sales> Billing-->Maintain billing due list..
    2) Enter Document no and process
    3) Go for Individual billing
    4) Select Text Tab
    The values entered into the Text Determination for a Sales Transaction type is not getting copied here.
    Please look into this problem and revert back...
    Regards,
    Nirav / Ankush
    022-6767 2087
    [email protected]

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Required Field which flowes from Sales Order to Billing Document at item

    Dear All,
    I required one field which i can enter in sales order at item level and that copies into billing document.
    Which field i can use.
    Regards,
    PM

    PM,
    YOu are using material group for analysis purpose. please check the config path:
    IMG --> LG --> Material Master --> Settings for Key Fields --> we have one "Define Material group" where you will maintain the initial Material group appearing in Material master.
    But what you require is Material group appearing in sales order item details screen. For that check
    IMG --> LG --> Material Master --> Settings for Key Fields --> Data Relevant to Sales and Distribution
    --> Define material groups
    Then we need to maintain Material group hiererchy for the materials then group all the materials then proceed accordingly.
    I tried but i didn't get.... i have not tried material group hierarchy
    Regards
    Sathya

  • Copy Pricing Conditions from Sales Order to Billing

    Hi,
    Is there anyway to copy pricing conditions for item level from Sales Order to Billing Document at the time of creation of Billing Document.
    Thanks

    This question is not on topic for the Web Dynpro ABAP forum and has been locked.

  • Sales order and billing document fields

    what are the fields for sales order and billing document dates?

    Hi
      Couldnt really get the exact requirement:
    1. If Billing Dates are to be extracted from Sales Documents, we can do that by extracting field <b>FKDAT</b> from table <b>VBKD</b>.
    2. If it is Billing Document creation date, extract from VBRK-ERDAT with below condition.
      select vbrp~vbeln vbrp posnr vbrp~aubel
             vbrp~aupos vbrk~erdat into table itab
             from vbrp as a
             inner join vbrk as b
             on vbrp~vbeln = vbrk~vbeln
             where vbrp~aubel in s_vbeln.  "Sales Documents
       Hope this gives you some idea.
    Kind Regards
    Eswar

  • VERSION FIELD FROM SALES ORDER NOT APPEARING IN COOIS REPORT

    DEAR ALL,
      I am working on make to order scenario. Version field from sales order not updated when im taking MRP Run for specific Sales order in COOIS Report. But when iam creating production order with T. COde CO08 field getting updated. Its very important to get vrsion field as we have maintain old sales order No. in same. How this problem will get resolved?
    Regards
    Atul

    Atul,
    "MRP run" does not normally create production orders, MRP creates Planned orders.  Planned orders do not contain Sales order version.   I have never used this field before, but I would not be surprised if the behavior you are describing is 'standard'.  When you create a production order using CO08, you are creating a 'production order with reference to a Sales order' (which contains Sales Version).  When you create a production order using, say, CO40 or CO41, or using a program such as PPBICO40 in Batch, you are creating a 'production order with reference to a Planned order', (which does not contain version).
    If it is imperative that you have the Sales Order version number in all production orders, you could see if Planning Strategy 82 (Assemble to order) production orders contain the data you seek.  Otherwise, I am afraid you will have to have your ABAPers write some custom code to update this field in the production order.
    Another way to get sales order data into the production order, that does NOT require custom code, is by using Item Texts in the Sales order.  Any text placed in the Sales Order Item Text Field Production Memo (Text ID 0006) can be configured to be duplicated automatically in the Production order in an MTO environment.  Production Memo then displays as another Tab in CO02.
    Regards,
    DB49

  • Function Module to fetch Customer Number from Sales Order or Process Order

    Hi Gurus,
    I am looking for a Function module which gives me customer number from Sales order or Process order.
    Please let me know of any FM's available.
    Regards,
    Madan

    Hi,
    Thanks for your response.
    I am actually looking for function modules which take "Sales Order" or "Process Order" as input (import parameter) and return Customer Number as output (export parameter).
    Please suggest some function modules you know any.
    Many Thanks,
    Madan

  • Variant configuration statistics of sales order and billing document

    Is there any transaction that allow me to get statistics from the sales orders and billing document for configurable materials ? (like VA05) better if using the values of the characteristics that make up the positions of order.
    Thera are any information from "Sales Information System" using LIS?
    Thanks.

    Hi,
    With LIS, we'll find different infostructures.
    See this link to configure LIS reports :
    http://help.sap.com/saphelp_47x200/helpdata/en/c1/375723449a11d188fe0000e8322f96/frameset.htm
    Using many infostructures before to see sales analysis.
    Another solution :
    In sales order (by user exit), copy characteristics in new fields in VBAP.
    Then, you can use these fields in VA05 (add user exit) or new ABAP report.
    Regards,
    Lionel

  • Regresion test flow of Sales order and billing document to CO-PA

    Hi
    In the regresion test we need to test the  sales order and billing documents values are flown to CO-PA are not.
    May i know the transaction codes to test this scenario
    Best regards
    Thomas

    Hi
    1. Your sales ordre will have a pricing procedure in it.. Pricing procedure has condition typess. for revenues and discounts. Did you assign cond types in KE4I to your value field?
    2. Also, if your pricing procedure has cond type VPRS, this will contain the COGS.... Assign VPRS also to a value field in KE4I
    3. Check If you did the settings in COPA for
    a. Select Valuation Strategy 001 in KE4U
    In DETAILS tab: Assign it to Appl = KE, Check Mat Cstng, and Qty Field = ABSMG
    In Assignment tab: Assigning 001 to Point of valuation 01 and Record Type = F
    b. Creating a costing key in KE40
    Check : Transfer  Std cost estimate
    Period indicator =Current Cost estimate acc to entry in mat master
    c. assigning costing key to material types in KE4J or KEPC and
    d. assigning Cost Comp Structure to Value field in KE4R
    Regards
    Ajay M

  • Sales order and billing document modify log

    Dear Gurus,
    I would like to know if there are any standard report with Sales order and billing document modifies by a user.
    I know that you can see modifies by going to VA03/VF03 -> Environment -> Changes. But this report is too poor.
    Thanks in advance.
    Best regards.
    Juan

    Tcode  AUT10  is the best one    Here, maintain From-To date and TCode and execute.
    thanks
    G. Lakshmipathi

  • Authorization for Change Conditions in Sale order or Billing document

    Good Morning
    In my scenario we have same pricing procedure for sale order and billing document. My requirement is to enter one condition manually in sales order.
    I want a specific user to enter this discount condition for a specific distribution channel only manually only in Sales order, not in billing document.
    Now here are some problems i am facing now.
    We have to make this for one user and for one distribution channel only.
    I can't use transaction variant to make condition tab in display because all users are allowed to enter freight condition manually at the time of invoicing.
    I have tried authorization object V_KONH_VKS but its not working. This is for maintain condition record not for entering in sales or billing document manually.
    Please suggest me is there any standard way to do this or should I go for ABAP?
    I prefer to do this with authorizations control. ABAP will be the last solution.

    I have a feeling that via PFCG,  this can be controlled and of course, with the object what you had indicated and Activity type.
    Create two roles one for maintaining manually in sale order and the other one for display.
    In one role, the activity can be 01 with TCode VA01 and VA02 and in the second role, the activity can be 03 with transaction VF01. Your basis guy should be able to do this so that the requirement can be achieved.
    thanks
    G. Lakshmipathi

  • Populating Customized fields in Sales Order Creation using BAPI

    Hi All,
    I have a requirement that, I need to populate 2 customized fields which are appedned in the VBAK tables through Append structure. I am using BAPI_SALESORDER_CREATEFROMDAT2 FM for creating it.
    Could anybody tell me how to send these 2 coustomized field values in this BAPI using EXTERNIN parameter.
    Regards
    Rajesh
    [email protected]

    Hi,
    To add data to custom fields there are two appraoches.
    <b>1)</b>Using the <b>EXTENSIONIN</b> in the Tables option in the FM <b>BAPI_SALESORDER_CREATEFROMDAT2</b>
    Check the Documentation for the same,
    <b>Customer Enhancement for VBAK, VBAP, VBEP</b>
    <i>Description</i>
    You can use this parameter to transfer user-specific enhancments to a BAPI. The customer has to complete the EXTENSION structure and the system automatically continues processing it. If you have not defined any user-specific fields, then you can transfer a blank EXTENSIONIN structure.
    <b>Technical information about Customer Enhancements</b>
    The following description uses an example to explain how to proceed with customer enhancements to the SD tables VBAK, VBKD, VBAP and VBEP.
    The customer has added their own fields to table VBAP using the INCLUDE structure CUTEST. This structure contains 2 fields:
    CFIELD1, CHAR 10
    CFIELD2, CHAR 3.
    The customer also requires that these two fields can be maintained with the BAPI.
    1. Maintain structure CUTEST in table VBAP
    2. Because the BAPIs work with checkboxes, you must also define a CUTESTX checkbox for the customer structure. It should be structured like this:
    Field name       Data element
    CFIELD1            CHAR1
    CFIELD2          CHAR1
    3. Define these customer structures in the structures VBAPKOZ und VBAPKOZX using INCLUDE or APPEND.
    4. Add the customer structures to the BAPE_VBAP and BAPE_VBAPX BAPI structures using the APPEND technique.
    5. Adjust the following structures for customer enhancements to table VBAK:
    a) VBAKKOZ
    b) VBAKKOZX
    c) BAPE_VBAK
    d) BAPE_VBAKX
    6. Adjust the following structures for customer enhancements to table VBEK:
    a) VBEPKOZ
    b) VBEPKOZX
    c) BAPE_VBEP
    d) BAPE_VBEPX
    7. Generally, the data should be added to the BAPI interface in the internal communication structures (VBAKKOM, and so on). There, you can process the data in the SD tables (VBAK, and so on).
    8. If the EXTENSIONIN parameter contains customer data, you must complete at least the key fields in the relevant standard parameters.
    <i>For example:</i>
    You want to change customer field VBAP-CFIELD2 for item 20 to "XYZ" in order 4711.
    The following entries are expected:
    Import:     BAPIVBELN-VBELN       = '0000004711'  Document number
                BAPISDHD1X-UPDATEFLAG = 'U'           UPDKZ for doc header
    Tables:     BAPISDITM-ITM_NUMBER  = '000020'      Item number
                BAPISDITMX-ITM_NUMBER = '000020'      Item number
              + BAPISDITMX-UPDATEFLAG = 'U'           UPDKZ for item
    You must complete the EXTENSION table as follows:
    STRUCTURE                          VALUEPART1       1234561234567890123
    BAPE_VBAP                       0000004711000020                 XYZ
    BAPE_VBAPX                      0000004711000020       X
    <b>Further Information</b>
    You can find more information in the BAPI programming guide in the chapter for enhancements to BAPIs.
    Notes
    You must complete the STRUCTURE field with the name of the relevant enhancement structure (BAPE_VBAK, BAPE_VBAP, BAPE_VBEP). You can complete the remaining fields with the append structures from the enhancement structures.
    At the moment, you can use the BAPI to store enhancements in the following structures:
    VBAK : An enhancement to header data requires an append structure to BAPE_VBAK and an enhancement to structure VBAKKOZ.
    VBAP : An enhancement to item data requires an append structure to BAPE_VBAP and an enhancment to structure VBAPKOZ.
    VBEP : An enhancement to schedule line data requires an append structure to BAPE_VBEP and an enhancement to structure VBEPKOZ.
    VBKD : If you are using an enhancement for header data, you must add an append structure to BAPE_VBAK. You also need to enhance structure VBAKKOZ. If it is for item data, you need to add an append structure to BAPE_VBAP. You must also enhance structure VBAPKOZ.
    If you also want to work with checkboxes, each X-structure must also contain an append structure.
    For example:
    A customer has created an order and wants to include the material long text (50 digits long).
    The EXTENSIONIN structure must be completed with BAPE_VBAP. Two fields have fixed definitions in this structure. These are in the VBAP host key (VBELN, POSNR). The customer sets up an append structure that contains field ZMAT50.
    Because the VBELN is normally blank when you create an order, the data can look like this:
    STRUCTURE   |BAPE_VBAP
    <b>2)</b> Create the Sales Document using the FM and when successfully craeted you will get the Sales Document No in the Export parameter <b>SALESDOCUMENT</b>.
    After its created and Committed using <b>BAPI_TRANSACTION_COMMIT</b> , do a <b>BDC</b> recording for the same to (<b>VA02</b> Change Sales Order) update the fields only and save the document.
    Regards,
    AS

Maybe you are looking for

  • How do I protect a Time Machine back up from being automatically deleted during new backups?

    Hi, any help would be appreciated. I used an external hard drive Time Machine backup to restore my music and photos after losing nearly everything during an update.  I followed the instruction from Apple Support and turned on TM so I could enter and

  • Starting of oracle application server from the console.

    D:\>cd or* D:\Oracle>cd j2* D:\Oracle\j2ee>cd home D:\Oracle\j2ee\home>java -jar oc4j.jar java.lang.NoClassDefFoundError: com/sun/tools/javac/Main Exception in thread "main" 2006-08-08 16:24:50.812 ERROR J2EE EJB3027 [system] A n error occured deploy

  • Regarding generating levels in the parent-child relationship--- using BODS

    Hi Experts, I got a problem in generating the level for the child attribute at which it stands in the hierarchy. I have 2 columns in my input file one for parent_no and other for child_no. I need to generate the level of the child_no in the total hie

  • Status bar in CS4 doesn't show print preview

    Hi, From what I've seen, not too many people used that... but I just noticed that Photoshop CS4 lacks a feature present in previous versions... In CS3, for example, we could click on the Status bar to get a preview of the printed dimension of our ima

  • Bluetooth suddenly broken?

    two days ago, my phone started doing this thing: when it automatically locked, it would stop connecting to my wireless and when I opened System Prefs, it wouldn't load and then System Prefs would crash. I was unable to turn the phone off (the lock bu