How to create a new error log in VF01

How would I create a new error log upon creation of invoice in VF01 based on the billing block of order.
Here is the scenario:
In VFO1 -->> enter delivery no. then create, but upon creation, an error message appeared incorrect.
In EDIT -->> LOG, this will appear:
Error Log
  |
  |_____ 4981173515  000010 Document 4946087103 is blocked for billing.
The message blocked for billing is what I want to change based on what billing block in order was triggered.
Tnx in advance!

This is controlled by your delivery to billing copy control requirement (header).  You would change the copy control config to use a new requirement and then config that requirement at the header level.  (IMG->S&D->Billing->Billing Docs->Maintain Copying Control...).  Make a copy of the existing copy requirement (in txn VOFM) and then add your code to check the block type and change the message.

Similar Messages

  • How to Create A new Database in the oracle 10g XE

    i have oracle 10g XE i tried to create a new database but its giveing me error when i execute the sql command that is create database testDatabase how to create a new database in oracle 10g XE

    Hi there 785434,
    (This is a generic SQL question relating to Database Triggers, please post future questions of this type into the relevant forum area.)
    Moderator, please move this if able
    I use Before Update and Before Delete Triggers to record a 'snapshot' of the row being changed in my applications.
    Example:
    CREATE TABLE TEST
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE
    LOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE TABLE TEST_HISTORY
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE,
    CHANGE_DESCRIPTION
    NOLOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE OR REPLACE TRIGGER TRG_BU_TEST
    BEFORE UPDATE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'UPDATE');
    END;
    CREATE OR REPLACE TRIGGER TRG_BD_TEST
    BEFORE DELETE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'DELETE');
    END;
    Using triggers like this will record who made an update or delete to the database and record the row before it was changed.
    Note that this method might not be suitable for very high transaction rates.
    You will need to 'clear' these history tables as part of routine maintenance.
    Hope that this Helps.
    Ronald.

  • How to create a new user over HTTPS

    Hi. I have set up conf.xml and web.xml so that when the user accesses a page in the secure area of the website, then they are taken to a login page where they enter their username and password and the form calls j_security_check on the server. All this happens over SSL as the transport garauntee is CONFIDENTIAL. But how to create a new user over HTTPS? If I have a create new account pages in the secure area of the website, then the only way the user can access these pages is by logging in, but they don't have a login as yet.

    An update. It looks that if the auth-constraint section (which lists the roles that can access this area) is missing, then everyone can access the region and it is over HTTPS. So far, the following seems to be working
       <security-constraint>
          <display-name>View My Account</display-name>
          <web-resource-collection>
             <web-resource-name>My Account Area</web-resource-name>
             <url-pattern>/myaccount/*</url-pattern>
          </web-resource-collection>
          <auth-constraint>
             <role-name>myrole</role-name>
          </auth-constraint>
          <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
          </user-data-constraint>
       </security-constraint>
       <login-config>
          <auth-method>FORM</auth-method>
          <realm-name>Form-Based Authentication Area</realm-name>
          <form-login-config>
             <form-login-page>/newaccount/login.html</form-login-page>
             <form-error-page>/newaccount/loginerr.html</form-error-page>
          </form-login-config>
       </login-config>
       <security-role>
          <role-name>myrole</role-name>
       </security-role>
       <security-constraint>
          <display-name>Create New Account</display-name>
          <web-resource-collection>
             <web-resource-name>New Account Area</web-resource-name>
             <url-pattern>/newaccount/*</url-pattern>
          </web-resource-collection>
          <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
          </user-data-constraint>
       </security-constraint>

  • Hai , How to create 'Define New ' ?

    hai,
    How to create 'Define New ' in Combo box and then Enter the value in the user defined table how to get the value  from the database table and display combo box ?

    Hi.
    I used this example for the matrix column. It's work and open a form for defining new values.
    Your need to add an event to refresh values in combobox.
    Think I help you.
    Best regards
    Sierdna S.
    P.S. How to proceed.
    1) Fill the combobox with valid values:
    Try
      ' Add first value to combobox
      oCombo.ValidValues.Add("", "")
      Dim oRS As SAPbobsCOM.Recordset
      oRS = SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
      Dim sSql As String = "SELECT Code, Name FROM [@" & sLinkedTable & "]"
      oRS.DoQuery(sSql)
      oRS.MoveFirst()
      While oRS.EoF = False
          oCombo.ValidValues.Add(oRS.Fields.Item("Code").Value, oRS.Fields.Item("Name").Value)
          oRS.MoveNext()
      End While
      ' Last value
      oCombo.ValidValues.Add("Define","Define")
      If Not oRS Is Nothing Then
          System.Runtime.InteropServices.Marshal.ReleaseComObject(oRS)
          oRS = Nothing
      End If
      System.GC.Collect() 'Release the handle to the table
    Catch ex As Exception
      ' log exception
    Finally
      oCombo = Nothing
    End Try
    2) In Item event handler
    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT _
    And pVal.FormUID = sFormUID _
    And pVal.ItemUID = sMatrixUID _
    And pVal.ColUID = sColUID _
    And pVal.BeforeAction = False _
    And pVal.ItemChanged = True _
    Then
      Try
        Dim oMatrix As SAPbouiCOM.Matrix
        oMatrix = oForm.Items.Item(MatrixID).Specific
        If oMatrix Is Nothing Then Throw New Exception("ERROR: matrix object is nothing"))
        Try
          Dim oCombo As SAPbouiCOM.ComboBox
          Dim sValue As String = ""
          oCombo = oMatrix.Columns.Item(sColUID).Cells.Item(pVal.Row).Specific
          sValue = oCombo.Selected.Value
          If sValue.Equals("Define") Then
            Try
                oCombo.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
                oForm.Refresh()
            Catch ex As Exception
            ' log exception
            End Try
            SBO_Application.Menus.Item("<menu id to activate>").Activate()
          End If
          BubbleEvent = False
        Catch ex1 As Exception
          ' log exception
        End Try
      Catch ex As Exception
        ' log exception
      End Try
    End If

  • How to create a new bundle of service and import it as normal user.

    Hi,
    I have created a service.
    Now am able to import and enable the service.
    I have placed my xml file under
    /var/svc/manifest/site
    The service name is
    <service
    name='site/newservice'
    I have imported the service as root user.
    <exec_method type='method' name='start' exec='/tmp/new/method/newservice start' timeout_seconds='30' />
    This service is not able to execute the operation which I have mentioned above. The following error is thrown in log file.
    Error: User 'root' is not the owner of '/tmp/new/method'
    So I tried to import the service as normal user, the following error is thrown.
    svccfg import /var/svc/manifest/site/newservice.xml
    svccfg: Could not create temporary service "TEMP/site/newservice" (permission de nied).
    svccfg: Import of /var/svc/manifest/site/newservice.xml failed. Progress:
    svccfg: Service "site/newservice": not reached.
    svccfg: Instance "newservice": not reached.
    Please help me to solve this issue.
    I thought instead of placing the service in default location,Why cant we create a new service of bundle and place the service there.
    Please help to solve this issue by suggesting some solution or how to create a new bundle of service and import it as normal user.
    Regards,
    Kalai

    kalaiyarasan_P wrote:
    Hi,
    I have created a service.
    Now am able to import and enable the service.
    I have placed my xml file under
    /var/svc/manifest/site
    The service name is
    <service
    name='site/newservice'
    I have imported the service as root user.Okay.
    <exec_method type='method' name='start' exec='/tmp/new/method/newservice start' timeout_seconds='30' />
    This service is not able to execute the operation which I have mentioned above. The following error is thrown in log file.
    Error: User 'root' is not the owner of '/tmp/new/method'By default, services run as the 'root' user. It's complaining that the method isn't also root.
    So I tried to import the service as normal user, the following error is thrown.You won't be able to do that easily. The user that does the import is almost always root. But wihin the manifest you could have it run as a different user.
    I thought instead of placing the service in default location,Why cant we create a new service of bundle and place the service there.
    Please help to solve this issue by suggesting some solution or how to create a new bundle of service and import it as normal user.You don't need to import this as a normal user, do you? You just want it to run as one, right?
    Darren

  • How to create a new field in a sub screen in material master. ?

    How to create a new field in a sub screen in material master. ?
    Kindly help us.
    LIke wise tell me how to create a new sub screen as per my desired

    Follow the documentation of Logistics - General->Material Master->Configuring the Material Master->Create Program for Customized Subscreens  to add the new field in material master.
    Create Program for Customized Subscreens
    In this IMG activity, you can create a function group of your own by copying function group MGD1 (for industry) or function group MGD2 (for retail). The subscreens are not copied, except for two subscreens which are copied for technical reasons. You can use this copy to create subscreens of your own which you can assign to a data screen in the activity Define Structure of Data Screens for Each Screen Sequence.
    Requirements
    Be sure to read the program documentation first.
    Activities
    1. Create a function group of your own by choosing Execute.
    2. Enter a name containing up to 25 characters, beginning with the letter Y or Z, and choose Save.
    3. Access the Object Navigator.
    You do this from the SAP standard menu by choosing Tools -> ABAP Workbench, and then Object Navigator.
    4. Display either program SAPLMGD1 (industry) or SAPLMGD2 (retail) as required.
    5. Copy the subscreens as required, ensuring that they already contain as many as possible of the field names you want to use in your function group. You do this as follows:
    a) Choose Screens, position the cursor on the corresponding subscreen, and choose Copy in the context menu.
    b) Enter the program to which you want to copy the subscreen, prefixing it with SAPL, and enter a screen number. Use the screen number of the original subscreen where possible. If the F1 help is specific to a particular subscreen, this ensures that this context-specific help continues to be displayed.
    Example
    You have called your function group YENTERPRISE, to which you want to copy subscreen SAPLMGD1 2301. Enter SAPLYENTERPRISE as the program to which the subscreen is to be copied, and enter (preferably) 2301 as the screen number.
    6. Return to the initial screen of the Object Navigator and display your program. In the example above, you would enter SAPLYENTERPRISE.
    7. Choose Update object list.
    8. Select the subscreen you have copied and activate it by choosing Activate in the context menu.
    Using the Screen Painter, you can remove fields you do not require on the subscreen or include additional fields from other subscreens (see the ABAP Dictionary). For information on the Screen Painter, see the SAP library documentation BC ABAP Workbench Tools.
    Points to consider when removing or adding fields
    Make sure that a field statement exists for each field on the subscreen since data may not otherwise be transported correctly. You can use subscreen SAPLMGD1 2002 as an example.
    For the fields you have added, include any check modules and modules for self-programmed F4 help that are called up for these fields on the original subscreen. You can do this by displaying the flow logic for the original subscreen and searching for such modules. They normally have the same names as the fields themselves. When you find a module, copy the corresponding module call to your subscreen.
    If you change the order in which fields are transported that are checked together in the flow logic (such as the safety stock and minimum safety stock), you must deactivate the check module for the first field and activate it for the second. The system would otherwise transport the first field, and carry out the check before the second field is transported.
    Any error messages that fields are unknown when activating the subscreen are due to the fields still being included in checks, even though you have removed the fields from the subscreen. Search for the fields in the source code and make the lines in which they appear comment lines. Then reactivate the screen.
    9. Assign the subscreen to a data screen as required.
    Note on transport
    Use the Workbench Organizer to transport the copy you have created.
    Proceed

  • How to create a new row for a VO based on values from another VO?

    Hi, experts.
    in jdev 11.1.2.3,
    How to create a new row for VO1 based on values from another VO2 in the same page?
    and in my use case it's preferable to do this from the UI rather than from business logic layer(EO).
    Also I have read Frank Nimphius' following blog,but in his example the source VO and the destination VO are the same.
    How-to declaratively create new table rows based on existing row content (20-NOV-2008)
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/13-create-with-params-169140.pdf
    I have tried:
    1.VO1(id,amount,remark1) and VO2(id,amount,remark2) are based on different EO,but render in same page,
    2.Drag and drop a Createwithparams button for VO1(id,amount,remark),
    3.add: Create insertinside Createwithparams->Nameddata(amount),
    4.set NDName:amount, NDValue:#{bindings.VO2.children.Amount}, NDtype:oracle.jbo.domain.Number.
    On running,when press button Createwithparams, cannot create a new row for VO1, and get error msg:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: For input string: "Amount"
    java.lang.NumberFormatException: For input string: "Amount"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    Can anyone give some suggestions?
    Thanks in advance.
    bao
    Edited by: user6715237 on 2013-4-19 下午9:29

    Hi,CM,
    I'm really very appreciated for your quick reply! You know, today is Saturday, it's not a day for everyone at work.
    My principal requirement is as follows:
    1.select/check some rows from VO2, and for each selection create a new row with some attributes from VO2 as default values for VO1's corresponding attributes, and during this process the user may be cancel/uncheck or redo some of the selections.
    --so it's better to implement it in UI rather than in EO.
    2.it's better to implement this function with declarative way as in Frank Nimphius' blog.
    --little Jave/JS coding, the better. I only have experience in ORACLE FORMS, little experience in JAVA/JS.
    In order to get full information for the requirements of my use case, can take a check at:
    How to set default value for a VO query bind variable in a jspx page?
    (the end half of the thread: I have a more realworld requirement similar to the above requirement is:
    Manage bank transactions for clients. and give invoices to clients according to their transaction records. One invoice can contain one or many transactions records. and one transaction records can be split into many invoices.
    Regards
    bao
    Edited by: user6715237 on 2013-4-19 下午11:18
    JAVE->JAVA

  • How to create a new admin user in oracle 9i?.

    Hi I am new to oracle. I want to set up a new database for my application.
    How to create a new admin user in oracle 9i?. I would like to have a new schema. where I can create tables for my application from scratch.

    If I understand your question correctly:
    You need to be connected to the database with the user SYS.
    open a command-line session and do the following to create an Oracle user with DBA option other than SYS.
    C:\>sqlplus /nolog
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 14 08:46:13 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL> conn  /  as sysdba
    Connected.
    SQL>
    SQL> create user test identified by pass;
    User created.
    SQL> grant create session to test;
    Grant succeeded.
    SQL> alter user test account unlock;
    User altered.
    SQL> grant dba to test with admin option;
    Grant succeeded.
    SQL> conn test/pass
    Connected.
    SQL>
    SQL> sho user
    USER is "TEST"
    SQL>Now you have a user with username 'test' and password 'pass' with DBA role with Admin option
    Tony Garabedian
    From now on you can connect directly with SQL*Plus no need for comman-line. Just provide the username/password and you're logged in.
    Message was edited by:
    Tony Garabedian

  • How to create a new custom tag in JSF 1.2

    Hi there,
    In JSF 1.2, all the classes (CommandButtonTag, CommandLinkTag, DataTableTag,...) in package com.sun.faces.taglib.html_basic are defined as final class. In JSF 1.1, we can create a custom tag that extends the tag in JSF taglib; it save us lots of time.
    Could anybody know how to create a new custom tag in JSF 1.2?
    Many thanks,
    Emily

    If I recall, it was done because how tags were to be handled in 1.2 was very different from 1.1 and it was felt that developers shouldn't rely on implementation specific classes (unless they were SPI) for several other reasons (application portability being the big one here).
    If it's felt that this was the wrong decision, please feel free to log an issue [1] against the RI (to date, no one has).
    As to the 'borked' dependency URLs, please log an issue [1] if you find these. We have nightly builds going that work from a clean workspace and checking today's result, it seems ok.
    [1] https://javaserverfaces.dev.java.net/issues

  • Service Manager 9.21: How to create a new instance of scautolistener and assign a port to it.

    Hi,
    2 instances of scautolistener are already running and i want to create a new instance of scautolistener.
    The sm.cfg file entry of scautolistener instances are:
    sm -scautolistener:12670 -debugscauto -log:..\logs\scauto.log
    sm -scautolistener:12690 -log:..\logs\scsmtp.log
    Please guide me as how to create a new instance of scautolistener.

    first, you cannot create instances of methods. but you can create instances of classes (==objects).
    the algorithm for primes does not work yet (its your work) but i inserted the code to create your object.
    import java.math.*;
    public class IsPrime {
    public boolean isPrime1(int arg){
    for(int e = 2; e < arg; e++){
    int remainder=arg%e;
    if(remainder==0){
    System.out.println("This number is not a prime number");
    break;
    else {
    System.out.println("This number is a prime number");
    break;
    return true;
    public static void main(String[] args){
    System.out.println(args.length);
    if (args.length>1){
    System.out.println("Sorry you can only enter one number");
    else{
    String sNum =args[0];
    int iNum=Integer.parseInt(sNum);
    IsPrime myPrimesObject = new IsPrime(); // here is your object
    if (myPrimesObject.IsPrime1(iNum)==true)
    System.out.println("is a prime");else System.out.println("is not a prime");
    }

  • How to create a new schema ?

    Hi,
    Can someone tell me how to create a new schema please ?
    What i need as user & rights ?
    Thanks

    Hello,
    -if i don't have neither sys nor system access, can i create the user "jward" with the oracle user ?You need to be connected to the database to a User who already has the CREATE USER Privilege.
    - once the new user created and granted,do i have to run the create schema statement under sqlplus ?It's not necessary.
    A Schema is a collection of Objects (Tables, Index, ...) so you can create them with their own CREATE
    Statements.
    But, you may include these statements into a CREATE SCHEMA statement so that if any error occurs
    all the statements are rollbacked.
    Please, find enclosed some links about this:
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/admusers.htm
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10759/statements_6013.htm
    Hope this help.
    Best regards,
    Jean-Valentin

  • How to create and manage the log file

    Hi,
    I want to trace and debug the program process.
    I write the code for creating log file and debugging the process.
    But i am not able get the result.
    please help me how to create and manage the log file.
    Here i post sample program
    package Src;
    import java.io.*;
    import org.apache.log4j.*;
    import java.util.logging.FileHandler;
    public class Mylog
         private static final Logger log = Logger.getLogger("Mylog.class");
         public static void main(String[] args) throws Exception {
         try {
           // Create an appending file handler
            boolean append = true;
            FileHandler handler = new FileHandler("debug.log", append);
            // Add to the desired logger
            Logger logger = Logger.getLogger("com.mycompany");
            System.out.println("after creating log file");     
              catch (IOException e)
                   System.out.println("Sys Err");
            }Please give the your valuable suggesstion... !
    Thanks
    MerlinRoshina

    Just i need to write a single line in log file.

  • How to create a new BAL on iPad 2 ?

    How to create a new BAL on iPad 2 ?

    You can't do it directly on the iPad. Assuming your email account is IMAP-based, log in to your email provider's webmail site and create the mailbox there. It will then appear in the iPad email client.
    POP3 email accounts don't have the facility for different mailboxes/folders like an IMAP account does.

  • How to create a new account for Portal

    Hi,
    I just installed portal in my windows xp pc. Currently, I can log into the portal home page as a single sign-on user. (super user). I'm wondering how to create a new account for a portal user so that I don't have to sign on as an admin.
    Thank you so much for your reply,
    Emily

    login into SSO and create an User
    1. Login into Portal -> Builder ->Administer click on User Management which takes you to oiddas were you can create the user
    or login into sso directly
    http://<host>:<port>/pls/orasso
    http://<host>:<port>/oiddas
    Murali

  • How to create a new partition

    i just got a new thinkpa. i would like to know how to create a new partition. 
    i tried partition magic 8.0 and it gave me BSoDs. please let me know. thanks. 
    thinkpad t400 t9400
    2gb ram
    windows sp3
    160gb 7200 rpm

    folivio wrote:
    I'm not an expert, but I partitioned the C: drive and made a partition for Windows 8. It worked perfectly as a multi-boot setup.
    A word of caution...Make sure that you want to make it a permanent change. When I removed the Win 8 partition and tried to restore my system to factory settings, I could not get the F2 during restart to work. F2 now brings up the multi-boot screen. So I tried to restore using the DVD Restore Set I made before I did anything to the partitions. I was able to boot to the DVD Restore Set by using the F12 key during restart and selecting the BDDVD drive. It looked like it was going to work, but after it loaded the minmum Windows files and I clicked on Restore, I got an error stating that the partition had changed and I could not restore.
    I contacted tech support and they are sending me a disc to restore the system.
    Regards
    Thanks for the heads up. I'd like to use the SSD for installing Windows 8. It seems to have about 25GB free. Isn't that a better place to install the OS? I am not sure why the bigger drive is marked as C: and the small, faster one as D: :-(

Maybe you are looking for

  • IPOD NANO FAILED DURING UPDATE AND NOW NOT RESPONDING

    HI, I have an ipod 4gb nano. I had songs loaded on it and it was working fine. I downloaded the latest version of the ipod updater (2006-03-23) to update my ipod. During the update process the battery on my laptop died and now I cant do anything. If

  • Is it possible to connect indesign with database/OOD...

    Hello fellow Indesign user, Not sure if this question belongs here or in scripting... I'm just a moderate user in ID CS4 and I got this daunting task to find/invest a way to use Indesign (our existing layout software) to create "brochures/instruction

  • How to use Special value set with Column clause to display addtional column

    hi can anyone tell me How to use Special value set with Column clause to display addtional column how can i use FND POPID and with COLUMN clause ?

  • Date problems with iPhoto

    If you edit the date of a photo. and then export it, it seems that this edited date is ignored; the date in the Information panel after re-import is now the creation Date, which is the processing date in the case of a film camera and the System date

  • Music not syncing between pcs

    I have two pcs which are activated for homesharing, but when I buy music from Itunes store, it does not show up on both PCs in the Music library. What am I doing wrong? Thanks for the support.