How to create Document total in footer

Dear all,
     Anyone plz tell me the code for document total which is calculated from matrix line total
Regards,
Guru

Hello Vijay,
could you specify your question a little bit more.
Document total are a sum of the ((lineTotals + DocumentsFreight) - Documentdiscount) + VAT
HTH
Regards Teun

Similar Messages

  • How to create document in process chain

    Hi,
    can u plz tell me how to create document in process chain and wat i need to edit the text for particular info package when document.

    Hi Anil,
    Goto Tcode:RSPC and select your load data process type where you have to right click on the process chain and select Select create message,there are three types of messages
    1>Successful
    2>Error
    3>Always
    If you already created message then go to maintain message
    Where you have two buttons
    1>is for Edit Document
    2>Maintain Recpiants
    Goto Edit Document and put your comment and set their mail address in Mail recipiants.
    Note there are 2 types of messages you can kept at execution of infopackage process type.
    If load is successful send the mesaage to recipients
    If load is failed send the message to mail recipt.
    It would help you.

  • How to create Document / Literal WSDL with axis 1.3

    Dear All,
    1. How to create Document / Literal WSDL from java interface ?? or how to create Java 2 WSDL using Document/ Literal.
    2. from document/literal WSDL to java classes(stub, skelton, serivces).
    I am using Axis 1.3 , tomcat-5.5.20 and eclipse.
    Please provide the command and arguments for java2wsdl and wsdl2java for doc/lit.
    is there any tool that help to generate java2wsdl and wsdl2java for doc/lit.

    That would be the <web-service> element in the web-services.xml file, of course.
    "Michael Wooten" <[email protected]> wrote:
    >
    Hi Rich,
    Try adding a style="document" attribute to the starting <web-service>
    element.
    The might be a way to get <servicegen> to do this for you, but I haven't
    found
    it yet :-)
    Regards,
    Mike Wooten
    "Rich Muth" <[email protected]> wrote:
    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried
    this yet
    - Is there another mechanism?

  • How to hide document total amount

    Hi all,
    does anyone know how to hide document total amount in Delivery form?
    thanks

    Hi Fransisca,
    you can hide in Total amount in that table by clicking form settings then select table format and uncheck total amount and click ok.This is possible upto my knowledge and i dont have any idea about to hide in hearder level.
    Edited by: Preme on Dec 29, 2007 10:30 AM

  • How to create document in portal

    Hi All,
    I am new to portal development.
    Please tell me how to Create a Document with the permission defined in Access Control List.
    Your answer will helpfull in my development work.
    Thanks

    Hi All,
    I got the way to create the Permission on a resource for the specific user.
    // returnResourceInfo is of type IResource on which the permission need to create.
    // Get the Acl Security manager.
    IAclSecurityManager aclSecurityManager = (IAclSecurityManager) returnResourceInfo.getRepositoryManager().getSecurityManager(returnResourceInfo);
    // Get the resourceAcl manager.
    IResourceAclManager resourceAclManager = aclSecurityManager.getAclManager();
    // Get the resource Acl
    IResourceAcl rACl = resourceAclManager.getAcl(returnResourceInfo);
    if(rACl == null)
    rACl = resourceAclManager.createAcl(returnResourceInfo);
    IUMPrincipal userPrinciple = WPUMFactory.getUserFactory().getUser(user);
    // user is the id which is avaliable in the portal and for whom the Permission need to create.
    rACl.addEntry(resourceAclManager.createAclEntry(userPrinciple,false,               resourceAclManager.getPermission(IAclPermission.ACL_PERMISSION_READ),0));
    Edited by: Lokesh Malik on Nov 13, 2008 12:20 PM

  • How to create Schema Header and footer with Pipe delimiter file..?

    Hi all,
    I have issue with creating Schema Header and footer with body file ..The file format is Pipe delimiter.. The follwing file below like is...
    Adapters:File Adapter(Read)-11g.
    1|000|2025|SDFG|54787
    1|2055|244|9566|000|000|044|2577|361147|45554|wweqw|52555|564|000|647|464
    1|2027|344|4566|000|000|044|8577|361147|45554|wweqw|82555|564|000|647|844
    1|2024|444|6566|000|000|044|9577|361147|45554|wweqw|12555|564|000|647|544
    1|2023|544|8566|000|000|044|5577|361147|45554|wweqw|52555|564|000|647|442
    1|2022|644|3566|000|000|044|7577|361147|45554|wweqw|02555|564|000|647|448
    1|0000|546|25544|454
    If you have sollution for this, please help me out..Thank you.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • How to create a Total in a string column with link?

    I have a VO which has a column varchar2 with numbers. When it is Zero it has a '#'. I need to create a total over this column. I created a class with a static method to convert string in number. The problem is, I dont know where and how I should interact this class with the VO Row methods. If it is in the RowImpl of this VO or VOImpl or AMImpl. My ideia is create an item on the region to show this total and set a URI to another page based on its value. Another question is where and how can I get this total and put on the item on the page. I think it should be in the CO of the page but I still dont know how.
    I dont want to create a VL because I dont want to reexecute the same query just for totals since I am getting each value and showing them... Am I complicating this task?
    Im using jdev 9.0.3.5
    Thank You All in Advance

    Thank You!!! I started the firsts steps of your idea. And now I have more question. :-)
    I have a situation. In my VO I already have an VOImpl that is called by AM.
    I'm using this class in order to add some conditions to my VO WHERE clause.
    Now I created the VORowImpl class to my VO and I put a System.out.println
    just to see each value of the column that I'm supposed to sum.
    What surprises me is, the output has the column values printed twice in the Log Window.
    For example: 1,2,3,4,5 and start again 1,2,3,4,5, but the result on the page is correct.
    Is this happening because I have VOImpl and VORowImpl? Im afraid my total be 2x its value if I sum them in VORowImpl.
    Another question is where I should code total = total + column;?
    In the VORowImpl or VOImpl or AMImpl?
    What I didnt understand is how VORowImpl is called. I can't see any calling in AM in
    a way that I take the advantage of VORowImpl interaction loop and sum to another variable in each interaction.
    Thanks Again

  • How to create document type ?

    Hi experts
    We need assign document type to mateiral in material master. So we need create new document type background. How to create it ? Does it just copy one doc type from spro-> cross application componets-> document management-> define document type?  It seems it will also copy the following screen setup .... but dont' know anything else need be setup ?
    Thanks
    Alice

    Hi Alice,
    You have create document type from
    spro-> cross application componets-> document management-> define document type
    There are already standard document types available. You ca use that or copy and create new types and assign it on the material master.
    Thanks and regards
    Murugesan

  • How to create document whenever we enter F1

    hi guru.
    actually whenever we click f1 , we get the the regarding documents.
    how to create this things.
    is this possible by the help of se11 , we can create our document.
    with best regards.
    asis.

    creation of data element short text answers ur question

  • How to create Document Structure for existing project in Solution Manager

    Hi gurus
    We have all the project document saved using Solution manager . we have ended with Phase1.
    We are starting Phase2 and they are asking me to creat different folder as Phase to in existing project and store all the Documents
    Can any one please tell me how to create New folder and store the documents in Existing project
    Point will given for helpfull Answer
    Thanks
    Bhaskar

    Hi Bhaskar,
    Assuming you have full authorisations, the procedure is simple.
    Please go SOLAR_PROJECT_ADMIN transaction.
    From the menu please select Project -> Copy
    In the ensuing screen, key in your desired project name, scroll through the other checkboxes to see if you are happy with the default choices; if not, take corrective actions.
    In the last set of radi buttons "Desired behaviour at later version comparison", the default choice (2nd entry there - Adjust target project to the original of the source project) is fine.
    From your scenario, since you do not have a Template -> Implementation Project functionality and instead are copying from one Implementation to the other, this radio button is of little consequence.
    Execute the process.
    In the window that comes up, please choose Local Object, assuming that you do not want to capture the whole contents into a 'Transport'. This is more required if you are aiming to copy the project from one SolMan instance to another.
    It would give an information message "Generating in batch job (Name ......)
    In a few minutes, you'd receive an intimation of the Project being copied.
    That's pretty much about it. Have a check on the newly created project in SOLAR01.
    Please let me know if you have any doubts.
    Best regards,
    Srini

  • How to create document/literal web services with WLS7

    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried this yet
    - Is there another mechanism?

    That would be the <web-service> element in the web-services.xml file, of course.
    "Michael Wooten" <[email protected]> wrote:
    >
    Hi Rich,
    Try adding a style="document" attribute to the starting <web-service>
    element.
    The might be a way to get <servicegen> to do this for you, but I haven't
    found
    it yet :-)
    Regards,
    Mike Wooten
    "Rich Muth" <[email protected]> wrote:
    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried
    this yet
    - Is there another mechanism?

  • How to get document total

    Hai,
    i added two rows in matrix.
    now i want total of these two rows in the total in the document total field.
    thanks & regards

    hi,
    yes it is user defined form and user defined martrix,
    i write this code but it was not getting.
    #Region "Claculate"
        Sub calculate(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent)
            Dim oMatrix As SAPbouiCOM.Matrix
            Dim oEdit As SAPbouiCOM.EditText
            Dim i As Integer
            Dim total As Integer
            Dim val1 As Integer
            total = 0
            objForm = objMain.objApplication.Forms.Item(FormUID)
            oMatrix = objForm.Items.Item("29").Specific
            For i = 1 To oMatrix.VisualRowCount
                oEdit = oMatrix.Columns.Item("V_8").Cells.Item(oMatrix.VisualRowCount).Specific
                val1 = Val(oEdit.Value)
                total = total + val1
            Next
            Dim one As SAPbouiCOM.EditText
            one = objForm.Items.Item("32").Specific
            one.Value = total
        End Sub
    #End Region

  • CRM: How to create document flow

    Hello together,
    In the process framework I defined a new process which can be started from a sales qutotation. This process loads my own compentent where the user can upload technical objects (such as connection objects or points of delivery) and create a new object set (IsuOrderBasketSet) with the uploades technical objects.
    The requirement is to link the quotation with the created object set and vice versa so that the user can see the object set in the quotations assignment block "transaction history" and the qoutation in the object sets assignment block "transaction history".
    Does anybody know how I can meet this requirement?
    Thanks in advance,
    Sebastian

    Hi,
    I found a solution using the following Code. I have successfully created a document flow between two quotations:
        DATA guid_a TYPE crmt_object_guid.
        DATA guid_b TYPE crmt_object_guid.
        DATA: it_activity_h TYPE crmt_activity_h_wrkt,
            ls_activity_h LIKE LINE OF it_activity_h,
            it_requested_objects TYPE crmt_object_name_tab,
            ls_requested_objects LIKE LINE OF it_requested_objects,
            it_orderadm_h TYPE crmt_orderadm_h_wrkt,
            ls_orderadm_h LIKE LINE OF it_orderadm_h,
            it_doc_flow TYPE crmt_doc_flow_wrkt,
            ls_doc_flow LIKE LINE OF it_doc_flow,
            it_header_guid TYPE crmt_object_guid_tab,
            ls_header_guid LIKE LINE OF it_header_guid.
      DATA: it_activity_h_comt TYPE crmt_activity_h_comt,
            ls_activity_h_comt LIKE LINE OF it_activity_h_comt,
            ct_doc_flow TYPE crmt_doc_flow_comt,
            ls_doc_flow_comt LIKE LINE OF ct_doc_flow,
            ref_guid TYPE guid_16,
            lt_doc_link TYPE crmt_doc_flow_extdt,
            ls_doc_link LIKE LINE OF lt_doc_link,
            ct_input_fields TYPE crmt_input_field_tab,
            ls_input_field TYPE crmt_input_field,
            ls_input_field_names TYPE crmt_input_field_names,
            log_handle TYPE balloghndl.
      DATA: lt_return TYPE TABLE OF bapiret2,
            ls_return LIKE LINE OF lt_return.
       guid_a = '0026B98B6AD11ED2B9F49BA972EC069E'
      guid_b = '0026B98B6AD11ED2B9E27FFF042682F6'
      REFRESH it_header_guid.
    * Append GUID_A to Header GUID Table
      APPEND guid_a TO it_header_guid.
    * What should we read
      ls_requested_objects = 'ACTIVITY_H'.
      APPEND ls_requested_objects TO it_requested_objects.
      ls_requested_objects = 'DOC_FLOW'.
      APPEND ls_requested_objects TO it_requested_objects.
    * Read Activity A
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid       = it_header_guid
          it_requested_objects = it_requested_objects
        IMPORTING
          et_orderadm_h        = it_orderadm_h
          et_activity_h        = it_activity_h
          et_doc_flow          = it_doc_flow.
      LOOP AT it_activity_h INTO ls_activity_h.
        MOVE-CORRESPONDING ls_activity_h TO ls_activity_h_comt.
        APPEND ls_activity_h_comt TO it_activity_h_comt.
      ENDLOOP.
    * Fill DOC_FLOW Structure
      ls_doc_link-objkey_a   = guid_a.
      ls_doc_link-objtype_a  = 'BUS2000115'."BUS2000126'.
      ls_doc_link-objkey_b   = guid_b.
      ls_doc_link-objtype_b  = 'BUS2000115'.
      ls_doc_link-vona_kind  = 'A'.
      ls_doc_link-reltype    = 'VONA'.
      ls_doc_link-brel_kind = 'A'.
      APPEND ls_doc_link TO lt_doc_link.
      CLEAR: ls_doc_flow_comt.
      ls_doc_flow_comt-ref_guid   = guid_a.
      ls_doc_flow_comt-ref_kind   = 'A'.
      ls_doc_flow_comt-doc_link[] = lt_doc_link.
      APPEND ls_doc_flow_comt TO ct_doc_flow.
    * Fill INPUT_FIELDS which indicate what Values where changed
    * and had to be updated
      ls_input_field_names-fieldname = 'OBJKEY_A'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'OBJTYPE_A'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'OBJKEY_B'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'OBJTYPE_B'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'VONA_KIND'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'RELTYPE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'BREL_KIND'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'BREL_MODE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'RELATIONID'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'RELATION_HANDLE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field-objectname = 'DOC_FLOW'.
      ls_input_field-ref_guid = guid_a.
      ls_input_field-ref_kind = 'A'.
      INSERT ls_input_field INTO TABLE ct_input_fields.
    * Update Document Flow
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        CHANGING
          ct_input_fields   = ct_input_fields
          cv_log_handle     = log_handle
          ct_doc_flow       = ct_doc_flow
        EXCEPTIONS
          error_occurred    = 1
          document_locked   = 2
          no_change_allowed = 3
          no_authority      = 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.
      DATA: it_saved_objects TYPE crmt_return_objects.
    * Save Changes
      CALL FUNCTION 'CRM_ORDER_SAVE'
        EXPORTING
          it_objects_to_save   = it_header_guid
          iv_update_task_local = 'X'
          iv_save_frame_log    = 'X'
        IMPORTING
          et_saved_objects     = it_saved_objects.
    * Commit Changes
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait   = 'X'
        IMPORTING
          return = ls_return.
    Regards,
    Saravanan.C

  • How to create a total row in a DynPro table ?

    Hello,
    I've created a standard table in DynPro which consist two lines: One indicating a certain count and the other indicating a certain amount. I would like to create at the end of the row a total row which will sum it's relevant column. How can I do it without summming each row manually at the code and how do I add another row at the end which will indicate the total?
    Roy

    Hi Roy,
    Refer this tutorial for calculating the total in the WD table
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/developing with tables in web dynpro.pdf
    Regards,
    Jaydeep

  • How to create running total in Analysis

    Hi Experts,
    How can I create a running total in Analysis?
    below is the scenario:
    Account - - - - Quantity
    ACCT1 2
    ACCT2 4
    ACCT3 6
    ACCT4 8
    I need to get the total count for Quantity Column and the total count should be display in the Analysis (20 should be display)
    Thanks,

    HI,
    We have a option in the pivot view properties to display the sum/total at the end/first....You can Use that.Else you can aslso use the Running aggregate functions in the fx tab.
    Edit--->pivot view properties-->columns--->summation symbol is there--->Place the total as you like.
    mark if helpful/correct...
    thanks,
    prassu

Maybe you are looking for