Move Z fileds from Delivery to Billing document

Hi SD's,
We've added new Z fields to LIPS and now I would like to see these fields in SD Billing document.
Since I'm not used to work with SD I don't know how this is done, is it directly via Copy Control VTFL or do I've to do anything in between?
If it is via Copy Control can you tell me the steps I should fallow?
Thanks.
Regards,
BO.

First you need to add these fields to Billing tables VBRK if header / VBRP if line.
Then in the copy control (T.code)VTFL for your Delivery Type to Billing type
Header - Copying requirements include these fields in the routine. If you are using standard routine then copy it , rename it and then enhance)
If line item fields - then at line item copying requirements do the same as mentioned above.
You need ABAP resource to enhance these requiremnets.
Regards
Sai

Similar Messages

  • Copy text from outbound delivery to billing document

    Hi Gurus,
    Is there a way to copy a text from outbound delivery to billing document?
    I found text determination. It is only possible to maintain text from Sales to Billing.
    Thanks.
    Stéphane.

    Hi,
    Goto the T.Code "VOFA".
    Select your billing type.Details.
    Goto "Output/partners/texts" tab.
    Maintain the "Textdeterm. procedure" as the procedure same as your delivery.
    Anotehr way is goto the T.Code "VOTXN".
    Here click on "Delivery Header".
    Check the check box for "Reference".
    Regards,
    Krishna.

  • From which tables i would find the delivery and billing document field..??

    I need to create an ALV report which displays the following details in the output.
    Order No  Item No     Material     Order Qty     Item Category     Plant     Delivery     Billing Document     Sales Org     Dist Channel     Division     Created By     Created On      Changed On
    For(Order No  Item No     Material     Order Qty     Item Category     Plant) i took the fields from vbap and
    for(Sales Org     Dist Channel     Division     Created By     Created On      Changed On)i took the fields from vbak..
    From which tables i would find the delivery and billing document field related to sales document.??
    need help...
    Moderator message : Requirements dumping not allowed, thread locked.
    Edited by: Vinod Kumar on Mar 6, 2012 2:53 PM

    i am new to abap...so i dont have idea about sd table relationship.
    so please reply how to add delivery and billing doc in my coding below..
    *& Report  ZINAA_SD
    REPORT  zinaa_sd.
    TABLES: vbap, vbak, vbfa.
    TYPE-POOLS: slis.
    CONSTANTS: c_x TYPE char1 VALUE 'X'.
    TYPES:
            BEGIN OF st_vbap,
             vbeln TYPE vbap-vbeln,
             posnr TYPE vbap-posnr,
             matnr TYPE vbap-matnr,
             pstyv TYPE vbap-pstyv,
             kwmeng TYPE vbap-kwmeng,
             werks TYPE vbap-werks,
            END OF st_vbap,
            BEGIN OF st_vbak,
              vbeln TYPE vbak-vbeln,
              erdat TYPE vbak-erdat,
              ernam TYPE vbak-ernam,
              vkorg TYPE vbak-vkorg,
              vtweg TYPE vbak-vtweg,
              spart TYPE vbak-spart,
              aedat TYPE vbak-aedat,
            END OF st_vbak, 
           BEGIN OF st_final,
             vbeln TYPE vbap-vbeln,
             posnr TYPE vbap-posnr,
             matnr TYPE vbap-matnr,
             pstyv TYPE vbap-pstyv,
             kwmeng TYPE vbap-kwmeng,
             werks TYPE vbap-werks,
             erdat TYPE vbak-erdat,
             ernam TYPE vbak-ernam,
             vkorg TYPE vbak-vkorg,
             vtweg TYPE vbak-vtweg,
             spart TYPE vbak-spart,
             aedat TYPE vbak-aedat,
           END OF st_final.
    DATA:
          lt_vbap TYPE TABLE OF st_vbap,
          ls_vbap TYPE st_vbap,
          lt_vbak TYPE TABLE OF st_vbak,
          ls_vbak TYPE st_vbak,
          lt_final TYPE TABLE OF st_final,
          ls_final TYPE st_final,
          lt_fieldcat TYPE slis_t_fieldcat_alv,
          ls_fieldcat TYPE slis_fieldcat_alv,
          layout TYPE slis_layout_alv,
          lt_sort TYPE slis_t_sortinfo_alv,
          ls_sort TYPE slis_sortinfo_alv.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_vbeln FOR vbap-vbeln,
                    s_erdat FOR vbap-erdat.
    SELECTION-SCREEN END OF BLOCK b1.
    PERFORM select_data.
    PERFORM loop_final.
    PERFORM sort.
    PERFORM a USING:
          'VBELN' TEXT-002,
          'POSNR' TEXT-003,
          'MATNR' TEXT-004,
          'KWMENG' TEXT-005,
          'PSTYV' TEXT-006,
          'WERKS' TEXT-007,
          'VKORG' TEXT-008,
          'VTWEG' TEXT-009,
          'SPART' TEXT-010,
          'ERNAM' TEXT-011,
          'ERDAT' TEXT-012,
          'AEDAT' TEXT-013.
    PERFORM display.
    *&      Form  SELECT_DATA
          text
    FORM select_data.
      SELECT
       vbeln
       vkorg
       vtweg
       spart
       ernam
       erdat
       aedat
       INTO CORRESPONDING FIELDS OF TABLE lt_vbak
       FROM vbak
       WHERE vbeln IN s_vbeln AND erdat IN s_erdat.
      IF sy-subrc = 0.
        SORT lt_vbak by vbeln.
      ENDIF.
      SELECT
       vbeln
       posnr
       matnr
       kwmeng
       pstyv
       werks
       INTO CORRESPONDING FIELDS OF TABLE lt_vbap
       FROM vbap
       FOR ALL ENTRIES IN lt_vbak
       WHERE vbeln = lt_vbak-vbeln.
      IF sy-subrc = 0.
        SORT lt_vbap by vbeln.
      ENDIF.
    ENDFORM.                    "SELECT_DATA
    *&      Form  LOOP_FINAL
          text
    FORM loop_final.
      LOOP AT lt_vbap INTO ls_vbap.
        ls_final-vbeln = ls_vbap-vbeln.
        ls_final-posnr = ls_vbap-posnr.
        ls_final-matnr = ls_vbap-matnr.
        ls_final-kwmeng = ls_vbap-kwmeng.
        ls_final-pstyv = ls_vbap-pstyv.
        ls_final-werks = ls_vbap-werks.
        READ TABLE lt_vbak INTO ls_vbak WITH KEY vbeln = ls_vbap-vbeln BINARY SEARCH.
        ls_final-vkorg = ls_vbak-vkorg.
        ls_final-vtweg = ls_vbak-vtweg.
        ls_final-spart = ls_vbak-spart.
        ls_final-ernam = ls_vbak-ernam.
        ls_final-erdat = ls_vbak-erdat.
        ls_final-aedat = ls_vbak-aedat.
        APPEND ls_final TO lt_final.
        CLEAR ls_final.
      ENDLOOP.
      ENDFORM.                    "LOOP_FINAL
    *&      Form  SORT
          text
    FORM sort.
      ls_sort-spos = '01' .
      ls_sort-fieldname = 'VBELN'.
      ls_sort-tabname = 'LT_FINAL'.
      ls_sort-up = c_x.
      ls_sort-subtot = c_x.
      APPEND ls_sort TO lt_sort .
    ENDFORM.                    "SORT
    *&      Form  A
          text
         -->FNAME      text
         -->SELTEXT    text
         -->EMPHA      text
    FORM a USING fname TYPE string seltext TYPE string.
      IF fname = 'KWMENG'.
        ls_fieldcat-do_sum =  c_x.
      ENDIF.
      ls_fieldcat-fieldname = fname.
      ls_fieldcat-seltext_m = seltext.
      APPEND ls_fieldcat TO lt_fieldcat.
      CLEAR ls_fieldcat.
    ENDFORM.                    "A
    *&      Form  ALV
          text
    FORM display.
      layout-zebra = c_x.
      layout-colwidth_optimize = c_x.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       i_callback_program                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
        is_layout                         = layout
        it_fieldcat                       = lt_fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
        it_sort                           = lt_sort
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = C_X
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
        t_outtab                          = lt_final
    EXCEPTIONS
      PROGRAM_ERROR                     = 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.
    ENDFORM.                    "ALV

  • How send an  outbound delivery and billing document by FAX

    How send an  outbound delivery and billing document by FAX

    Hi,
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
    You have to create an RFC user for the RFC interface, so that you can receive messages in your SAP system. For each external communications system, create an RFC destination and a Node.
    You can add more systems, that is, create new nodes, even during operation. Since new Customizing settings may be necessary, you can branch directly from SAPconnect administration to Customizing (for example, to maintain the rules for recipient number adjustment).
    Outgoing messages are first stored in a queue. You have to schedule send processes so that the messages are sent from the queue to the external communications system. You can distribute incoming messages with inbound distribution using the recipient addresses.
    You can also change the default settings for confirmations of receipt in the Internet. You can specify a default domain to enable messages to be sent externally to users or objects to which no Internet address is assigned.
    The tools for monitoring and error analysis are available for monitoring sending. You can check the operating status of the external communication components in the SAP System and evaluate the send status of the documents. If errors occur, you can configure a trace that logs the processing of messages.
    An overview of the settings that you have to make in the SAP System in order to enable sending can be found in the documentation on External Sending in the SAP System.
    Hope this will help.
    Regards,
    Naveen.

  • Reverse/Cancel Outbound Delivery and Billing documents

    Hi all,
    My question is...How do you reverse/ Cancel Outbound delivery and billing documents and what will be the reversals in  Accounting document and how are they updated.
    Regards

    Hi,
    If billed delivery is to be reversed,  Then
    1. First cancel the billing with transaction code vf11
    2.Then reverse the PGI with the transaction code VL09
    3.Cancel or delete the Delivery in vl02n
    4.Delete the sales order.
    Accounting entries will be reversed by cancellation of the invoice and material movement will get reversed after doing VL09.
    Reward points if it is helpful

  • Text is not copying from delivery to billing

    Dear All,
    I have determined the text from delivery to billing corretly.
    but it is not copied from delivery to billing.
    Is there any settings in copy control kindly suggest.
    Best regards,
    ramesh

    Use T.Code VOTXN"
    Choose on Billing document - Header.
    Click on Change button.
    Select your text procedure.
    You can know your procedure by clicking on the tab Text procedure assignment.
    Click on Text ID's in Textprocedure.
    Select your text id.Check the tick mark under "Refer/Duplicate" field.
    And also check your access seqence
    For understanding/reference, kindly refer following SDN thread
    - Text Determination  Procedure  from Sales order to Delivery ,&Billing
    - Re: Copying Text from Sales to Sales Document
    Thanks & Regards
    JP

  • Field FKSTA- Billing status of delivery-related billing documents not getting updated

    Hi Experts,
    I have a requirement wherein I need to fetch the FKSTA - Billing status of delivery-related billing documents into the datasource 2lis_11_VASTI. I have checked a lot of threads on this topic but have not found a concrete solution yet.
    I have checked the settings in vov7 and vov8 and everything seems to be in place. I have also checked in table VBUP, when I filter based on field FKSTA = 'C', it shows me the outbound delivery document nos. But when I use the related sales document, it shows me blank values. VBUK as well doesn't show any values for field FKSTK.
    I would like to know how and where I can identify the 'billing status of delivery- related' document.
    I can see in VBUP table that if I enter the sales document no. related to the delivery document, it does not show the correct status.  I believe that the statuses should ideally get updated to the underlying VBUK and VBUP tables. Is there any way to update and align them?
    Is there a workaround, a similar field that i can use for datasource enhancement that will give me the correct values?
    Appreciate any help I can get on this as it is urgent.
    Thanks,
    AM

    Hi,
    You are correct that stauts is updated in table VBUK and VBUP.
    However, a sales order does not determine a billing status for delivery related billing, field
    VBUP-FKSTA is only determined for delivey.
    So, it is correct behavior that VBUP-FKSTA = BLANK when searching VBUP with
    VBUP-VBELN = sales order number.
    Just because of above reason, you will not find billing status field in VA03 -> goto header/item;
    you could only find billing status field for delivery in VL03N -> status overview.
    It seems that you are trying to find out sales orders that have been fully deliveried and fully billed, am I right? As far as I know, there is no directly table/field/tcode that could meet your requirement.
    You could consider following workaround:
    firstly, get a list of deliveries that have been fully billied(search VBUP with VBUP-FKSTA = C or search VBUK with VBUK-FKSTK = C);
    Secondly, using these deliveries to search table VBFA to find out related sales orders.
    Hope this helps.
    Best regards,
    Crystal

  • Creation of DMR and CMR from the archived billing document in EHP3 system

    Hi all
    I read somewhere that one of the functionality in EHP3 is we can create sales document like debit memo request and credit memo request from the archived billing document. I am working on EHP3 system only but i am not able to create the sales document. the system throws an error that billing document doesnt exist
    If any one of you have worked on such functionality kindly suggest me why its not happening here also let me know Is ther any customization required for the execution of this functionality in spro.

    > If any one of you have worked on such functionality kindly suggest me why its not happening here also let me know Is ther any customization required for the execution of this functionality in spro.
    I suggest you open that question in an SD forum together with the support package you run and if you have an industry solution or any business function sets activated or not.
    Markus

  • Creation of sales document (DMR, CMR) from the archived billing document

    Hi all
    I read somewhere that one of the functionality in EHP3 is we can create sales document like debit memo request and credit memo request from the archived billing document. I am working on EHP3 system only but i am not able to create the sales document. the system throws an error that billing document doesnt exist
    If any one of you have worked on such functionality kindly suggest me why its not happening here also let me know Is ther any customization required for the execution of this functionality in spro.

    hi,
    the help says:
    You can use this business function to further optimize your electronic Sales and Billing Processes.
    Electronic data archiving regulations result in a high volume of data for sales documents and require invoices to be archived at an early stage. You can integrate archived billing documents in your business processes more easily. Since you still have electronic access to archived invoices during the sales process, you can manage archiving without delay and execute further sales processes electronically.
    You can more efficiently use the rebate agreements from SAP ERP for your marketing activities. In particular, customers who use SAP CRM (Trade Promotion Management) with a large volume of data for campaigns, target groups, and product segments can define a custom-made logic for their rebate determination and thus avoid potential database problems.
    Integration
    To implement the logic for rebate processing in SAP ERP, you use the Enhancements for Rebate Processing Business Add-In (BAdI). For more information, see the Implementation Guide (IMG) under  Sales and Distribution  Billing  Rebate Processing  Business Add-Ins (BAdIs)  Enhancements for Rebate Processing .
    Prerequisites
    You have activated the Logistics: S&D Simplification (SD_01) business function.
    Features
    You can integrate archived billing documents in your business processes as follows:
    Create sales documents with reference to archived billing documents, such as credit memo and debit memo requests.
    Display archived billing documents.
    When you do either of these steps, the system first looks for the invoice in the database and then in the archive.
    For the sales employee, the processing steps are identical, regardless of where the sales document is stored. As soon as the sales employee processes an archived billing document, they see the relevant information in the message line as well as in the title of the function.
    For rebate processing, you can store your company's check logic in the interface of the Business Add-In (BAdI) Enhancements for Rebate Processing.
    So check if you have activated the business function.
    I hope this helps.
    Balazs

  • How to change Billing status of delivery-related billing documents?

    Hi Experts,
    Now I meet with the problem with the billing status.
    I want to create a billing reference delivery notes, but the billing staus of delivery-related billing docuemnts is  blank, I want to chage it to 'A' so as to create a billing refer to it.
    Can anyone give me some hint to make it true?
    Thanks a lot.
    Best regards,
    Chris Gu

    Hi,
    Billing status blank means, delivery is not relevent for billing. Check the deliver document, whether it has billing relevant items in it or not. To know the billing relevence, please check your item category definition.
    For delivery relevant billing, billing relevance in item category definition (VOV7 transaction) should be 'A'.
    A: Delivery-related billing document
    Billing is based on the outbound delivery. Billing status is only updated in the outbound delivery.
    Regards,
    Satya.

  • How to create Automatic Delivery and Billing documents immediate

    Hello,
    I want to create Automatic delivery and billing documnets immediate once I create a sales order.
    E.g I need to see in the Status Bar the delivery and billing document was created.
    Thank you in advance
    Your help is highly appreciated
    Alfaid

    Please search in sales forum.  Many times this was discussed there.
    thanks
    G. Lakshmipathi

  • Sales order, Delivery and Billing document creation

    Hello Experts,
    I am working on credit management and am in need of creating sales order, delivery and billing document.
    Can some one send me the screen shots or any doc which outlines order,delivery and billing document creation.
    Will award points definitely.
    Also what are the t.codes for these creation?
    Regards,
    Sriram

    Order Create:
    Transaction VA01
    Give the order type , If standard order use OR or ZOR, which ever is maintained
    Then give the sold to and press enter
    In the Items screen Give the material and quantity and press enter. This should be enough to create an order, if u need u can give order reasons...etc. Then save the Order. Note down the order number.
    Go to VL01N-
    and give the above order for which u are doing delivery, In the pick quantity enter the amount in the order and press enter. and make sure the delievry date should be the same in the Sales Order Schedule line- REquested delivery date. Save the document.Note down the document number
    Go to VL02N - Open the above delivery document and click on PGI - done
    Now go to VF01 and this should bring up the delivery document number., If it doesnt , give the delivery document number and hit enter. then save the document. Billing is done.
    Regards
    Sai

  • Incomplete Delivery and billing documents

    Hi guys plz tell me
    What is the Tcode to find out the incomplete Delivery and billing documents?

    Dear Santosh
    Incomplete deliveries can be seen by V_UC. There is no incompletion procedure in billing, it can only be blocked for credit or accounting. Release of block can be done by VFX3.
    Thanks
    Shuktiz

  • Copying control from Delivery to Billing

    Hi Experts,
    I created a new requirement for Copying control from Delivery to Billing. And it works in our develop server.
    But when I transport it to our test server, it dumps with message can not find the include which my new requirement in.
    But I go to SE38, there is the include.
    I really have no idea about this. Any advice will be a help.
    Thank you in advance.
    Richard

    Hi,
    Please follow the step mentioned below it will solve your problem.:::
    1)The first step for correcting this type of short dump is to execute the RV80HGEN utility  program to re-generate all VOFM routines. Unfortunately, running this program does not always solve the problem. executing RV80HGEN did not work.
    The output report for RV80HGEN denotes that all routines were activated, but the parent include was not repaired.
    2) Since RV80HGEN did not solve the problem, the next step is to manually regenerate the program index of the program that contains the VOFM routine. For billing data transfer routines, the program is SAPFV60C
    3) From the program editor, navigate using the menu to Utilities>Update navigation index.Executing this function will solve the problem.
    Hope your problem is resolved !!!
    Regards,
    Krishna O

  • Intercompany billing Delivery to Billing document

    Dear all,
    I have scenario intercompany billing process where in the proces as follows
    - customer billing is fine with 2 line items from different plants and i have 2 deliveries and i have 1 invoice
    - when it comes to intercompany billing with the delivery related system is not picking the first line item but it is picking the 2nd line item only.
    i need both the line items to appear in the intercompany billing document.
    i have checked the copy control in VTFL, my settings are as follows
    004  Deliv-related item               
    003  Single invoice
    can any body suggest me a solution, this is very urgent for me
    Thanks & Best Regards
    Naveen

    sorry my settings for the above scenario are
    015  Itm dlv.rel.IC bill         copy control
    001  Inv.split (sample)
    Thanks & Best Regards
    Naveen

Maybe you are looking for

  • Use of href="file:///... and href="afp:// links

    Mac OSX Server Apache and Safari 6.03 on Mountain Lion iMacs. I've got a simple .html file being served up by apache that has an <a href="file:///... link to a file outside the webserver root. From what we're seeing and researching, for security reas

  • Is my iphone dead?

    Hello there, i was wondering if anybody on here could help. About a week ago my iphone started being weird, at first it would say this accessory is not compatible with iphone, when there was nothing connected to it. Then it started switching home scr

  • [User home directory property not found.]

    Our Roaming Profile policy does not work but exits with the following error message in the log file: RoamingProfile Policy] "...[POLICYHANDLERS.RoamingProfile.ErrorInEnforcement] .... [User home directory property not found.] ...." We are running ZCM

  • HT1911 security questions

    how do i find the answers to my security questions? Apple has frozen my account and told me to ask this site for help? thanks!

  • A jdbc transaction error occur

    Hi Everybody A jdbc transaction error occur when I deploy the application on the server . Below is the stack trace #SAP J2EE Engine JTA Transaction : [03bfffffffd3a000ffffffc0]####Application [13]##0#0#Error#1#/System/Audit#Java###Exception #1#com.sa