How to confirm a TO while creating in Backgrd mode

Experts -
I'm creating a Transfer Order in a Background mode on LT01, I want the TO should be auto confirm. So that when I display the created TO again it should look like TO-Confirmed....
Do I need to do any coding in the User-Exist?
Thanks for ur advise.
James....

Thanks John for your quick reply.
My problem is the Movement type for the TO is not configured for auto confirmation and TO needs to be created under background mode.
So I need to confirm the TO while creating it in the background mode without customizing in SPRO for the movement type.
Thanks for ur advise....
Thanks
James....

Similar Messages

  • How to give network path while creating oracle directory.

    I have created
    CREATE OR REPLACE DIRECTORY TESTDIR AS '\\168.176.33.117\TESTDIR';
    but through this path i m not able to create text file.
    create or replace procedure WriteTest is
    f utl_file.file_type;
    s varchar2(200) := 'this is some info';
    begin
    f := utl_file.fopen('TEST2DIR','sample2.txt','W');
    utl_file.put_line(f,s);
    utl_file.fclose(f);
    end WriteTest;
    Help how to give network path while creating oracle directory.
    --when i give local machine path then it will create at local machine where oracle is installed. but not able to create at other machine.
    Zakir

    Well for starters your directory object is called TESTDIR and in your fopen statement you are referring to TEST2DIR.
    On top of that I'm not sure oracle is happy to refer to network locations. I think you have to map it to a regular drive mapping (shared directory) type path. Can't say I've every tried to do it though.

  • How to add image file while creating addon...pathsetup?

    Hi friends,
    i have a problem while creating addon.
    while creating addon we can add all the files(.vb,xml).but if i add image files(.bmp,.jpg)they are not displayed in runtime.
    --how to add image file while creating addon..?
    we are useing SAP Business One 2005A(6.80.317)SP:01 PL:04

    Somebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
    oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP"

  • "How to pass classification characteristics while creating batch" ?

    Hi,
        I am using FM's BAPI_BATCH_CREATE/CHANGE while creating/changing batch I have to maintain classification data aswell.But in FM docu i saw as shown below
    1.Create the classification of a batch in the background (object characteristics only)
    2. If the batch is to be classified, you must specify a class in the BatchControlFields parameter. Only single classification is possible.
      According to above statments I have passed class name in Batch Control Fields but I am unable to find " How to pass classification characteristics while creating batch". Please tell me how to pass classification characteristics in background?
    Edited by: Vijay Babu Dudla on Dec 16, 2008 3:24 AM

    Hi, You can update classification for a batch using the following code.
    But first, you'll need to find out that the batch management is cross-plant or plant dependant.
    If it is cross plant then plant(WERKS) is not part of the key to BAPI_OBJCL_CONCATENATEKEY.
    CLEAR: objectkey, objectkeytable, objectkeytable[],
               allocvaluesnumnew, allocvaluesnumnew[],
               return.
        objectkeytable-key_field = 'MATNR'.
        objectkeytable-value_int = matnr.
        APPEND objectkeytable.
        objectkeytable-key_field = 'CHARG'.
        objectkeytable-value_int = charg.
        APPEND objectkeytable.
    * Only if Batch management is Plant dependant
        objectkeytable-key_field = 'WERKS'.
        objectkeytable-value_int = werks.
        APPEND objectkeytable.
        CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
          EXPORTING
            objecttable    = objecttable
          IMPORTING
            objectkey_conc = objectkey
          TABLES
            objectkeytable = objectkeytable
            return         = return.
        allocvaluesnumnew-charact = "characteristic name goes here".
        allocvaluesnumnew-value_from ="characteristic value goes here".
        APPEND allocvaluesnumnew.
        allocvaluesnumnew-charact =  "characteristic name goes here".
        allocvaluesnumnew-value_from =  "characteristic value goes here".
        APPEND allocvaluesnumnew.
        CALL FUNCTION 'BAPI_OBJCL_CHANGE'
          EXPORTING
            objectkey                = objectkey
            objecttable              = 'MCHA' " MCH1 in case of cross-plant batch management
            classnum                 = classnum " Classification class number, as used in MSC2N
            classtype                = classtype " Classification class type, as used in MSC2N
    *   STATUS                   = '1'
    *   STANDARDCLASS            = STANDARDCLASS
    *   CHANGENUMBER             = CHANGENUMBER
    *   KEYDATE                  = SY-DATUM
    *   NO_DEFAULT_VALUES        = ' '
    * IMPORTING
    *   CLASSIF_STATUS           = CLASSIF_STATUS
          TABLES
            allocvaluesnumnew        = allocvaluesnumnew
            allocvaluescharnew       = allocvaluescharnew
            allocvaluescurrnew       = allocvaluescurrnew
            return                   = return
    * Do not forget to commit, otherwise changes would not take effect.
    commit work.
    Regards,
    Hashir Ahmed

  • How to control Doublicate Entry while creating GL Master

    HI every one,
    Can any one let me know, how to control Doublicate check while creating GL Master. And also for AR and AP if possible.
    Thank you
    Satish

    Hello Satish,
    You can implement the logic to control duplication of G/L Master records either in
    a) Function Exit EXIT_SAPMF02H_001 available within the SMOD enhancement SAPMF02H
    b) P/S BTE 00002310 (Master Record G/L Account: Save)
    The logic would be to identify if G/L Accounts with same Short/Long Texts already exist in the Company Code.
    Hope this resolves your problem. Please reward points.
    With Regards
    Vijay Gajavalli

  • How to capture an error while creating a purchase requisition

    Hello All,
    I append 50 line items while creating a PR using BAPI_REQUISITION_CREATE and I get an error in RETURN.
    So can I capture the line item which exactly has that error.
    I mean to say how to figure out the line item with error, if the BAPI gives an error.
    Please suggest.
    Thanks & Regards,
    Tarun Gambhir

    I could not find TEST_RUN option in these bapis
    Roundway will be
    1. Use BAPI_REQUISTION_CREATE with single line item  and create PR then take the requisiton number
    2. Use ME_UPDATE_REQUISITION. and add line by line into same PR (Within loop)
    BAPI_REQUISITION_CHANGE can only be possible to edit existing line and you cannot able to add new lines,
    a®s
    Edited by: a®s on Jul 29, 2009 11:13 AM

  • AIX 5.2 : how to pass password value while creating a user on AIX server

    Hi ,
    Test connection is successful with AIX server , I can successfully create a user on AIX server, with defualt password.
    I am not passing the any password value still some default value is being populated for the user...
    In AIX while creating the user , use get force to set the password...
    But while configuring the schema for AIX adapter ...if password attribute is given then it will give the error
    as invalid attribute...while creating a user if password value pass...
    how to set the password for the user..what attribute need to set for the password .
    thanks ..

    The default password might be the IdM account password of the user you are trying to provision. You don;t need to keep password in the resource schema. Just set password.password and password.confirmPassword and select AIX resource for password reset. Check the workflow-form-views document for more information on password view.

  • How to add shipping instructions while creating SO

    Hi All,
    I'm using the BAPI_SALESORDER_CREATEFROMDAT1 to create Sales Order.
    I want to add shipping instructions while creating each orders.
    How do I pass this information to the backend with this BAPI?
    Thanks
    Thruna

    Somebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
    oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP"

  • How to assign a seq while creating a table

    Hi,
    How to assign a sequence such that i dont want to give the sequence while creation. i mean
    if employee table is there
    sl_no empname salary .....
    i dont want to give sequence while inserting the data, i want to give the sequence at creation of table level for sl_no
    i tried this
    create table seqtest1 (id number primary key default rajseq.nextval);
    but it is showing me the error
    ERROR at line 1:
    ORA-00907: missing right parenthesis
    whats the solution
    please help me
    Thank you
    Raj deep.A

    Hi Raj,
    You can not assign a sequence to a column while creating a table. you have two options for this. (So you can also use one sequence for multiple tables)
    1. As Gasparotto said, you can create a before insert statement. OR
    2. you can assign new sequence number in the program code. for example.
    insert into xxx (user_id,name,surname) values (seq_userid.nextval,'Raj','Deep');
    Good Luck.
    Onur

  • How to add Trip reason while creating a Travel request

    Hi,
    I want to add Trip reason while creating a Travel request . I have not been able to maintain FTPT_REQ_HEAD through sm30. Urgent help required

    Hi,
    There is no customizable table for travel reason
    FTPT_REQ_HEAD is not maintanable
    This is standard SAP, and in field REQUEST_REASON you can enter the description that you want and system will allow you do that. The same thing with field " 1st destination"
    You add any description and it will be recorded and available for next entries in TP04
    Hope this answer to your question
    Best regards
    Tarek

  • How To Hide A Field While Creating PO.

    Hi,
    Please Give me the solution of my problem. As I want that NoBody Could Change The Description of the related Material code  which comes under Text Field Both while creating/changing  PO.

    Hi,
    Try to maintain PO master data.
    1. Go to tcode SM31, table view V_162, choose Maintain.
    2. Select ME21N --> Detail.
    3. In the field selection group --> choose Basic data, item
    4. Line item Material Description --> tick Display instead of Opt entry
    5. Choose Back button, again, then Save
    You should have your Short text field in ME21N as display only, once you have enter the Material.
    Hope this help.
    regards,
    rob

  • IPhoto 11: How to view "all photos" while in full screen mode

    In iPhoto, when it's not in full screen mode, if you click photos in the sidebar (under Library), you get a nice view of ALL your photos, and you have the option to sort them by event. When you go from this view straight to full screen mode, it stays this way, which in my case is particularly useful since I like to move photos around from event to event. However, staying in full screen mode, as soon as I click an any other of the menus at the bottom (events, faces, places, albums, projects), I cannot find anyway to get back to the "all photos" view, other than to take it OUT of full screen mode, click on "Photos" in the side bar, and then go back to full screen mode. Either I am missing something that is glaringly obvious, or this is a rather annoying oversight by Apple. It seems like it would be natural to have "Photos" be one of the options along with Events, Faces, Places, Albums and Projects in full screen mode. Right now the only work around I've been able to come up with (aside from going back and forth with fullscreen mode), and to hit "command F" while in full screen mode, and then type "i", which will give me what I am want only because all my photos start with "i". Not a very elegant work around, I know, but perhaps I am missing something very obvious.
    Thanks for any advice!
    James

    In case my description isn't clear, here is a screenshot of exactly the view in full screen mode I am talking about  that I can't seem to return to once I leave it, other than to go back to non full screen mode or use the search trick.

  • How to write error log while creating invoice and avoid implicite commit

    Hi,
    I've have written code in exit RV60AFZZ in which I check for some possible errors while invoicing via VF01/VF04. If conditions are met then we create error message and display it to the user. As result we had a lot of missing SD invoices in FI when we did batch/mass invoicing. I've opened OSS note and SAP support team wrote that using statement MESSAGE is forbidden in UE. It can lead to implicite commits.
    Do you have some example how to write error log for invoincing in VF01/VF04 transactions?
    Thanks

    @ sri nath. Please read post before answering. I wouldn't be posting trivial questions. As I wrote before it doesn't work.  Also SAP support would not answer to the question in my OSS.
    In VOFM, SAP is using routine  VBFS_HINZUFUEGEN_ALLG to write to error log.
    Mine is something like this in ue:
          PERFORM ZVBFS_HINZUFUEGEN_ALLG
                     USING VBAP-VBELN VBAP-POSNR  'ZSD' 'E '600'
                           SPACE SPACE SPACE SPACE.
    (we have custom message class)
    As result  XVBFS and VBSK are filled with error, but posting is also done.  Error log is filled but invoice is created and posted in FI.
    That is not OK.
    thanks

  • Confirmation Quantity issue while creating Sales order using BAPI

    Hi SDN,
    Can anyone of you help mein the below issue:
    I have a program to create a sales order using upload file. for this i use "BAPI_SALESORDER_CREATEFROMDAT2" & for changing existing "BAPI_SALESORDER_CHANGE".
    Now If the upload file contains the Same Material, Based on other conditions, it needs to create Multiple sales order.
    When the first Salesorder is created, the Quantity is getting confirmed (Confirmed quantity VBEP-BMENG). But during actual run, since the confirmation is getting done for the same material in the above Sales order, the confirmation is not being done in the subsequent Sales order".
    This poses a problem for business, user need to manual refresh the u201Cconfirmed quantity for each line item in the particular SO where it failed during program upload.
    Also while uploading using the BAPI, if we wait forsometime after creating the first sales order in Debug, then the above material is unlocked & the confirmation quantity is done for the subsequent sales order also.
    But in the actual run, this is creating a problem. Some Refresh or Unlocking problem.
    Can you please suggest a suitable solution for this issue.
    Thanks & regrads,
    Chaitanya LBK

    Have you tried backorder processing?
    V_V1
    V_V2
    V_RA
    V_R1
    V_R2

  • How to remove build errors while creating an Order App. for Handhelds

    Hi Friends,
    As per the Tutorial: Developing an Order Application for Handhelds provided at the given link http://help.sap.com/saphelp_nwmobile71/helpdata/en/8F/0B674240449C60E10000000A1550B0/frameset.htm
    I am creating mobile application for PDA . I have finished many steps but at one step I am getting build errors.
    The step is when we create service and paste the code provided in the document.
    public void generateTestData() {
    //@@begin implementation
          if( !(((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).getOrderOrderheaders().size() > 0))
             OrderOrderheader order = ((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).createOrderOrderheader();
             order.setOrderid("0023378");
             order.setLongtext("Repair front door");
             order.setServiceunit("SU01");
             order.setCreatedOn(Date.valueOf("2007-06-30"));
             order.setCreatedAt(Time.valueOf("08:45:00"));
             order = ((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).createOrderOrderheader();
             order.setOrderid("0024897");
             order.setLongtext("Analyse malfunction");
             order.setServiceunit("SU01");
             order.setCreatedOn(Date.valueOf("2007-07-01"));
             order.setCreatedAt(Time.valueOf("09:00:00"));
             order = ((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).createOrderOrderheader();
             order.setOrderid("0034534");
             order.setLongtext("Repair escalator");
             order.setServiceunit("SU03");
             order.setCreatedOn(Date.valueOf("2007-07-03"));
             order.setCreatedAt(Time.valueOf("19:45:00"));
             order = ((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).createOrderOrderheader();
             order.setOrderid("0024589");
             order.setLongtext("Analyse computer problem");
             order.setServiceunit("SU04");
             order.setCreatedOn(Date.valueOf("2007-07-01"));
             order.setCreatedAt(Time.valueOf("15:45:00"));
             order = ((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).createOrderOrderheader();
             order.setOrderid("0027890");
             order.setLongtext("Repair door lock");
             order.setServiceunit("SU03");
             order.setCreatedOn(Date.valueOf("2007-07-05"));
             order.setCreatedAt(Time.valueOf("10:00:00"));
             OcaRoot.getInstance().commit();
    //@@end
    The issue is I am getting a red line below each set methods as I have shown by underlining. I am struggling with how to rectify the error.When I write ORDER and write . after it , it shows only get methods in the popup not the set methods.
    Please suggest .
    It will be a great help.
    Regards,
    Nitesh

    Hi Nitesh
    Check if the data object you created is bi directional in DOE?
    Regards
    Vidyadhar

Maybe you are looking for

  • Restricting some sales orders in Report

    hi i have a problem , i want to restrict some sales orders based one the following logic , can any one help me in coding this logic if ( 0Doc_categ = k ( Credit memo request) or H (Returns)) get( Sales Documents ) for all these sales Documents get Re

  • Monitor standby database via OEM using non-sysdba account

    Hi, Is it at all possible to monitor a standby database via grid control using non-sysdba account so that targets are seen as up (green arrows visible etc) We audit sys operations and as the SYS user is the account that currently monitors the standby

  • Zen Micro Complai

    After several weeks of comparing the Zen Micro and iPod mini I decided to buy a Zen Micro the other day. I can't say I've been terribly impressed though. I am considering returning it and getting the iPod mini, but I just wanted to see if there were

  • Scale Attribute Times and Paste Attributes not working as did before

    Using Copy and then Paste Attributes as I have done many times before upgrading the FCP 5, the option to "Scale Attribute Times" is grayed out and the keyframes are not placed correctly. This happens even if the cips are the exact same duration. I re

  • How do i stop artists coming up twice?

    This may be a stupid question but how do i stop Artists appearing twice in my list even though they are the same?? they have different songs on but it would be a lot easier if they are all in one, for example i have coldplay come up twice