Start InfoPackage in dialog mode using BAPI

Hi all,
I need to start an InfoPackage in the dialog mode using ABAP coding report. The InfoPackage has to load data from a csv-file from the Client-Substation, therefore it can be started only in dialog mode (“Start Data Load Immediately” is chosen in Schedule tab).
I use BAPI_IPAK_START functional module for this purpose. But I receive an error “An upload from the client workstation in the background is not possible”, and a message “InfoPackage ZPAK_EUSCSC3BAGELE4JAI3HRM5PHJ could not be started by Bapi_ipak_start”.
It seems that BAPI_IPAK_START tries to start InfoPackage in the background, regardless of choosing “Start Data Load Immediately” option.
It is possible to start InfoPackage in the dialog using BAPI?
Thank you.

Your problem is, that an Infopackage can only use local files, while it is attached to a running dialog. It has to access your local disc to get the data. If you want to use the Infopackage in a process chain you have to transfer your file to a location where the application server has access. The BAPI_IPAK_START just starts the Infopackage. It does not know where your local environment is, so it cannot find your local disc and cannot access the file.
You have to options:
1. Use your local file and start the infopackage by hand. No automation possible.
2. Put the file somewhere where you can find it via transaction AL11. Then you can access this file without trouble.
Kind regards,
Jürgen

Similar Messages

  • Updation in synchronous mode using bapi

    hi all ,
           i have a requirement to update master table using bapi /SAPMP/BAPI_MATERIAL_SAVEDATA  where has it is taking more time can any one of you sugguest what will be the best approach which i can improve the execution time and can u tell me whether i can execute bapi in synchronous mode.
    with regards,
    abaper

    Hi,
    You can go for either BDC or LSMW also.
    Regards,
    Renjith Michael.

  • Dialog progarm using BAPI

    Hi,
    I have to create a dialog program which can be called using the BAPI.As we have in the case of PO , it can be created using the transaction code ME21n and calling the BAPI(BAPI_PO_CREATE).Please suggest how to create the BAPI for the custom program.

    Hi,
    Call Bapi just like a function module.
    Below code will help you,
    CALL FUNCTION 'BAPI_PO_CREATE'
        EXPORTING
          po_header                        = WA_POHD
        PO_HEADER_ADD_DATA               =
        HEADER_ADD_DATA_RELEVANT         =
        PO_ADDRESS                       =
        SKIP_ITEMS_WITH_ERROR            = 'X'
        ITEM_ADD_DATA_RELEVANT           =
        HEADER_TECH_FIELDS               =
       IMPORTING
         PURCHASEORDER                    = g_prchord
        tables
          po_items                         = I_PO_ITM
        PO_ITEM_ADD_DATA                 =
          po_item_schedules                = I_PO_SCH
        PO_ITEM_ACCOUNT_ASSIGNMENT       =
        PO_ITEM_TEXT                     =
         RETURN                           = i_return
        PO_LIMITS                        =
        PO_CONTRACT_LIMITS               =
        PO_SERVICES                      =
        PO_SRV_ACCASS_VALUES             =
        PO_SERVICES_TEXT                 =
        PO_BUSINESS_PARTNER              =
        EXTENSIONIN                      =
        POADDRDELIVERY                   =
    you can use the above bapi in your dialog program.
    Rahul

  • Launch Process Chain in dialog mode using WAD

    Hi,
    I check that I can associate the process chain launch using a button in WAD. Does someone know if there is a way to launch this in dialog and NOT in batch mode? My main issue is that I'd like to know who launch this process chain, and in batch mode the user is BIWREMOTE.
    I tried to change the flag "wait till the end" available with the EXECUTE_PROCESS_CHAIN action, but I see no changes.
    Thanks a lot!

    Hi,
    A way around this would be to change the execution user of the Process Chain to be the user who clicks the WAD Button. This can be achieved in RSPC by selecting the process chain, then Process Chain -> Attributes -> Execution User.
    This gives you the option of either the default BW Background user (BIWREMOTE), Current User or Special User. If you select Current User it will show the user you are after. However, you will need to ensure that whoever is clicking the button has the relevant authorisations to execute process chains in BW otherwise the job will fail.
    Regards,
    Nick

  • How to start Jrockit as server mode using Tomcat jsvc (chroot)

    Hi,
    I was reading the product documentation and came across Jrockit defaulting as server mode? In the log file however, during startup there is no info on the VM mode - is there a way to get Jrockit VM to show? java -version does not output server mode either :-(.
    Currently testing Jrockit and may possibly move over from Sun :-).
    Thanks in advance!

    Thanks Henrik for explaining!
    After installing Jrockit 5.0_04 on one of our test machines, we keep getting random illegal memory access errors during stress testing:
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 00:27:23 on Sun Feb 12 13:15:47 2006
    Additional information is available in:
    //jrockit.2901.dump
    No snapshot file (core dump) will be created because core dumps have been
    disabled. To enable core dumping, try "ulimit -c unlimited"
    before starting JRockit again.
    If you see this dump, please open a support case with BEA and
    supply as much information as you can on your system setup and
    the program you were running. You can also search for solutions
    to your problem at http://forums.bea.com in
    the forum jrockit.developer.interest.general.
    Error Message: Illegal memory access. [54]
    Signal info : si_signo=12, si_code=2 si_addr=0xc
    Version : BEA JRockit(R) R26.0.0-189-53463-1.5.0_04-20051122-2040-linux-ia32
    GC : System optimized over throughput (initial strategy singleparpar)
    : GC strategy for GC 0 was singleparpar
    : GC strategy for GC 1 was singleparpar
    : mmHeap->data = 0x20000000, mmHeap->top = 0x60000000
    : mmStartCompaction = 0x58000000, mmEndCompaction = 0x5c000000
    CPU : Intel Pentium 4 (HT) SSE SSE2 NetBurst EM64T
    Number CPUs : 4
    Tot Phys Mem : 2104639488 (2007 MB)
    OS version : Linux version 2.4.21-20.ELsmp ([email protected]) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-42)) #1 SMP Wed Aug 18 20:46:40 EDT 2004
    Thread System: NPTL
    State : JVM is running
    Command Line : -Xgcprio:throughput -Xms:1024m -Xmx:1024m -Xverbose:memory -Dcatalina.home=/usr/local/tomcat554 -Djava.io.tmpdir=/usr/local/tomcat554/temp -Djava.awt.headless=true -Djava.endorsed.dirs=/usr/local/tomcat554/common/endorsed -Dcatalina.base=/usr/local/tomcat554 -Duser.timezone=Asia/Taipei
    JAVA_HOME : /usr/java/jrockit-R26.0.0-jdk1.5.0_04
    java.home : /usr/java/jrockit-R26.0.0-jdk1.5.0_04/jre
    j.class.path : /usr/java/jrockit-R26.0.0-jdk1.5.0_04/lib/tools.jar:/usr/local/tomcat554/bin/commons-daemon.jar:/usr/local/tomcat554/bin/bootstrap.jar:/usr/local/tomcat554/bin/commons-logging-api.jar
    j.lib.path : /usr/java/jrockit-R26.0.0-jdk1.5.0_04/jre/lib/i386/jrockit:/usr/java/jrockit-R26.0.0-jdk1.5.0_04/jre/lib/i386
    C Heap : Good; no memory allocations have failed
    StackOverFlow: 0 StackOverFlowErrors have occured
    Registers (from ThreadContext: 0xaeeb1c / OS context: 0xaeebf8):
    eax = 00000001 ecx = b4e00010 edx = b4e00050 ebx = 00450e98
    esp = 00aeeee8 ebp = 00aeef1c esi = 00000000 edi = 004517c8
    es = 0000002b cs = 00000023 ss = 0000002b ds = 0000002b
    fs = 00000000 gs = 00000033
    eip = 0038db6d eflags = 00000206
    Stack:
    (* marks the word pointed to by the stack pointer)
    00aeeee8: 00000000* 00aeef00 b46f0c24 b46f0c24 b4e00058 007b2caa
    00aeef00: 004517c8 00000004 00000020 b4e00010 00450e98 b4e00010
    00aeef18: 00000001 00aeef38 0038ce7d b4e00010 00000019 00132f38
    00aeef30: b46f0c24 00000018 00aeef88 00121569 00000019 b46f0cd4
    00aeef48: 6000b630 08c47b4c 00000001 600a32a3 00aeef88 b46f0ac8
    00aeef60: 00aef2e8 00000000 b46f0cd4 0074905e 00aef018 600a3280
    00aeef78: 0012142b 0018b684 00aef3f0 00aef410 00aef3e8 0017e712
    00aeef90: b46f0c24 00aef414 00000000 0017e6b1 207d79f0 00aef3f0
    00aeefa8: 00aef410 00815cf8 b46f0c24 0100007f 00000000 00000000
    00aeefc0: 00000000 00000000 00000000 00000000 00000000 43090031
    00aeefd8: 62655742 54534554 652e3330 636f7270 2e646565 006d6f63
    00aeeff0: 61636f6c 736f686c 6f6c2e74 646c6163 69616d6f 6f6c006e
    00aef008: 686c6163 0074736f 00aeeff0 00aef006 00000000 007b6c54
    00aef020: 00aef0d8 600238b8 00aef068 0080a29e b46f0c24 6001a148
    00aef038: 6001bf60 00aef0bc 00aef0bc b46f0c24 6001bf60 007b5ffd
    00aef050: 00aef0bc b46f0c24 08c6d154 00000006 00000001 00000001
    00aef068: 00000001 00000000 6001bf60 00000000 00aef0c8 0080a430
    00aef080: b46f0c24 6001bf60 00aef0c8 0080a427 00aef0bc 00aef14c
    00aef098: 008159d0 00aef100 b46f0c24 b46f0ac8 00000001 b446a760
    00aef0b0: b446a7c8 00000000 00000000 08d1bf88 00aefd8c 00000000
    00aef0c8: 00aef108 0080ba13 b46f0c24 6001bf60 00000000 00000000
    00aef0e0: 00aef14c 008159d0 00000001 00aef100 b46f0c24 b46f0cd4
    00aef0f8: 00000000 00000000 00000000 00000000 00aef138 0080b5f8
    00aef110: b46f0c24 6001a154 6001bf60 00aef14c b46f0c24 b46f0ac8
    00aef128: 00000001 007b1998 b446a640 00000000 00aef168 007b2183
    00aef140: b46f0c24 6001a154 6001bf60 b46f0cd8 00aef1b8 00aef170
    00aef158: 00aef1f8 007b1d43 b46f0c24 b46f0ac8 00aef1f8 007b1ea2
    00aef170: b46f0c24 b46f0cd8 b46f0cd8 00aef1b4 0018b684 b46f0cd8
    00aef188: 00aef2a8 00000000 0018b684 b46f0cd8 00aef2a8 008056d0
    00aef1a0: 00000000 00000000 00000000 00000000 00aef1b8 00aef2e8
    00aef1b8: 00000000 00000001 00aef230 00000001 00aef2e8 6007500c
    00aef1d0: b46f0cd4 6148e9e0 00aef1f8 3ad702f0 00000810 3cff08d8
    00aef1e8: 00000810 08c57908 00aef210 0084a2de b65f3000 039fe11b
    00aef200: 08c57920 00000810 08c57920 00000810 00aef240 007b9f7c
    00aef218: b65f3000 039fe11b 3ad702f0 b46f0cd8 3cff08d8 0080cd4a
    00aef230: b46f0c24 3d1720c0 00000810 00000000 00aef270 007b9fec
    00aef248: 3cff08d8 60008690 00000000 00000001 08c57920 00000001
    00aef260: 00aef290 007b9f7c b65f3000 03a2e418 00aef2d0 007ba3e9
    00aef278: 60008690 00000810 08c57920 00000000 00aef2e8 007bc2bb
    00aef290: b46f0ad4 00000000 00aef2d8 007dc627 00400000 00000000
    00aef2a8: b46f0ac8 0040545f 00000000 00000000 00aef2f8 00187f74
    00aef2c0: 00000000 00000000 00000000 00000000 00000000 00000018
    00aef2d8: 00450e98 b4b8886c 00aef2e8 00217990 00450e98 b4b8886c
    00aef188: 00aef2a8 00000000 0018b684 b46f0cd8 00aef2a8 008056d0
    00aef1a0: 00000000 00000000 00000000 00000000 00aef1b8 00aef2e8
    00aef1b8: 00000000 00000001 00aef230 00000001 00aef2e8 6007500c
    00aef1d0: b46f0cd4 6148e9e0 00aef1f8 3ad702f0 00000810 3cff08d8
    00aef1e8: 00000810 08c57908 00aef210 0084a2de b65f3000 039fe11b
    00aef200: 08c57920 00000810 08c57920 00000810 00aef240 007b9f7c
    00aef218: b65f3000 039fe11b 3ad702f0 b46f0cd8 3cff08d8 0080cd4a
    00aef230: b46f0c24 3d1720c0 00000810 00000000 00aef270 007b9fec
    00aef248: 3cff08d8 60008690 00000000 00000001 08c57920 00000001
    00aef260: 00aef290 007b9f7c b65f3000 03a2e418 00aef2d0 007ba3e9
    00aef278: 60008690 00000810 08c57920 00000000 00aef2e8 007bc2bb
    00aef290: b46f0ad4 00000000 00aef2d8 007dc627 00400000 00000000
    00aef2a8: b46f0ac8 0040545f 00000000 00000000 00aef2f8 00187f74
    00aef2c0: 00000000 00000000 00000000 00000000 00000000 00000018
    00aef2d8: 00450e98 b4b8886c 00aef2e8 00217990 00450e98 b4b8886c
    00aef2f0: 00aef2f8 00217990 00aef308 0040545f 00331c39 0018b684
    00aef308: 00450e98 b4b8886c 00aef318 00217990 00450e98 b4b8886c
    00aef320: 00aef328 00217990 00aef338 0040545f 00331c39 0018b684
    00aef338: 00aef378 00187f74 b4b8886c 0018b684 00aef378 00187f1e
    00aef350: 00000000 3cff08f0 000000df 001882ea b4b8886c 00aef36c
    00aef368: 00000086 00af1bb0 00000000 00000000 00aef3a8 0081a428
    00aef380: 000000df 3cff08f0 00000086 00af1bb0 00000000 00aef3b0
    00aef398: 00000086 00000018 3fadc338 60091faa 207d7320 3fadc338
    00aef3b0: ffffffff 3fadc338 207d7320 6009e778 00000000 00000000
    00aef3c8: 0000000f 207d7348 3fadc320 00000000 00000000 00000000
    00aef3e0: 00000095 6009e689 3b4325d8 601899a1 b46f0c24 00aef410
    00aef3f8: 00aef414 60091f1f b4847cf0 6018999c b46f0cd4 00aef3f0
    00aef410: 207d79f0 3fadc320 b46f0ac8 3b4325d8 00000000 6018990a
    00aef428: 00000000 60189645 3b4325d9 3fadc320 00000000 00000000
    00aef440: 00aef428 207d79f0 b46f0ac8 3b4325d8 00000000 6018942b
    00aef458: 3fadc320 60096ad2 3b4325d8 3b4325d8 00000000 602a3d2d
    00aef470: 00000001 00000015 00000000 00000007 3fadc208 3fadc2a0
    00aef488: 3fadc2c8 00000000 00000000 00000000 00000007 210eaaf8
    00aef4a0: 00000000 00000000 00000000 3b432410 3fadc208 602a378f
    00aef4b8: 00000000 28dc6360 22c1cb48 22c1cad0 3b4325d8 00000000
    00aef4d0: 00000000 3fadb138 3fadb398 3b4325d8 3fadc208 60291ff3
    00aef4e8: 22c1cad0 22c1cb48 3b4325d8 28dc6360 3fadb398 3b432410
    00aef500: 3b432410 00000000 28dc6360 3fadb398 22c1cad0 60291975
    00aef518: 3b432411 3b432410 2294f138 602915e4 22c1cad0 2c815130
    00aef530: 00000000 00000000 00000000 3b432330 3b432410 28ae5b98
    00aef548: 22c1cd58 22c1cad0 22c1cb48 3b432330 2294f138 2c815130
    00aef560: b396a269 600a387a 28ae5b98 28ba7980 3b432410 60291115
    00aef578: 22c1cad0 22c1cb48 3b432330 2294f138 28ba7980 28ba7980
    00aef590: 3b432410 602910c9 22c1cad0 22c1cb48 3b432330 2294f138
    00aef5a8: 28ba7980 2294f138 22c1cd58 22c1cb48 3b432330 00000000
    00aef5c0: 2294f138 6029085c 22c1cad0 22c1cb48 3b432330 2294f138
    00aef5d8: 00000000 2141fb10 00000000 266580e0 00000003 2294f138
    00aef5f0: 21413680 00000000 00000000 00000000 00000000 00000000
    00aef608: 22c1cd58 28ba7980 22c1cad0 22c1cb48 3b432330 00000000
    00aef620: 00000000 00000000 3b432400 00000000 2951cc18 2c8150e0
    00aef638: 2b35b7b8 2a43d1d8 2b35b7b8 6028fd21 2294f138 6028fc15
    00aef650: 00aef638 2c814f98 2b35b7be 2b35b6f0 2c814f98 602a9c51
    00aef668: 2b35b6a1 2a43d1d8 00000000 602a9906 00aef660 2b35b6a1
    00aef680: 2b35b6a0 00000000 5e66e58f 00000109 2294f026 b46f0ac8
    00aef698: 266580e0 00000000 295227f0 2a43d1d8 2a43d198 602a965e
    00aef6b0: 295227f0 600920e3 2f3b1f38 2a43d1d8 2a43d198 6028d07b
    00aef6c8: 295227f0 602d89cb 00000000 00000001 00000001 2a43d1d8
    00aef6e0: 2a43d198 602d8038 2c8114d0 2a43d040 00000001 2a43d128
    Code:
    (* marks the word pointed to by the instruction pointer)
    0038da6c: 7e8b0d74 89f08908 c083107a 81b6eb08 01ffec7d 870f0000
    0038da84: 00000498 8bec4d8b e9c1f055 e84d8903 40ca748d 890c4e8b
    0038da9c: f139e44d c9853774 4d8b2b74 ec558be4 830c798b 01040a4c
    0038dab4: 08e8938d 55390000 0c7e89f0 74087789 e4458b07 04044883
    0038dacc: ebe4458b 241489a5 000957e8 f0458b00 8948c083 7d8bdc45
    0038dae4: dc4d8bf0 8954578b ca39e455 0091840f 768d0000 27bc8d00
    0038dafc: 00000000 8be4458b 508b0448 f8e1830c ffec7d81 77000001
    0038db14: dc553b09 03a0840f 4d3b0000 f0758bec 89dc7d8b 7a895456
    0038db2c: 6d840f08 81000003 0001fff9 d3870f00 89000002 f04d8bcf
    0038db44: 8d03efc1 8b40f954 f9890872 b81fe183 00000001 4d8be0d3
    0038db5c: 05ffc1f0 48b98409 8b000004 5789e47d 0c7e890c* 8954418b
    0038db74: 7a890877 dc7d8b08 39e44589 79850ff8 81ffffff 01ffec7d
    0038db8c: 23760000 8bf04d8b 748de855 4e8b40d1 89f1390c 0f74e44d
    0038dba4: 8b087e8b 7739ec75 da830f04 ff000001 458be845 e87d8bf0
    0038dbbc: 1fe86583 eac1fa89 4db60f05 f8748de8 90bc8b40 00000448
    0038dbd4: e0c1d089 d47d8908 000001bf 8be7d300 c983ec4d e04d8901
    0038dbec: 01f04d8b d84589c8 77d47d3b 75ff8507 00768d30 00d84581
    0038dc04: 42000001 0f03fa83 0000f187 f0458b00 4890b48b 85000004
    0038dc1c: d47589f6 758bde74 0001bfd8 c6830000 d47d8540 b48d1875
    0038dc34: 00000026 27bc8d00 00000000 c683ff01 d47d8508 4e8bf674
    0038dc4c: 89f1390c 1e75e44d d6f7fe89 21f0458b 758bd475 8bff01e4
    0038dc64: c683d44d 908c8908 00000448 458b82eb ec558be4 8304488b
    Loaded modules:
    (* denotes the module causing the exception)
    [JRockit] Platform error is: Permission denied (13)
    [JRockit] WARNING: readlink failed in symiGetCurrentExecutableFileName
    08048000-0804d5db (null)
    0055c000-0055de23 /lib/libdl.so.2
    0031c000-0044d5ef */lib/tls/libc.so.6
    002eb000-002ffc8b /lib/ld-linux.so.2
    00665000-0066bec7 /lib/libnss_compat.so.2
    006ad000-006be0db /lib/libnsl.so.1
    00c7e000-00c85f03 /lib/libnss_nis.so.2
    00fef000-00ff92cf /lib/libnss_files.so.2
    006c2000-008e2427 /usr/java/jrockit-R26.0.0-jdk1.5.0_04/jre/lib/i386/jrockit/libjvm.so
    00211000-0021d8d1 /lib/tls/libpthread.so.0
    00a84000-00aa4e5f /lib/tls/libm.so.6
    00111000-001311f7 /usr/java/jrockit-R26.0.0-jdk1.5.0_04/jre/lib/i386/libjava.so
    00faf000-00fb97bb /usr/java/jrockit-R26.0.0-jdk1.5.0_04/jre/lib/i386/libverify.so
    00c07000-00c0cf13 /usr/java/jrockit-R26.0.0-jdk1.5.0_04/jre/lib/i386/native_threads/libhpi.so
    0017a000-0018a4f8 /usr/java/jrockit-R26.0.0-jdk1.5.0_04/jre/lib/i386/libnet.so
    0018c000-0018f133 /lib/libnss_dns.so.2
    00f61000-00f6f3ff /lib/libresolv.so.2
    "http-80-Processor4" id=55 idx=0x24 tid=2959 lastJavaFrame=0xaef400
    Stack 0: start=0xacc000, end=0xaf2000, guards=0xad1000 (ok), forbidden=0xacf000
    Thread Stack Trace:
    [JRockit] Platform error is: Permission denied (13)
    [JRockit] WARNING: readlink failed in symiGetCurrentExecutableFileName
    at intmalloc+365(interp.c)@0x38db6d
    [JRockit] Platform error is: Permission denied (13)
    [JRockit] WARNING: readlink failed in symiGetCurrentExecutableFileName
    at __libc_malloc+141()@0x38ce7d
    [JRockit] Platform error is: Permission denied (13)
    [JRockit] WARNING: readlink failed in symiGetCurrentExecutableFileName
    at <unknown>(???.c)@0x121569
    [JRockit] Platform error is: Permission denied (13)
    Additional information is available in:
    //jrockit.2901.dump
    No snapshot file (core dump) will be created because core dumps have been
    disabled. To enable core dumping, try "ulimit -c unlimited"
    before starting JRockit again.
    If you see this dump, please open a support case with BEA and
    supply as much information as you can on your system setup and
    the program you were running. You can also search for solutions
    to your problem at http://forums.bea.com in
    the forum jrockit.developer.interest.general.
    Extended, platform specific info:
    libc release: 2.3.2-stable
    Elf headers:
    libc ehdrs: EI: 7f454c46010101000000000000000000 ET: 3 EM: 3 V: 1 ENTRY: 00015880 PHOFF: 00000034 SHOFF: 0017e714 EF: 0x0 HS: 52 PS: 32 PHN; 9 SS: 40 SHN: 61 STIDX: 60
    libpthread ehdrs: EI: 7f454c46010101000000000000000000 ET: 3 EM: 3 V: 1 ENTRY: 00004710 PHOFF: 00000034 SHOFF: 00017800 EF: 0x0 HS: 52 PS: 32 PHN; 8 SS: 40 SHN: 34 STIDX: 33
    libjvm ehdrs: EI: 7f454c46010101000000000000000000 ET: 3 EM: 3 V: 1 ENTRY: 0004dd60 PHOFF: 00000034 SHOFF: 00280c74 EF: 0x0 HS: 52 PS: 32 PHN; 3 SS: 40 SHN: 20 STIDX: 17
    ===== END DUMP ===============================================================
    Any ideas what may be causing the illegal memory access? Any help is much appreciated!
    Thanks,
    Steve

  • To run infopackage in a dialog mode

    Hello
    Is it possible to run infopackage in dialog mode and how?
    Thanks

    we have two options in the schedule tab of the infopackage
    1)start immediately
    2)start in background
    if ur dialogue mode means immediate start u need to check the start immediately and run the infopackage
    Regards,
    MADhu

  • Cannot set Start Mode using SQL Server Configuration Manager

    I have SQL Server 2012 Express installed on Windows 8.1 and am trying to change the Start Mode to Manual using SQL Server Configuration Manager. However, when I open the Properties dialog and use the drop-down for Start Mode on the Service tab the drop-down
    is inoperative. A "vertical bar" appears but no options.
    Is there some other way that I can change the Start Mode?

    I have SQL Server 2012 Express installed on Windows 8.1 and am trying to change the Start Mode to Manual using SQL Server Configuration Manager. However, when I open the Properties dialog and use the drop-down for Start Mode on the Service tab the drop-down
    is inoperative. A "vertical bar" appears but no options.
    Is there some other way that I can change the Start Mode?
    I have seen that on my laptop as well and it was due to display /resolution setting. Please see if that helps you. BTW, as already answered, services.msc is another way of changing it.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • I use Session Manger and love this add on. Now for some reason I must start Firefox in Safe Mode and then close it and then reopen normally and it appears that session manger is causing this problem. How do I fix this??

    I suddenly need to start Firefox in Safe Mode or it will not open. The problem after deleting extensions and adding profiles appears to be Session Manager which I have been using successfully for along time and really enjoy its usefulness. is there a fix to this problem?? Thank you.

    I'm not using that extension, so I do not know which files are used in addition to sessionstore.js and you need to check the profile folder yourself for suspect files.
    This can be a problem with the file [http://kb.mozillazine.org/sessionstore.js sessionstore.js] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]<br />
    Delete the files sessionstore.js and sessionstore.bak and any existing files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js .
    See http://kb.mozillazine.org/Session_Restore

  • My MB is always starting up in safe mode... why? What to do to start-up normally? Please help.

    Hi,
    I am frequently having troubles with my MB. Different types of troubles. Couldn't solve a single one yet.
    I have performed reboot MB in safe mode-- hold down the left shift key after the start up tone till the spinning gear appeared.
    Few hours back i performed that, and since then it just starting up in safe mode without holding the any shift key. I have password protected log-in and each time the dialog box shown the safe mode, not the normal boot as it used to be. I restarted so many times, but same result.
    I started-up by holding down the Option key, dialog box showing the same thing "safe mode" and same result.
    I started-up in single user mode, and then typed reboot, then pressed enter/return button, but dialog box shown the same and it started up in safe mode after entering the password.
    While in the safe mode, i have selected the Mac OS X 10.4.11 from the preference pane, then restarted, but all produced the same result, same dialog box showing the safe mode.
    I couldn't take the screen shot of that dialog box that appears before starting up.
    I am currently using the internet while in safe mode, and using ethernet adapter- a AirStream 1100 F25 external modem attached to the USB port. I don't know if that is good for my MB to use internet on the safe mode.
    I used disk utility and verified the disk during the safe mode, i don't know if that is right or wrong to perform that utility in safe mode, but it all appeared as normal. You can see that from the following image.
    Few days back, i performed the disk utility to verify disk while on the normal boot. But the result shown the red marks, please see the following image for details.
    Hardware Overview:
      Model Name:          MacBook
      Model Identifier:          MacBook2,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache (per processor):          4 MB
      Memory:          1 GB
      Bus Speed:          667 MHz
      Boot ROM Version:          MB21.00A5.B07
      SMC Version:          1.13f3
      Serial Number:          4*********M
      Sudden Motion Sensor:
      State:          Enabled
    BANK 0/DIMM0:
      Size:          512 MB
      Type:          DDR2 SDRAM
      Speed:          667 MHz
      Status:          OK
    BANK 1/DIMM1:
      Size:          512 MB
      Type:          DDR2 SDRAM
      Speed:          667 MHz
      Status:          OK
    System Power Settings:
      AC Power:
      System Sleep Timer (Minutes):          10
      Disk Sleep Timer (Minutes):          10
      Display Sleep Timer (Minutes):          10
      Automatic Restart On Power Loss:          No
      Wake On AC Change:          No
      Wake On Clamshell Open:          Yes
      Wake On LAN:          Yes
      Display Sleep Uses Dim:          Yes
      Battery Power:
      System Sleep Timer (Minutes):          5
      Disk Sleep Timer (Minutes):          10
      Display Sleep Timer (Minutes):          1
      Wake On AC Change:          No
      Wake On Clamshell Open:          Yes
      Display Sleep Uses Dim:          Yes
      Reduce Brightness:          Yes
    Battery Information:
      Battery Installed:          Yes
      First low level warning:          No
      Full Charge Capacity (mAh):          2745
      Remaining Capacity (mAh):          2745
      Amperage (mA):          133
      Voltage (mV):          12575
      Cycle Count:          507
    AC Charger Information:
      Connected:          Yes
      Charging:          No
    Hardware Configuration:
      UPS Installed:          No
    Intel ICH7-M AHCI:
      Vendor:          Intel
      Product:          ICH7-M AHCI
      Speed:          1.5 Gigabit
      Description:          AHCI Version 1.10 Supported
    TOSHIBA MK1234GSX:
      Capacity:          111.79 GB
      Model:          TOSHIBA MK1234GSX
      Revision:          AH008B
      Serial Number:          Z6M7T4FTT
      Native Command Queuing:          Yes
      Queue Depth:          8
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk0
      OS9 Drivers:          No
      S.M.A.R.T. status:          Verified
      Volumes:
    Macintosh HD:
      Capacity:          111.47 GB
      Available:          24.09 GB
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk0s2
      Mount Point:          /
    TOSHIBA MK1234GSX:
      Capacity:          111.79 GB
      Model:          TOSHIBA MK1234GSX
      Revision:          AH008B
      Serial Number:          Z6M7T4FTT
      Native Command Queuing:          Yes
      Queue Depth:          8
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk0
      OS9 Drivers:          No
      S.M.A.R.T. status:          Verified
      Volumes:
    Macintosh HD:
      Capacity:          111.47 GB
      Available:          24.09 GB
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk0s2
      Mount Point:          /
    System Software Overview:
      System Version:          Mac OS X 10.4.11 (8S2167)
      Kernel Version:          Darwin 8.11.1
      Boot Volume:          Macintosh HD
    Please help me out. Let me know how to start-up normally. By the way, my superdrive is not detecting DVDs including the OS dvds, but it read and write the CDs. So, It is not possible to reinstall OS early, at least not before the having the back up of the data. Please help me with contingency plan/s or as you think fit.
    Thank you. Look forward to your reply.
    <Personal Information Edited by Host> 

    Maximillianmann,
    depending upon how full “almost full” actually is, that could be the problem.
    You can try this, if you have Mac OS X 10.7 or newer installed, to see if it’s not related to your disk being almost full: boot your MacBook Pro into Recovery mode by holding down a Command key and the R key as it starts up. Once the Mac OS X Utilities menu appears, select Disk Utility. On the left-hand side of the Disk Utility window, select your internal disk’s boot partition (typically called “Macintosh HD”). On the right-hand side, press the Verify Disk button if it’s not greyed out; if it is greyed out, or if it reports that errors were found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu to restart in normal mode. Once you hear the startup chime, try booting into Safe mode; does it let you do so now?

  • Error while creating BOM using BAPI (urgent)

    Hi all,
    Thanks for ur help. i am getting some error while creting a BOM using that BAPI
    BAPI_MATERIAL_BOM_GROUP_CREATE.
    errors are
    1) Error/warning when checking the structure of the BOM group with ID =
    2)Alternative does not exist for material assignment to material BAPIBOMFG1
    is it mandatory to pass the bom group id to this bapi?
    In bomgroup structure , i am not passing anything to BOM_GROUP field.
    is it mandatory to pass this data? i am giving my coding below.plz suggest , where i am making mistake. it is urgent.
    regards
    pabitra
    report z_bom_create
    line-size 132
    line-count 65
    no standard page heading.
    *-- DATA DECLARATION--
    include <icon> .
    *---Tables
    tables : s076, t100, marc .
    *---Types
    types : begin of t_upload, " Upload file data
    col1(18),
    col2(10),
    col3(30),
    col4(12),
    col5(50),
    end of t_upload,
    begin of t_split,
    location like stpu-ebort,
    end of t_split.
    data:begin of i_return occurs 10.
    include structure bapiret2.
    data:end of i_return.
    types:begin of t_item."occurs 10.
    include structure BAPI1080_ITM_C.
    types:end of t_item.
    types:begin of t_subitem." occurs 10.
    include structure BAPI1080_SUI_C.
    types:end of t_subitem.
    types:begin of t_header." occurs 10.
    include structure BAPI1080_MBM_C.
    types:end of t_header.
    types:begin of t_bomgroup." occurs 10.
    include structure BAPI1080_BGR_C.
    types:end of t_bomgroup.
    types:begin of t_variant." occurs 10.
    include structure BAPI1080_BOM_C.
    types:end of t_variant.
    *--- Tables
    data: i_upload type standard table of t_upload, " to hold data
    i_upload1 type standard table of t_upload,
    i_split type standard table of t_split,
    i_item type standard table of t_item,
    i_subitem type standard table of t_subitem,
    i_header type standard table of t_header,
    i_bomgroup type standard table of t_bomgroup,
    i_variant type standard table of t_variant.
    data: wa_upload type t_upload, " to hold file data,
    wa_upload1 type t_upload, " to hold plan data,
    wa_split type t_split,
    wa_item type t_item,
    wa_subitem type t_subitem,
    wa_header type t_header,
    wa_bomgroup type t_bomgroup,
    wa_variant type t_variant.
    data:v_matnr like mara-matnr,
    v_start like sy-index,
    v_count(3) type c.
    *--Constants
    data: c_dot type c value '.',
    c_x type c value 'X',
    c_comma type c value ','.
    -------Selection Screen Design -
    *Selection screen for input of upload file address
    selection-screen skip 2.
    selection-screen begin of block blk1 with frame.
    parameters : p_file like rlgrap-filename obligatory .
    parameters : p_matnr like mara-matnr obligatory,
    p_werks like marc-werks obligatory memory id wrk,
    p_stlan like afko-stlan obligatory default '1' .
    selection-screen end of block blk1.
    ---AT SELECTION SCREEN -
    at selection-screen on value-request for p_file.
    *--For popup to select file.
    perform f_give_help.
    at selection-screen on p_matnr.
    perform f_check_matnr.
    -----START OF SELECTION -
    *--Data upload using WS_Upload.
    perform f_get_data.
    perform f_get_bom_data.
    perform f_get_bom_data1.
    perform f_call_bapi.
    *& Form f_give_help
    text
    --> p1 text
    <-- p2 text
    FORM f_give_help.
    call function 'WS_FILENAME_GET'
    exporting
    mask = ',.,..'
    mode = 'O'
    importing
    filename = p_file
    exceptions
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    others = 5.
    if sy-subrc <> 0 and not sy-msgty is initial.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    ENDFORM. " f_give_help
    *& Form f_check_matnr
    text
    --> p1 text
    <-- p2 text
    FORM f_check_matnr.
    CALL FUNCTION 'BAPI_MAT_BOM_EXISTENCE_CHECK'
    EXPORTING
    MATERIAL = p_matnr
    PLANT = p_werks
    BOMUSAGE = '1'
    VALID_FROM_DATE =
    VALID_TO_DATE =
    TABLES
    RETURN = i_return.
    ENDFORM. " f_check_matnr
    *& Form f_get_data
    text
    --> p1 text
    <-- p2 text
    FORM f_get_data.
    call function 'WS_UPLOAD'
    exporting
    CODEPAGE = ' '
    filename = p_file
    filetype = 'DAT'
    tables
    data_tab = i_upload
    exceptions
    conversion_error = 1
    file_open_error = 2
    file_read_error = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    gui_refuse_filetransfer = 8
    customer_error = 9
    others = 10
    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. " f_get_data
    *& Form f_get_bom_data
    text
    --> p1 text
    <-- p2 text
    FORM f_get_bom_data.
    delete i_upload where col1 is initial.
    delete i_upload where col1 cs 'ITEM'.
    read table i_upload into wa_upload with key col1 = 'FINISHED GOOD:'.
    if sy-subrc = 0.
    v_matnr = wa_upload-col2.
    if v_matnr <> p_matnr.
    message e001(zl) with p_matnr.
    endif.
    else.
    message e000(zl).
    endif.
    ENDFORM. " f_get_bom_data
    *& Form f_get_bom_data1
    text
    --> p1 text
    <-- p2 text
    FORM f_get_bom_data1.
    loop at i_upload into wa_upload where col1 CS 'FINISHED GOOD'.
    v_start = sy-tabix + 1.
    loop at i_upload into wa_upload1 from v_start .
    if wa_upload1-col1 cs 'FINISHED GOOD'.
    exit.
    else.
    perform f_split_upload_data.
    endif.
    endloop.
    endloop.
    ENDFORM. " f_get_bom_data1
    *& Form f_split_upload_data
    text
    --> p1 text
    <-- p2 text
    FORM f_split_upload_data.
    if not wa_upload1-col5 is initial.
    if wa_upload1-col5 cs c_comma.
    split wa_upload1-col5 at c_comma into table i_split.
    loop at i_split into wa_split.
    v_count = v_count + 1.
    endloop.
    if wa_upload1-col4 <> v_count.
    wa_upload1-col4 = v_count.
    endif.
    clear wa_upload1-col5.
    clear wa_split.
    loop at i_split into wa_split.
    wa_upload1-col5 = wa_split-location.
    append wa_upload1 to i_upload1.
    endloop.
    else.
    append wa_upload1 to i_upload1.
    endif.
    else.
    append wa_upload1 to i_upload1.
    endif.
    ENDFORM. " f_split_upload_data
    *& Form f_call_bapi
    text
    --> p1 text
    <-- p2 text
    FORM f_call_bapi.
    clear wa_upload1.
    wa_header-material = p_matnr.
    wa_header-plant = p_werks.
    wa_header-bom_usage = p_stlan.
    append wa_header to i_header.
    wa_bomgroup-bom_usage = p_stlan.
    wa_bomgroup-created_in_plant = p_werks.
    append wa_bomgroup to i_bomgroup.
    wa_variant-alternative_bom = 1.
    wa_variant-base_qty = 1.
    wa_variant-valid_from_date = sy-datum.
    append wa_variant to i_variant.
    loop at i_upload1 into wa_upload1.
    wa_item-item_no = wa_upload1-col1.
    wa_item-item_cat = wa_upload1-col2.
    wa_item-component = wa_upload1-col3.
    wa_item-comp_qty = wa_upload1-col4.
    append wa_item to i_item.
    wa_subitem-subitem_qty = '1'.
    wa_subitem-installation_point = wa_upload1-col5.
    append wa_subitem to i_subitem.
    endloop.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
    EXPORTING
    TESTRUN = ' '
    ALL_ERROR = ' '
    TABLES
    BOMGROUP = i_bomgroup
    VARIANTS = i_variant
    ITEMS = i_item
    SUBITEMS = i_subitem
    MATERIALRELATIONS = i_header
    ITEMASSIGNMENTS =
    SUBITEMASSIGNMENTS =
    TEXTS =
    RETURN = i_return.
    if i_return[] is initial.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    *write: /'BOM created:', stpo-stlnr.
    else.
    *if not i_return[] is initial.
    loop at i_return.
    IF i_return-TYPE = 'E'.
    errmsg-type = i_return-type.
    errmsg-line = i_return-message.
    append errmsg.
    ULINE /1(108).
    write:/ icon_led_RED as icon, i_return-MESSAGE.
    ULINE /1(108).
    ENDIF.
    IF i_return-TYPE = 'W'.
    errmsg-type = i_return-type.
    errmsg-line = i_return-message.
    append errmsg.
    ULINE /1(108).
    write:/ icon_led_YELLOW as icon, i_return-MESSAGE.
    ULINE /1(108).
    ENDIF.
    ENDLOOP.
    *write: / i_return-id, i_return-number, i_return-message(80).
    *endloop.
    *write: /'Error'.
    endif.
    ENDFORM. " f_call_bapi

    Hi shashi,
    Thanks for ur help.i tried after passing the group but it is giving same error.
    i am getting the error
    "Error/warning when checking the structure of the BOM group with ID= test"
    i am gettig the above error when i put bomgroup-bom_group_identification = 'TEST'.
    whatever i am putting in this field, the same error is comming having different value.
    if i put--- bomgroup-bom_group_identification = ' '. then i will get error
    "Error/warning when checking the structure of the BOM group with ID=
    if i omit that field, then also , i am getting same error.
    plz suggest what r the fields i need to pass for BOMGROUP structure for that bapi?
    regards
    pabitra

  • Change only material qunatity in sales order by using BAPI

    Hi All,
    How to change only the material quantity in existing sales order by using BAPI.
    Please help me in this regards.
    Regards
    Deekshitha.

    Hi
    See the sample code and do accordingly
    REPORT Z_SALES_ORDER_CHANGE
    NO STANDARD PAGE HEADING
    LINE-SIZE 132
    LINE-COUNT 65(0)
    MESSAGE-ID ZZ.
    TABLES: VBAP.
    DATA:
    V_FILEIN(90) TYPE C,
    V_RECIN TYPE I,
    V_RECVBAP TYPE I,
    V_RECORDER TYPE I,
    V_VBELN LIKE VBAP-VBELN,
    ORDERHEADERINX LIKE BAPISDH1X.
    DATA: BEGIN OF I_ORDERS OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    POSNR LIKE VBAP-POSNR,
    BRGEW(18) TYPE C,
    VOLUM(18) TYPE C,
    END OF I_ORDERS.
    DATA: BEGIN OF I_OUTPUT OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    POSNR LIKE VBAP-POSNR,
    GEWEI LIKE VBAP-GEWEI,
    BRGEW LIKE VBAP-BRGEW,
    VOLUM LIKE VBAP-VOLUM,
    CKWGT TYPE C,
    CKVOL TYPE C,
    END OF I_OUTPUT.
    DATA: BEGIN OF ORDERITEMIN OCCURS 0.
    INCLUDE STRUCTURE BAPISDITM.
    DATA: END OF ORDERITEMIN.
    DATA: BEGIN OF ORDERITEMINX OCCURS 0.
    INCLUDE STRUCTURE BAPISDITMX.
    DATA: END OF ORDERITEMINX.
    DATA: BEGIN OF RETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF RETURN.
    DATA: BEGIN OF BAPIRETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF BAPIRETURN.
    PARAMETERS:
    P_PATH(45) TYPE C DEFAULT '/usr/users/ftpsapom/' LOWER CASE,
    P_FNAME(32) TYPE C DEFAULT '/sweetjo.txt' LOWER CASE.
    START-OF-SELECTION.
    CONCATENATE PATH AND FILE NAME INTO ONE VARIABLE
    CONCATENATE P_PATH P_FNAME INTO V_FILEIN.
    OPEN DATASET
    IF V_FILEIN IS INITIAL.
    MESSAGE E002 WITH 'FILE' V_FILEIN 'DOES NOT CONTAIN ANY DATA!'.
    ELSE.
    OPEN DATASET V_FILEIN
    FOR INPUT
    IN TEXT MODE.
    IF SY-SUBRC = 0.
    READ DATASET
    DO.
    READ DATASET V_FILEIN INTO I_ORDERS.
    IF SY-SUBRC = 0.
    APPEND I_ORDERS.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    CLOSE DATASET
    CLOSE DATASET V_FILEIN.
    IF SY-SUBRC <> 0.
    MESSAGE E002 WITH 'ERROR - CLOSING' V_FILEIN.
    ENDIF.
    ELSE.
    MESSAGE E002 WITH 'ERROR - COULD NOT OPEN' V_FILEIN.
    ENDIF.
    ENDIF.
    SORT AND REMOVE DUPLICATES FROM I_ORDERS
    SORT I_ORDERS BY VBELN POSNR.
    DELETE ADJACENT DUPLICATES FROM I_ORDERS.
    POPULATE I_OUTPUT
    LOOP AT I_ORDERS.
    SHIFT I_ORDERS-POSNR LEFT DELETING LEADING SPACE.
    CONCATENATE '0' I_ORDERS-POSNR INTO I_ORDERS-POSNR.
    SELECT SINGLE BRGEW VOLUM
    FROM VBAP
    INTO (VBAP-BRGEW, VBAP-VOLUM)
    WHERE VBELN = I_ORDERS-VBELN
    AND POSNR = I_ORDERS-POSNR.
    IF SY-SUBRC = 0.
    IF VBAP-BRGEW = 0.
    I_OUTPUT-CKWGT = 'X'.
    ENDIF.
    IF VBAP-VOLUM = 0.
    I_OUTPUT-CKVOL = 'X'.
    ENDIF.
    I_OUTPUT-VBELN = I_ORDERS-VBELN.
    I_OUTPUT-POSNR = I_ORDERS-POSNR.
    I_OUTPUT-GEWEI = 'ST'.
    I_OUTPUT-BRGEW = I_ORDERS-BRGEW.
    I_OUTPUT-VOLUM = I_ORDERS-VOLUM.
    APPEND I_OUTPUT.
    CLEAR: I_OUTPUT.
    ENDIF.
    V_RECIN = V_RECIN + 1.
    ENDLOOP.
    POPULATE BAPI DATA AND RUN BAPI
    CLEAR: ORDERHEADERINX, ORDERITEMIN, ORDERITEMINX,
    RETURN, BAPIRETURN.
    REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
    ORDERHEADERINX-UPDATEFLAG = 'U'.
    LOOP AT I_OUTPUT WHERE CKWGT = 'X' OR CKVOL = 'X'.
    V_RECVBAP = V_RECVBAP + 1.
    IF I_OUTPUT-VBELN <> V_VBELN AND SY-TABIX <> 1.
    V_RECORDER = V_RECORDER + 1.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = V_VBELN
    ORDER_HEADER_INX = ORDERHEADERINX
    TABLES
    RETURN = RETURN
    ORDER_ITEM_IN = ORDERITEMIN
    ORDER_ITEM_INX = ORDERITEMINX.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPIRETURN.
    WRITE OUT RETURN
    LOOP AT RETURN.
    WRITE: / RETURN.
    ENDLOOP.
    WRITE: / BAPIRETURN.
    SKIP.
    CLEAR: ORDERITEMIN, ORDERITEMINX,
    RETURN, BAPIRETURN.
    REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
    ENDIF.
    ORDERITEMIN-ITM_NUMBER = I_OUTPUT-POSNR.
    ORDERITEMIN-UNTOF_WGHT = I_OUTPUT-GEWEI.
    IF NOT I_OUTPUT-CKWGT IS INITIAL.
    ORDERITEMIN-GROSS_WGHT = I_OUTPUT-BRGEW.
    ORDERITEMINX-GROSS_WGHT = 'X'.
    ENDIF.
    IF NOT I_OUTPUT-CKVOL IS INITIAL.
    ORDERITEMIN-VOLUME = I_OUTPUT-VOLUM.
    ORDERITEMINX-VOLUME = 'X'.
    ENDIF.
    APPEND ORDERITEMIN.
    ORDERITEMINX-ITM_NUMBER = I_OUTPUT-POSNR.
    ORDERITEMINX-UNTOF_WGHT = 'X'.
    ORDERITEMINX-UPDATEFLAG = 'U'.
    APPEND ORDERITEMINX.
    V_VBELN = I_OUTPUT-VBELN.
    ENDLOOP.
    RUN BAPI ON LAST ORDER
    IF NOT ORDERITEMIN IS INITIAL.
    V_RECORDER = V_RECORDER + 1.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = V_VBELN
    ORDER_HEADER_INX = ORDERHEADERINX
    TABLES
    RETURN = RETURN
    ORDER_ITEM_IN = ORDERITEMIN
    ORDER_ITEM_INX = ORDERITEMINX.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPIRETURN.
    WRITE OUT RETURN
    LOOP AT RETURN.
    WRITE: / RETURN.
    ENDLOOP.
    WRITE: / BAPIRETURN.
    SKIP.
    ENDIF.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT FROM FILE ', V_RECIN.
    SKIP.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT OF LINES TO CHANGE ', V_RECVBAP.
    SKIP.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT OF ORDERS TO CHANGE ', V_RECORDER.
    SKIP.
    TOP OF PAGE
    TOP-OF-PAGE.
    WRITE:/1(5) TEXT-H01, 6(8) SY-DATUM MM/DD/YY,
    100(8) TEXT-H02, 126(8) SY-PAGNO.
    WRITE:/1(5) TEXT-H03, 6(8) SY-UZEIT USING EDIT MASK '__:__:__',
    20(77) TEXT-H04,
    100(8) TEXT-H05, 108(25) SY-REPID.
    WRITE:/1(6) TEXT-H06, 8(12) SY-UNAME,
    20(4) TEXT-H07, 25(32) SY-HOST,
    100(13) TEXT-H08, 121(8) SY-SYSID,
    129 '/', 130(3) SY-MANDT.
    ULINE.
    SKIP.
    Reward points if useful
    Regards
    Anji

  • Firefox 3.6.9 not starting, no crash dialog, no temporary entry in task manager, no entry in Windows Event Log.

    FF won't start, even in safe mode. No crash dialog or file is generated. This was a fresh install of FF 3.6.9, which didn't generate any error messages while installing. There is a crash file that appears to be related to the installation, named "InstallTime20100824153629". The file has just one line of text (all digits): 1283985675 .

    Problem solved, although I'm unsure of exact cause, since I did a number of other software installs between succeeding FF installs. But I have 2 most likely suspects. The particular PC I'm using was salvaged from another department in my company after being hit with a virus that was quite severe and the dept admins just decided to replace it. While installing other software, I got an error about the replacement PC having the same name in the company domain as this salvage one, although MS-IE-8 ran OK under that condition (now fixed). Also, while uninstalling FF, I had left a console CD'd to the FF run directory so as to add the safe mode option, and the uninstall program never mentioned that it couldn't delete some FF-related files, it just didn't delete them. It wasn't until I went to manually delete them with Win-Explorer that I got a non-deletable message.
    For the duplicate machine name problem, it wouldn't be proper to ask you folks at Mozilla to try to detect it, but for the non-deletable file problem, I would recommend that you provide some type of warning message in the uninstall program when some program files can't be deleted.
    - Dennis McNulty, Portland, OR, USA

  • Change of open sales order : using BAPI

    Hi
       this  is ravi
                      can any one help me on this  topic
            1)change of open sales order  using BAPI .With appropriate reason( like header level reason)
                       thanks & regards

    hI,
        chk this FM BAPI_SALESORDER_PROXY_UPLOAD how the FM BAPI_SALESORDER_CHANGE was used
    Check this code,
    REPORT Z_SALES_ORDER_CHANGE
    NO STANDARD PAGE HEADING
    LINE-SIZE 132
    LINE-COUNT 65(0)
    MESSAGE-ID ZZ.
    TABLES: VBAP.
    DATA:
    V_FILEIN(90) TYPE C,
    V_RECIN TYPE I,
    V_RECVBAP TYPE I,
    V_RECORDER TYPE I,
    V_VBELN LIKE VBAP-VBELN,
    ORDERHEADERINX LIKE BAPISDH1X.
    DATA: BEGIN OF I_ORDERS OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    POSNR LIKE VBAP-POSNR,
    BRGEW(18) TYPE C,
    VOLUM(18) TYPE C,
    END OF I_ORDERS.
    DATA: BEGIN OF I_OUTPUT OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    POSNR LIKE VBAP-POSNR,
    GEWEI LIKE VBAP-GEWEI,
    BRGEW LIKE VBAP-BRGEW,
    VOLUM LIKE VBAP-VOLUM,
    CKWGT TYPE C,
    CKVOL TYPE C,
    END OF I_OUTPUT.
    DATA: BEGIN OF ORDERITEMIN OCCURS 0.
    INCLUDE STRUCTURE BAPISDITM.
    DATA: END OF ORDERITEMIN.
    DATA: BEGIN OF ORDERITEMINX OCCURS 0.
    INCLUDE STRUCTURE BAPISDITMX.
    DATA: END OF ORDERITEMINX.
    DATA: BEGIN OF RETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF RETURN.
    DATA: BEGIN OF BAPIRETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF BAPIRETURN.
    PARAMETERS:
    P_PATH(45) TYPE C DEFAULT '/usr/users/ftpsapom/' LOWER CASE,
    P_FNAME(32) TYPE C DEFAULT '/sweetjo.txt' LOWER CASE.
    START-OF-SELECTION.
    CONCATENATE PATH AND FILE NAME INTO ONE VARIABLE
    CONCATENATE P_PATH P_FNAME INTO V_FILEIN.
    OPEN DATASET
    IF V_FILEIN IS INITIAL.
    MESSAGE E002 WITH 'FILE' V_FILEIN 'DOES NOT CONTAIN ANY DATA!'.
    ELSE.
    OPEN DATASET V_FILEIN
    FOR INPUT
    IN TEXT MODE.
    IF SY-SUBRC = 0.
    READ DATASET
    DO.
    READ DATASET V_FILEIN INTO I_ORDERS.
    IF SY-SUBRC = 0.
    APPEND I_ORDERS.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    CLOSE DATASET
    CLOSE DATASET V_FILEIN.
    IF SY-SUBRC <> 0.
    MESSAGE E002 WITH 'ERROR - CLOSING' V_FILEIN.
    ENDIF.
    ELSE.
    MESSAGE E002 WITH 'ERROR - COULD NOT OPEN' V_FILEIN.
    ENDIF.
    ENDIF.
    SORT AND REMOVE DUPLICATES FROM I_ORDERS
    SORT I_ORDERS BY VBELN POSNR.
    DELETE ADJACENT DUPLICATES FROM I_ORDERS.
    POPULATE I_OUTPUT
    LOOP AT I_ORDERS.
    SHIFT I_ORDERS-POSNR LEFT DELETING LEADING SPACE.
    CONCATENATE '0' I_ORDERS-POSNR INTO I_ORDERS-POSNR.
    SELECT SINGLE BRGEW VOLUM
    FROM VBAP
    INTO (VBAP-BRGEW, VBAP-VOLUM)
    WHERE VBELN = I_ORDERS-VBELN
    AND POSNR = I_ORDERS-POSNR.
    IF SY-SUBRC = 0.
    IF VBAP-BRGEW = 0.
    I_OUTPUT-CKWGT = 'X'.
    ENDIF.
    IF VBAP-VOLUM = 0.
    I_OUTPUT-CKVOL = 'X'.
    ENDIF.
    I_OUTPUT-VBELN = I_ORDERS-VBELN.
    I_OUTPUT-POSNR = I_ORDERS-POSNR.
    I_OUTPUT-GEWEI = 'ST'.
    I_OUTPUT-BRGEW = I_ORDERS-BRGEW.
    I_OUTPUT-VOLUM = I_ORDERS-VOLUM.
    APPEND I_OUTPUT.
    CLEAR: I_OUTPUT.
    ENDIF.
    V_RECIN = V_RECIN + 1.
    ENDLOOP.
    POPULATE BAPI DATA AND RUN BAPI
    CLEAR: ORDERHEADERINX, ORDERITEMIN, ORDERITEMINX,
    RETURN, BAPIRETURN.
    REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
    ORDERHEADERINX-UPDATEFLAG = 'U'.
    LOOP AT I_OUTPUT WHERE CKWGT = 'X' OR CKVOL = 'X'.
    V_RECVBAP = V_RECVBAP + 1.
    IF I_OUTPUT-VBELN <> V_VBELN AND SY-TABIX <> 1.
    V_RECORDER = V_RECORDER + 1.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = V_VBELN
    ORDER_HEADER_INX = ORDERHEADERINX
    TABLES
    RETURN = RETURN
    ORDER_ITEM_IN = ORDERITEMIN
    ORDER_ITEM_INX = ORDERITEMINX.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPIRETURN.
    WRITE OUT RETURN
    LOOP AT RETURN.
    WRITE: / RETURN.
    ENDLOOP.
    WRITE: / BAPIRETURN.
    SKIP.
    CLEAR: ORDERITEMIN, ORDERITEMINX,
    RETURN, BAPIRETURN.
    REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
    ENDIF.
    ORDERITEMIN-ITM_NUMBER = I_OUTPUT-POSNR.
    ORDERITEMIN-UNTOF_WGHT = I_OUTPUT-GEWEI.
    IF NOT I_OUTPUT-CKWGT IS INITIAL.
    ORDERITEMIN-GROSS_WGHT = I_OUTPUT-BRGEW.
    ORDERITEMINX-GROSS_WGHT = 'X'.
    ENDIF.
    IF NOT I_OUTPUT-CKVOL IS INITIAL.
    ORDERITEMIN-VOLUME = I_OUTPUT-VOLUM.
    ORDERITEMINX-VOLUME = 'X'.
    ENDIF.
    APPEND ORDERITEMIN.
    ORDERITEMINX-ITM_NUMBER = I_OUTPUT-POSNR.
    ORDERITEMINX-UNTOF_WGHT = 'X'.
    ORDERITEMINX-UPDATEFLAG = 'U'.
    APPEND ORDERITEMINX.
    V_VBELN = I_OUTPUT-VBELN.
    ENDLOOP.
    RUN BAPI ON LAST ORDER
    IF NOT ORDERITEMIN IS INITIAL.
    V_RECORDER = V_RECORDER + 1.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = V_VBELN
    ORDER_HEADER_INX = ORDERHEADERINX
    TABLES
    RETURN = RETURN
    ORDER_ITEM_IN = ORDERITEMIN
    ORDER_ITEM_INX = ORDERITEMINX.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPIRETURN.
    WRITE OUT RETURN
    LOOP AT RETURN.
    WRITE: / RETURN.
    ENDLOOP.
    WRITE: / BAPIRETURN.
    SKIP.
    ENDIF.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT FROM FILE ', V_RECIN.
    SKIP.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT OF LINES TO CHANGE ', V_RECVBAP.
    SKIP.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT OF ORDERS TO CHANGE ', V_RECORDER.
    SKIP.
    TOP OF PAGE
    TOP-OF-PAGE.
    WRITE:/1(5) TEXT-H01, 6(8) SY-DATUM MM/DD/YY,
    100(8) TEXT-H02, 126(8) SY-PAGNO.
    WRITE:/1(5) TEXT-H03, 6(8) SY-UZEIT USING EDIT MASK '__:__:__',
    20(77) TEXT-H04,
    100(8) TEXT-H05, 108(25) SY-REPID.
    WRITE:/1(6) TEXT-H06, 8(12) SY-UNAME,
    20(4) TEXT-H07, 25(32) SY-HOST,
    100(13) TEXT-H08, 121(8) SY-SYSID,
    129 '/', 130(3) SY-MANDT.
    ULINE.
    SKIP
    <b>Reward points</b>
    Regards

  • How can forbid changing data when using BAPI  'BAPI_MATERIAL_SAVEREPLICA'?

    I am using BAPI  'BAPI_MATERIAL_SAVEREPLICA' to creat material master data in batch.
    But this BAPI also can be used for change mode.
    How to forbid the change of MAT data when use this BAPI?
    TKS a lot~~
    I am looking foward to your response~~~

    you have to find out what the user did before your program goes ahead and starts the BAPI.

  • Anybody help on mm01 using bapi????????????

    hello everybody!!
    i want executable code on mm01 with using bapi................
    my requirement is upload mm01 data ( no validations)
    i want complete code from strach..........
    pls help anybody .......

    Here's the complete code for T-code MM01.
    Just a make a text file with relevant data in the program.
    REPORT zrs NO STANDARD PAGE HEADING.
    *-- Variable declaratins
    DATA: fname LIKE rlgrap-filename.
    DATA: wa_string(255) TYPE c.
    *CONSTANTS: con_tab(2) TYPE c VALUE '09'.                       
    constants:  con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    TYPES:BEGIN OF t_mat,
      matnr(10),
         desc(10),
            uom(5),
    END OF t_mat.
    *-- Work area declaration.
    DATA : i_mat TYPE TABLE OF t_mat.
    DATA: i_mat_temp TYPE TABLE OF t_mat.
    DATA : wa_mat TYPE t_mat.
    DATA : wa_matstr TYPE t_mat.
    INCLUDE bdcrecxx.
    START-OF-SELECTION.
    CALL FUNCTION 'UPLOAD'
        EXPORTING
                CODEPAGE                = ' '
                FILENAME                = ' '
                filetype                = 'DAT'
                ITEM                    = ' '
                FILEMASK_MASK           = ' '
                FILEMASK_TEXT           = ' '
                FILETYPE_NO_CHANGE      = ' '
                FILETYPE_NO_CHANGE      = ' '
                FILEMASK_ALL            = ' '
                FILETYPE_NO_SHOW        = ' '
                LINE_EXIT               = ' '
                USER_FORM               = ' '
                USER_PROG               = ' '
                SILENT                  = 'S'
         IMPORTING
                FILESIZE                =
                CANCEL                  =
                ACT_FILENAME            =
                ACT_FILETYPE            =
          TABLES
                  data_tab                = i_mat
          EXCEPTIONS
                  conversion_error        = 1
                  invalid_table_width     = 2
                  invalid_type            = 3
                  no_batch                = 4
                  unknown_error           = 5
                  gui_refuse_filetransfer = 6
                  OTHERS                  = 7.
         IF sy-subrc <> 0.
         WRITE:/ 'Internal Table not populated.'.
         ENDIF.
    **--- Name of file inapplication server
         fname = 'bdcdata.txt'.
         OPEN DATASET fname FOR OUTPUT IN TEXT MODE encoding default.             " encoding default not in 4.0b
         IF sy-subrc <> 0.
         WRITE: / 'Error opening file'.
         ENDIF.
    **---Transfering data from internal table to dataset
         LOOP AT i_mat INTO wa_mat.
         TRANSFER wa_mat TO fname.
         ENDLOOP.
         CLOSE DATASET fname.
         CLEAR i_mat.
         CLEAR wa_mat.
         PERFORM open_group.
    **-----Opening dataset for reading
         OPEN DATASET fname FOR INPUT IN TEXT MODE encoding default.              
    Reading the file from application server
         DO.
         READ DATASET fname INTO wa_string.
         IF sy-subrc <> 0.
         EXIT.
         ENDIF.
        SPLIT wa_string AT con_tab INTO TABLE i_mat_temp.
         SPLIT wa_string AT con_tab into table i_mat_temp.
         LOOP AT i_mat_temp INTO wa_mat.
         APPEND wa_mat TO i_mat.
         ENDLOOP.
         ENDDO.
         CLOSE DATASET fname.
         LOOP AT i_mat INTO wa_mat.
         PERFORM bdc_dynpro      USING 'SAPLMGMM' '0060'.
         PERFORM bdc_field       USING 'BDC_OKCODE'
                                       '/00'.
         PERFORM bdc_field       USING 'BDC_CURSOR'
                                       'RMMG1-MTART'.
         PERFORM bdc_field       USING 'RMMG1-MATNR'
                                       wa_mat-matnr.
         PERFORM bdc_field       USING 'RMMG1-MBRSH'
                                       'W'.
         PERFORM bdc_field       USING 'RMMG1-MTART'
                                       'FERT'.
         PERFORM bdc_dynpro      USING 'SAPLMGMM' '0070'.
         PERFORM bdc_field       USING 'BDC_OKCODE'
                                       '=ENTR'.
         PERFORM bdc_field       USING 'BDC_CURSOR'
                                       'MSICHTAUSW-KZSEL(01)'.
         PERFORM bdc_field       USING 'MSICHTAUSW-KZSEL(01)'
                                       'X'.
         PERFORM bdc_dynpro      USING 'SAPLMGMM' '4000'.
         PERFORM bdc_field       USING 'BDC_OKCODE'
                                       '/00'.
         PERFORM bdc_field       USING 'BDC_SUBSCR'
                                       'SAPLMGMM'
                                     & '  2000TABFRA1'.
        PERFORM bdc_field       USING 'BDC_SUBSCR'
                                      'SAPLMGD1'
                                    & '  1002SUB1'.
        PERFORM bdc_field       USING 'MAKT-MAKTX'
                                      wa_mat-desc.
        PERFORM bdc_field       USING 'BDC_SUBSCR'
                                      'SAPLMGD1'
                                      & '  2001SUB2'.
       PERFORM bdc_field       USING 'BDC_CURSOR'
                                     'MARA-MEINS'.
       PERFORM bdc_field       USING 'MARA-MEINS'
                                     wa_mat-uom.
       PERFORM bdc_field       USING 'BDC_SUBSCR'
                                     'SAPLMGD1'
                                   & '  2561SUB3'.
       PERFORM bdc_field       USING 'BDC_SUBSCR'
                                     'SAPLMGD1'
                                   & '  2007SUB4'.
       PERFORM bdc_field       USING 'BDC_SUBSCR'
                                     'SAPLMGD1'
                                   & '  2005SUB5'.
       PERFORM bdc_field       USING 'BDC_SUBSCR'
                                       'SAPLMGD1'
                                       & '  2011SUB6'.
      PERFORM bdc_dynpro      USING 'SAPLSPO1' '0300'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=YES'.
       PERFORM bdc_transaction USING 'MM01'.
       REFRESH bdcdata.
       ENDLOOP.
       PERFORM close_group.
    <b>Hope this is helpful, Do reward</b>

Maybe you are looking for

  • Weather icon wont find local weather

    my local weather will not update on the weather app.

  • ERROR IN PROCESS CHAIN WHILE ACTIVATING

    HELO EXPERTTS, I WAS ASK TO TEST AN PROCESS CHAIN IN  DEVELPOMENT SER WHICH WAS ALREADY PRESENT IN THE PRODUTION SERVER , WHEN I EXECUTED THE CHAIN IN DEVELPMENT SERVER  ATRANSPORT REQUEST WAS GENERATED AND MOVE TO THE TRANSPORT QUE. WHEN I TRY TO RU

  • Bar Code Font 3 of 9 cause NULL pointer exception in PDF export

    I am using CR4E 2.0 update 3 and tried to export a report that includes a text formatted with a barcode font (Code39). When I export the report to PDF with the Crystal Reports Desinger it works fine. When I export it in our application it generates a

  • Interactive PDFs from InDesign 5.5 - hyperlinks not working at all!

    I'm creating hyperlinks the way I always did in CS4 (type tool - hyperlinks panel etc) but when I export to PDF either through the new interactive PDF option OR the old print option switching on the interactive check box none of my hyperlinks work in

  • How do I add a Playlist to my Ipod in Itunes 12?

    I have several playlists I created in ITunes 10 or 11 that are configured to sync to my Ipod, but in ITunes 12 I cannot figure out how to change the list of playlists that sync with my Ipod.  Help!