How to include the ordinary program in the BOR object type program

Hi Guys, while i am trying to include a program in the BOR object type program. It is showing the following error:
"Statement 'INCLUDE Z_ERC_SEARCH_VALOFACT_MACRO .' is not permitted in BOR".
then, i tried to add  "<" and ">" to enclose it, but it wants the access key to create it.   anyone knows how to add the ordinary program in the BOR object type program.

It's correct that we CAN'T insert our INCLUDES in BOR program. We CAN only use TYPE-POOLS there. So you can create Type Group with TYPES, CONSTANTS and DEFINE statements, and then use them in BOR programs.
Using DEFINE you can construct MACROs with parameters and call your code there. It's limited, and not the easiest way, but some things can be achieved this way. Also forget about using Code Patterns while editing Type Group.
Note: Use TYPE-POOLS statement after INCLUDE statement in BOR program .
Best regards,
Tomas.

Similar Messages

  • How to include in table of contents the list of figures and list of tables?

    How to include in table of content the "Table of contents", "List of figures" and "List of tables"? All are generated with function Table of contents, but they will not appear in generated table of contents even if they have proper style of headings - Heading 1, as other chapter.
    I get this in generated Table of contentes of my dissertaion thesis:
    Table of contents
    Preface
    Table of contents <- missing
    List of tables <- missing
    List of figures <- missing
    Introduction
    Main
    Conclusion
    Is it ok, that generated lists are not included in table of contents?

    You've just confused me.
    My understanding of how this is set up is that either:
    This is a book, and there is a master TOC that includes all book documents and a document-specific TOC in each component file, or
    This is a single file and there is one master TOC that includes all sections and a section-specific TOC that includes only the individual section.
    In the first case, I think you would want two TOC styles set up, one that includes the chapter heads (if I understood how you said this worked) for the for the master, and you would include all docs in the book when you generate it, and a second style for the individual chapters, with the subheadings you want to include.
    In the second case, it would be similar, but instead of only one style to cover the section TOCS, I think you would need to create a unique set of pargraph styles for the headings in each section (they can all be the same format, based one section, just with unique names), and then make a TOC style for each section that includes only the styles from that section.
    OK,  wait a sec. I just reread what you said: "Another thing: when the numbers are "linked" and updating well, they  display indide a little box. Not a text box, but a kind of little frame  around the numbers. That frame makes it imposible to delete just one  number: when the TOC says that Section 6.1 is in page 135, for example,  you cannot delete just the 5, it deletes, not just the 3 numbers, but  also the doted tab."
    I think these are NOT normal TOCs created by using Layout > TOC (but you could replace them with ones that are, if you set up your styles properly and the text you want to include is appearing on the pages). Those little boxes you mention sound like cross-references, which should update automatically without any intervention at all. Unfortunately, cross-refs can be flakey, especially if they point to another document. I'd open the cross-refs panel and see if you need to recreate a bunch of links.

  • Article: Object-flow Programming - Merging Dataflow and Object-Oriented Programming

    I just posted an ExpressionFlow article:
    Object-flow Programming - Merging Dataflow and Object-Oriented Programming
    I guess you may find it interesting. If you like it, you should
    bookmark it with one of the social bookmarking tools (click the
    bookmark link next to the timeline image in the article). That may help
    us to get readers and comments from outside the LabVIEW community. And
    don't hesitate to participate the discussion. I'd love to hear you
    comments on the subject.
    Tomi
    Tomi Maila

    After having problems with spam block software malfunction, I was able recover the following comments to the EXPRESSIONFLOW article Object-flow Programming - Merging Dataflow and Object-Oriented Programming
    Written by Zen:
    Some combination of data-flow and object-oriented programming, I think,
    could make a great impact on sysytem development.  However, I see it in
    slightly different way than yours....
    Written by Matt Holt:
    I don't believe NI can get object-flow programming to move far enough
    into mainstream that Forbes would cover it. NI has a bit of a
    stranglehold on LabVIEW with it's price as compared to say… VS2005. It
    seems that by promoting it as "easy to use" that NI may have shot
    itself in the foot….
    Written by Jim Kring:
    Hi Tomi, In my opinion, LabVIEW's native object-oriented programming
    capabilities (LabVOOP) do not currently provide a complete tool for
    allowing us to implement our OOP system designs.  Nearly all of my
    system designs require distributed active objects by reference. I think
    that National Instruments certainly can evolve LabVIEW to address such
    requirements, but I think that it is not a real focus of NI....
    If anybody else is missing their comments, I'm sorry I was unable to recover them. Please repost your comments, I appology for the inconvenience.
    Tomi Maila

  • How to include WS-Security Header in the WSDL

    hi
    how to include WS-Security Header which have username and password as
    i had seen the below link it deals with just hello world which is not using any Services(DBAdapter) is it possible to use DBAdapter as the steps present in the below link how to include WS-Security Header which have username and password
    http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html

    As Amir suggested, you may provide in the URL but I wouldn't suggest it though. You don't want to hard code the user ID and password within in the WSDL because it is a bad practice especially the user ID and password may be different in different systems and every time you change the password, you have to regenarate your WSDL.
    May be you thought through this but just in case if you didn't
    KK

  • How to include non database item in the query

    Hi
    I have a Master-Detail form. where in the detail block one of the field is text item 'X' attached the list of values(Y). Master block includes non database items which is based in the decoding result of the database items for example:
    Gender(Male, Female)>> non database item
    Gender_id(M,F)>>database item
    the form is created based on the template.fmb form for apps. When I run the form in the query mode, i can query about any database item while including query about others non database item does not affect.
    how to can i modify it so this could be handled??
    I know that one way to avoid this issue is to create a view with all my desired field.
    but there should be away to override the build in query used by oracle apps...
    any one has a link, source, document... etc that help on this??
    any idea how to do it without creating a view??
    thnx alot

    Hi HST,
    You can code the handling in POST-Query of the corresponding block to retrive the corresponding data depending on the Queried data.
    Regards,
    Kiran

  • How to include a response element in the ESB database adapter.

    hi,
    i am using the dbadapter to insert the data into the table successfully.
    The problem is when i am using a db adapter it doesnot include a response element in its wsdl.I want to send a response to the client as and when the data got inserted from the dbadapter for that transaction.
    i tried using the pl/sql procedure with a out parameter which returns the response but the problem is the pl/sql is called by adapter only once though i am using for each constructor.
    i tried to modify the xsd generated by the dbadapter by including the response element,but the xsd is not getting parsed and throwing error.
    how to overcome this problem and send a immediate response to the client as and when the adapter inserts the data into oracle?
    thanks in advance.

    Although not the cleanest solution, but can't you create another routing service which defines a request (equal to the request element of the original routing service) and reply element (defining a single element called success or something).
    Then have this new routing service invoke your original routing service which invokes the database adapter. Now define a XSLT map for the reply of the new routing service and put an XSL text there with the value "success" or something?
    So:
    Routing_service_new --> Routing_service_original --> database_adapter
    Regards, Ronald

  • How to include original message body in the reply to a workflow notificatio

    Hi,
    I have a requirement from my clients.
    Standard Functionality: When a Manager clicks on the APPROVE (button / link) to approve a workflow notification from a mailing application, a (response) mail gets composed to the Workflow Mailbox with the NID and Access Key. The content as shown below.
    ===========================
    Action: 'Approve'
    Comments: ''
    NID[3699/874478985@WFMAIL3]
    ===========================
    Requirement:
    The requirement is that, when the Maanger clicks on Approve / Reject, the original message body also has to get populated into the response mail along with the NID and Access Key.There would be audits conducted(looking into the workflow mail box) on the approval / rejection decisions taken by the users. The intention of getting the originial message body is to identify, to which notification(or letter) this action was taken. Me, being a Technical person can get it from the Notification Id in the workflow mail box, but the people conducting the Audit cant identify that. So, I need to get the original message body into the response. This is the reason for the requirement.
    Actually, I dont need the whole message body, but the value in an URL attribute, which is one of the SEND attributes of the notification in question.
    fyi, It is a VOTING ACTIVITY and hence, I donot know how many users would get the notification.
    I tried creating a RESPONSE Attribute(I understand that, a response attribute is an attribute where I accept inputs from the user), but couldnt assign the value to that attribute.
    Regards
    Anil K A

    Sadly, I believe this will require a bit of development to make it happen. The project I'm on now...we are finding that to get it to do what we want it to do, a development to customize the email message to include all the case fields is required.
    D

  • How to include Portal login link in the workflow notification

    hi All,
              Wih the program RSWUWFML2 i am able to get the options like 1) workflow entry 2)workitem Display 3) workitem execution .
    When i click the workitem execution , it is going to SAP inbox and able to execute the workitem.
    How to do the same thing with Protal Gui. In my case most of the users will not have sap logon access but they do have protal acess.
    Like Option 3, if i click how to connect the protal and process the work item.
    Regards
    Venakat

    Hi,
    you have to copy this Program [RSWUWFML2|https://wiki.sdn.sap.com/wiki/x/moH8B] and modify. In this program mail is sent via the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' before this code you  have modify the content of the email, you have to pass the link of the Portal in the mail.
    So that from the link users can able to logon to portal,if it is [Single Sign On|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0c78148-12de-2a10-27bf-960acc753aab], no password will ask otherwise the user have to enter the password.
    Regards,
    Surjith

  • How to include a js file in the JSP page

    Hi
    i have included a script tag like the following in the JSP file
    <SCRIPT language="JavaScript">vDateFormat='mm/dd/yyyy';</SCRIPT>
    while deploying i am getting an error 'vDateFormat' unidentified
    Can any one help me

    under view put a new tag
    <f:view>
    <ui:script url="page.js"/>
    and thats it

  • How to include a custom bkgd in the spark datagrid header

    I have a CustomDatagridSkin.mxml, which is based upon the default DataGrid.
    I'm looking at the code, and I'm a noob, trying to make heads or tails out of it. If I could just figure out how to change the header color I would be happy. But what I'd really like to know is how to apply a graphic to the background of the header.
    Is there some example on the net that I can follow, because I'm having a hell of a time finding something useful.
    The demo that Deepa had was awsome (corkboard and postit notes looking thing).
    How was that done?
    Thanks
    Kristin

    Hi,
    Do you want a custom background for the entire header bar? or for each individual header renderer? I would take a look at the DefaultGridHeaderRenderer class to see how we do headers. These header renderers are used by the GridColumnHeaderGroup to create the column headers. You can modify it to have your own custom background graphic. If you just want to tweak the color, you can apply the chromeColor style to the DataGrid.
    I can try to cook up an example for you when I have a bit of time, but not at the moment. Hope this points you in the right direction.
    -Kevin

  • AcroPDF ActiveX control on Excel Userform --- how to include it when I print the form?

    Here is a screen-shot of my Excel Userform which IS displaying the correct PDF file inside of an AcroPDF ActiveX control.
    Everything works on this form, including an option to print out a full-sized (8.5 x 11) version of the PDF.
    However ...
    I would like to push the "Print this Form" button, and have a paper copy of exactly what you see on-screen.
    The form does print, but the PDF displayed in the ActiveX control is BLANK.
    I also have an Image control  on this same form with code that allows me to browse for an image file (.JPG) which I use for Custom signs ...
    The form prints and the image displayed in the Image Control DOES print with the form.
    The Code:
    Private Sub cboSelectSign_Change()
    Dim MyPDF As String
    If Len(Me.cboSelectSign.Value) > 0 Then
        If Me.cboSelectSign.Value = "(Custom)" Then
            Me.AcroPDF1.Visible = False
            Me.ctlImage.Visible = True
            Me.ctlImage.Picture = Nothing
            If MsgBox("Do you have an image that you'd like to display?", vbYesNo, "Display an Image?") = vbYes Then
                fOpenFileBrowser
            End If
        Else
            Me.AcroPDF1.Visible = True
            Me.ctlImage.Visible = False
            MyPDF = Me.cboSelectSign.Column(1)
            Me.txtPDFpath = MyPDF
            Me.AcroPDF1.src = MyPDF
        End If
        Application.Wait (Now + TimeValue("0:00:03"))
        Me.txtWidth.SetFocus
    End If
    End Sub

    Has anyone had this problem?

  • How to include sap work item in the email sent by workflow - WS01700044

    Hi,
    In FSCM Dispute Management, we have a requirment to include the sap work item in the email being sent by the workflow - WS01700044.
    The underlying task in it is TS01707928. This Task sends an email to the outlook as well as work item to SAP inbox.
    We want to include Sap Work item in email being sent to the outlook.
    This will help the users to process the workitem directly from the email instead of going to SAP Inbox to process the work items.
    Please suggest the possible ways.
    Thank you.
    Vijay

    Sadly, I believe this will require a bit of development to make it happen. The project I'm on now...we are finding that to get it to do what we want it to do, a development to customize the email message to include all the case fields is required.
    D

  • How to avoid the case of leaks memory in Object Oriented Programming

    Hi, Everyone, I am writing a simple web-baed application for JSP and Servlet, I pass all data from JSP to Servlet, It is due to the number of row of record are variable, so I should write a Java Instance class to stored to specific data in a Java Object, and then stored those object in a arraylist In the Servlet class, and then pass the arraylist in to a session, to pass the session from the servlet to another JSP......
    But some thing I am worried about is that if the no of row of record user input is large, then the number of object stored in the arraylist will also large. I am worried it will serious leaks memoary in my server. Because my server always occurs "Out Of Memoary Exception" in Tomcat, So If I use the above method. I affarid the memory will be further leaking in my server. So What can I do? Is it having any better method to prevent memory leaking when using Object Oriented Programming(Except using Hibernate)?
    Can Anyone be help me?
    Thank you very much for All, THX

    Because many people say that the large amount of
    using Object will lead to "memory leak", I am worried
    about the size of object I use is too large and then
    it will construct "memory leak". No it will not! You get a 'memory leak' by holding references to objects you no longer require.
    >
    The detail of my case is that:
    In my web application, there is a session variable
    pass through from one servlet to another jsp/servlet.You should only place small amounts of data in the session. If you need forward from a Servlet to a JSP (or JSP to Servlet) then you should place the data object in the request (using the setAttribute() method), not in the session. In this way, when the session is re-claimed so will be the data object.
    And this session variable is stored a Instance Object
    (which is a class write by me) with the following
    issue:
    1) This instance object having "has-a relationship"
    with another four instance object (all are the
    classes write by me)
    2) This instance object having "has relationship"
    with a arraylist, this arraylist is stored about 4-5
    instance object(all are the classes write by me) .
    If this object having the above issue, Will this
    object construct a "leaks memory" when this object
    stored in the session and pass through servlet to
    another jsp/servlet?
    Message was edited by:
    sabre150

  • How to Include VAT percentage rate in the Invoice Print Output

    Hi All,
    I have a question here. My client wants the VAT rate in percentage form to appear in the invoice print output. But, I have no idea where to pull out the vat percentage rate from or which table I should refer to.
    Appreaciate all of your inputs.
    Thanks a lot!

    Hello,
    You can fetch the VAT rate either from the Sales order or the Billing document
    Getting it from Billing document is more relevant.
    First goto the Table  VBRK and get the KNUMV  field from the vbrk
    Then goto KONV table which is the pricing table for conditions and give the input values as the KNUMV and KSCHL
    KNUMV  is the DOCUMENT CONDITION which is independent for each document
    KSCHL is the condition type ( in this case it is your VAT condition type )
    You can get the Rate from the  the field  KBETR.
    KBETR is the RATE % of the KSCHL in KONV
    Hope it is clear.
    Regards,
    santosh

  • How to include a key value, per employee, in payslip print program output?

    Employee payslips are printed externally. The output file has to include a 3 char value, per employee, to determine the logo that will be printed on to the payslip.
    What is the best way to include this 3 char value in the output file?
    I assume the best way is to use program RPCEDTG0 and include the code in this program. We are on ECC6 so PE51 isn't used, HRFORMS is, but I assume this wouldn't matter anyway as we don't need to change the HRFORM but rather the RPCEDTG0 program?
    Thanks in advance.

    Hi Kapil,
    Thank you for your help.
    Yes, I have suggested as you said, i.e. putting logo into the smartform linked to the HRFORM. However, the external printers want a code in the file which they will interpret their side and then pickup and output the logo from their system. We merely need to pass them the code for this.

Maybe you are looking for