Table handling in MII workbench

Hi all,
in my MII workbench I need to create a transaction where a BAPI is invoked.
This BAPI has a table as input parameter.
So I create the sequence and the appropriate actions to perform the call.
My point is how do I populate the table with multiple records before invoking the BAPI?
I would have used the "Assignment" action, but as far as I can understand it does not allow to add rows to tables.
It simply allows me to set variable X to the value Y.
How is this done?
Thanks, regards
Vincenzo

HI Vincenzo,
For example you can download SAP module libraries from this link
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e090ef23-dbc5-2a10-0994-b589d869cd92
Check the transaction SAP/ModuleLibraries/PP/ProductionOrderTimeTicketConf
Thanks
Anshul

Similar Messages

  • Java error when execute SAP MII Workbench

    Hi Experts,
    I getting the following error when I execute the SAP MII Workbench. I have the Java 1.6.0.23 on a Windows 7 64 bits. I tried the Java 64 bits version and had the same error.
    Any idea?
    Regards,
    Vinicius
    A fatal error has been detected by the Java Runtime Environment:
    EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x75671d76, pid=6912, tid=1300
    JRE version: 6.0_23-b05
    Java VM: Java HotSpot(TM) Client VM (19.0-b09 mixed mode, sharing windows-x86 )
    Problematic frame:
    C  [WININET.dll+0x71d76]
    If you would like to submit a bug report, please visit:
      http://java.sun.com/webapps/bugreport/crash.jsp
    The crash happened outside the Java Virtual Machine in native code.
    See problematic frame for where to report the bug.
      T H R E A D  -
    Current thread (0x0675bc00):  JavaThread "Java Web Start Main Thread" [_thread_in_native, id=1300, stack(0x06bc0000,0x06c10000)]
    siginfo: ExceptionCode=0xc0000005, writing address 0x0000064c
    Registers:
    EAX=0x00000000, EBX=0x06c0f2f0, ECX=0x00000000, EDX=0x0002020e
    ESP=0x06c0f068, EBP=0x06c0f068, ESI=0x00000000, EDI=0x06c0f088
    EIP=0x75671d76, EFLAGS=0x00010246
    Register to memory mapping:
    EAX=0x00000000
    0x00000000 is pointing to unknown location
    EBX=0x06c0f2f0
    0x06c0f2f0 is pointing into the stack for thread: 0x0675bc00
    "Java Web Start Main Thread" prio=6 tid=0x0675bc00 nid=0x514 runnable [0x06c0f000]
       java.lang.Thread.State: RUNNABLE
    ECX=0x00000000
    0x00000000 is pointing to unknown location
    EDX=0x0002020e
    0x0002020e is pointing to unknown location
    ESP=0x06c0f068
    0x06c0f068 is pointing into the stack for thread: 0x0675bc00
    "Java Web Start Main Thread" prio=6 tid=0x0675bc00 nid=0x514 runnable [0x06c0f000]
       java.lang.Thread.State: RUNNABLE
    EBP=0x06c0f068
    0x06c0f068 is pointing into the stack for thread: 0x0675bc00
    "Java Web Start Main Thread" prio=6 tid=0x0675bc00 nid=0x514 runnable [0x06c0f000]
       java.lang.Thread.State: RUNNABLE
    ESI=0x00000000
    0x00000000 is pointing to unknown location
    EDI=0x06c0f088
    0x06c0f088 is pointing into the stack for thread: 0x0675bc00
    "Java Web Start Main Thread" prio=6 tid=0x0675bc00 nid=0x514 runnable [0x06c0f000]
       java.lang.Thread.State: RUNNABLE
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:
    Program Files (x86)
    Java
    jre6
    lib
    javaws.jar;C:
    Program Files (x86)
    Java
    jre6
    lib
    deploy.jar;C:
    Program Files (x86)
    Java
    jre6
    lib
    plugin.jar -Djava.security.policy=file:C:
    Program Files (x86)
    Java
    jre6
    lib
    security
    javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.home=C:
    Program Files (x86)
    Java
    jre6
    bin -Dsun.awt.warmup=true -Djnlpx.origFilenameArg=C:
    Users
    Vinicius
    AppData
    Local
    Microsoft
    Windows
    Temporary Internet Files
    Content.IE5
    7SYHPOU8
    Workbench[1].jnlp -Djnlpx.remove=true -Xms64m -Xmx128m -Djnlpx.heapsize=64m,128m -Djnlpx.splashport=64156 -Djnlpx.jvm=C:
    Program Files (x86)
    Java
    jre6
    bin
    javaw.exe
    java_command: com.sun.javaws.Main C:\Users\Vinicius\AppData\Local\Temp\javaws3
    Launcher Type: SUN_STANDARD
    Environment Variables:
    CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
    PATH=C:\Program Files (x86)\Java\jre6\bin;C:\Program Files (x86)\Internet Explorer;;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Google\Google Apps Sync\;C:\Program Files\PuTTY;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;"C:\Program Files (x86)\Java\jre6\bin"
    USERNAME=Vinicius
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 2, GenuineIntel
      S Y S T E M  -
    OS: Windows 7 Build 7600
    CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
    Memory: 4k page, physical 4044900k(1962628k free), swap 8087900k(5218924k free)
    vm_info: Java HotSpot(TM) Client VM (19.0-b09) for windows-x86 JRE (1.6.0_23-b05), built on Nov 12 2010 15:00:43 by "java_re" with MS VC++ 7.1 (VS2003)
    time: Tue Dec 21 16:45:03 2010
    elapsed time: 2 seconds

    There is the error when I installed Java 64 bits:
    A fatal error has been detected by the Java Runtime Environment:
    EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000771ab18d, pid=5956, tid=6888
    JRE version: 6.0_23-b05
    Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode windows-amd64 compressed oops)
    Problematic frame:
    C  [WININET.dll+0x9b18d]
    If you would like to submit a bug report, please visit:
      http://java.sun.com/webapps/bugreport/crash.jsp
    The crash happened outside the Java Virtual Machine in native code.
    See problematic frame for where to report the bug.
      T H R E A D  -
    Current thread (0x000000000605f000):  JavaThread "Java Web Start Main Thread" [_thread_in_native, id=6888, stack(0x00000000075f0000,0x00000000076f0000)]
    siginfo: ExceptionCode=0xc0000005, writing address 0x000000000000088c
    Registers:
    RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0x00000000076ee290, RDX=0x0000000000000000
    RSP=0x00000000076ee2f0, RBP=0x00000000076ee3f0, RSI=0x0000000000000000, RDI=0x0000000000000000
    R8=0x0000000000000001, R9=0x0000000076ff0000, R10=0x000000000000ffff, R11=0x0000000000000000
    R12=0x0000000000000000, R13=0x0000000000000000, R14=0x0000000000502690, R15=0x00000000076ee5b8
    RIP=0x00000000771ab18d, EFLAGS=0x0000000000010246
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:
    Program Files
    Java
    jre6
    lib
    javaws.jar;C:
    Program Files
    Java
    jre6
    lib
    deploy.jar;C:
    Program Files
    Java
    jre6
    lib
    plugin.jar -Djava.security.policy=file:C:
    Program Files
    Java
    jre6
    lib
    security
    javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.home=C:
    Program Files
    Java
    jre6
    bin -Dsun.awt.warmup=true -Djnlpx.origFilenameArg=C:
    Users
    Vinicius
    AppData
    Local
    Microsoft
    Windows
    Temporary Internet Files
    Content.IE5
    OH1DE0ZW
    Workbench[1].jnlp -Djnlpx.remove=true -Xms64m -Xmx128m -Djnlpx.heapsize=64m,128m -Djnlpx.splashport=64455 -Djnlpx.jvm=C:
    Program Files
    Java
    jre6
    bin
    javaw.exe
    java_command: com.sun.javaws.Main C:\Users\Vinicius\AppData\Local\Temp\javaws3
    Launcher Type: SUN_STANDARD
    Environment Variables:
    CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
    PATH=C:\Windows\system32;C:\Program Files (x86)\Internet Explorer;;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Google\Google Apps Sync\;C:\Program Files\PuTTY;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;"C:\Program Files\Java\jre6\bin"
    USERNAME=Vinicius
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 2, GenuineIntel
      S Y S T E M  -
    OS: Windows 7 Build 7600
    CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
    Memory: 4k page, physical 4044900k(1897908k free), swap 8087900k(5161388k free)
    vm_info: Java HotSpot(TM) 64-Bit Server VM (19.0-b09) for windows-amd64 JRE (1.6.0_23-b05), built on Nov 13 2010 02:43:42 by "java_re" with MS VC++ 8.0 (VS2005)
    time: Tue Dec 21 16:59:47 2010
    elapsed time: 2 seconds

  • Developer Denied Permissions to Open SAP MII Workbench even with permission

    Hello,
    I have recently added a developer with the following permissions in UME:
    SAP_XMII_Super_Administrator
    SAP_XMII_Administrator
    SAP_XMII_Developer
    SAP_XMII_User
    We are using SAP MII 12.1 Patch 6 (build 96).  Netweaver 7.1.  We are using Windows Vista for OS and Internet Explorer 7 for our browser (even has the Java Plug-in disabled).  We are using Java 6 version 20 for our JRE.
    He can see the MII homepage and can navigate to Data Services -> SAP MII Workbench. However, when he clicks the link, he gets an authentication dialog box with the following following fields:
    SAP MII Server Name: ______________________________
    Port:  53000 (which I find odd that it initially is set to 53000 when he experiences this problem;  our port is 50000)
    User name: __________________________
    Password: ________________________
    He enters the information correctly (even sets the port to the correct setting which is 50000) and he gets the following error:  Connection refused:  connect
    He can activate the workbench on my machine (I believe our labtops are analogous) so that leads me to believe he might have a conflicting process.  Any help/suggestions would be great!
    Thanks
    Aaron

    I have encountered the same error in the past.  It results from blocking the Java components.
    After launching the Workbench, I get a Warning pop-up with the message that "Java has discovered application components that could indicate a security concern". The warning then asks if I want to block the components.  In my haste I never read the warning and kept clicking on "Yes" which leads to the exact same result you encountered.
    The solution for me was to click "No" and allow the component to run.

  • SAP MII workbench - saving new transaction - role issue?

    We are using MII 12.1.4 (build 53) and have copied the SAP java roles to our own groups (ABAP Roles) in the UME, including the defined actions of the SAP roles.  We then assign the ABAP role in ABAP to the User, so that in the UME they now have the groups assigned. 
    We have run into an issue where when creating a new transaction in the MII workbench we are unable to save it.  If we add the standard SAP UME role SAP_XMII_DEVELOPER, we are now able to create and save the transaction (or whatever work).  The only difference we can see in the SAP_XMII_DEVELOPER role and our copied role is the name, all the actions in SAP_XMII_DEVELOPER are in our Group (ABAP role).
    our ABAP role (UME Group) example is:
    ZZZZ:Z_MII_DEVELOPER (has UME role AD_JU_MII_DEVELOPER assigned)
    UME Roles:
    Z_MII_DEVELOPER has the 3 actions below assigned:
         xappsxmiiumeactions     XMII_User
         xappsxmiiumeactions     XMII_Read_Only
         xappsxmiiumeactions     XMII_Developer
    SAP_XMII_DEVELOPER has the same 3 actions as above, and the onluy difference is the description, and that it doesn't have any assigned groups.
    Does the MII workbench use the hardcoded role names somewhere that would not allow us to use  our the ABAP roles (JAVA groups) or is there something else we are missing in the group?
    I have searched the best practices, forums, SAP help, OSS, etc. with no luck
    Thanks for any help,
    jake

    Hi Jake,
    I also faced the same problem recently.
    As Mike said, you need to add your role in " Transaction -> Security". Here, you will find all the available roles. Put the required role in Reader and Writer Roles windows.
    As far as your question is concerned, by default MII assigns XMII Administrators, XMII Developers and XMII Users roles (MII 12.0) as Reader to Transaction. Where as MII assigns XMII Administrators and XMII Developers roles as Writer to Transaction.
    Hope this helps!
    Best Regards,
    Kedar

  • How to save table data in MII MDO

    How to save table data in MII MDO - please do samples.....

    Hi Amr,
    Please find some videos here.
    https://www.mediafire.com/?k323krz19xvcs0n
    Regards,
    Sriram

  • Table Handling in XML Indesign Workflow

    Hi all,
    I have a question related to the table handling in XML workflow.
    The XML file have been imported to indesign for pagination purpose. Once the XML file have been imported all the tables and figure are came in Text Streams as INLINE, to make the figures and tables as floats we are draging from the XML structure to make it as floating instead of Inline, this is working for Figure.
    I am not able to drag the tables from the XML structure.
    Please help us to make the table float, is there is any script to make the table float or any other way.......
    kavya

    Hi Kavya,
    You have to create a dummy parent tag, now you can drag the parent tag to the frame.
    Regards,
    sudar

  • Proportional fonts in SAP MII Workbench

    It was whose idea to use proportional fonts (characters with variable-width) in the SAP MII Workbench??
    Is it possible at least to change it to courier or something..?

    Consider the following assignments:
    var someVariable = 'value1';
    var another            = 'anotherValue';
    var stuff                   = 'val';
    var v1                       = 'sadfsdfasdf';
    Now, if I change the font type in MII to non-proportional, it will look like this:
    var someVariable = 'value1';
    var another            = 'anotherValue';
    var stuff                   = 'val';
    var v1                       = 'sadfsdfasdf';
    That is the problem. I'm maintaining existing code that was formatted when using font type 'Dialog', but I exported the source code and I'm using my favourite text editor. And every normal text editor uses non-proportional fonts. If I align the equation marks in my text editor then the source code will slide using the default font, so I cannot save changes in the MII.

  • MII Workbench Freezes

    I have it that the MII workbench will freeze randomly when I open BLS Transactions.
    It happens all the time but never on the same transaction. The only way to fix it is to kill the javaw.exe in task manager.
    Java Version: 6 update 24 build 1.6.0_24-b07
    MII Workbench: 12.1.7.50
    Windows: XP sp3
    Internet Explorer: 8

    >
    Michael Appleby wrote:
    > Have you turned Trace on or increased your logging level?
    I turned the Trace level to 5 but the java console freezes with MII so the last message I see is the fetch from the server.
    >
    Michael Appleby wrote:
    > How many transactions do you have in your transaction calls path?
    > How large are the blocks of data that you are processing?
    > Are you trying to connect to an outside data source which may not be responding promptly (timing out)?
    This is happening on the load of the transaction, I've never had it freeze durring execution
    >
    Michael Appleby wrote:
    > If you export your transactions, how large are the saved files?
    It varies from 50 - 100k it not the same transaction all the time.
    >
    Michael Appleby wrote:
    > What does the NW log viewer show happening at the time of the locking up?
    > How do you restart the workbench?
    Open task manager and kill the javaw.exe process
    >
    Michael Appleby wrote:
    > Have you looked at the transaction manager function to see what the logs there show?
    Doesn't show anything since it's on load and not on execution. Mii works fine when I call the transactions from the runner or through xacute queries. This only happens in the workbench.

  • How to update the ztable by using table handling function

    how to update the ztable by using table handling function
    It is very urgent ...............................
    thanks in advance

    see the  below code for the direct   ztable update
    Report  ZUPDATE_PRPS.
    tables: zprps.
    parameter: p_wbs like zprps-pspnr,
               p_value like zprps-fakkz default 'X'.
    data: wa_fakkz type zprps-fakkz.
    *START-OF_SELECTION
    start-of-selection.
    call function 'CONVERSION_EXIT_ABPSP_INPUT'
         exporting
             input     = p_wbs
        importing
             output    = p_wbs
        exceptions
             not_found = 1
             others    = 2.
    select single fakkz
      into wa_fakkz
      from zprps
    where pspnr eq p_wbs.
    if sy-subrc eq 0.
       update zprps set fakkz = p_value where PSPNR eq p_wbs.
       if p_value is initial.
         message i999(za) with 'Billing element field has been unchecked'.
       else.
         message i999(za) with 'Billing element field has been checked'.
       endif.
    else.
      message i999(za) with 'WBS element not found'.
    endif.
    reward  points if it is usefull .....
    Girish

  • What is table handler error

    What is table handler error.. I am geeting it while running an API

    set serveroutput on;
    declare
    p_tp_rec_type OZF_TRADE_PROFILE_PVT.TRADE_PROFILE_REC_TYPE;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_trade_profile_id NUMBER;
    begin
    p_tp_rec_type.trade_profile_id :=11;
    p_tp_rec_type.object_version_number:=2;
    p_tp_rec_type.last_update_date :=sysdate;
    p_tp_rec_type.last_updated_by :=1191;
    p_tp_rec_type.creation_date :=sysdate;
    p_tp_rec_type.created_by :=1191;
    p_tp_rec_type.last_update_login :=1191;
    p_tp_rec_type.request_id :=null;
    p_tp_rec_type.program_application_id :=null;
    p_tp_rec_type.program_id:=null;
    p_tp_rec_type.created_from :=null;
    p_tp_rec_type.party_id :=25041;
    p_tp_rec_type.site_use_id:= null;
    p_tp_rec_type.autopay_flag :='T';
    p_tp_rec_type.claim_threshold :=50;
    p_tp_rec_type.claim_currency :='USD';
    p_tp_rec_type.print_flag :='F';
    p_tp_rec_type.internet_deal_view_flag :='F';
    p_tp_rec_type.internet_claims_flag:=null;
    p_tp_rec_type.autopay_periodicity :=1;
    p_tp_rec_type.autopay_periodicity_type :='MONTH';
    p_tp_rec_type.payment_method :='CHECK';
    p_tp_rec_type.discount_type :=null;
    p_tp_rec_type.cust_account_id :=8040;
    p_tp_rec_type.cust_acct_site_id :=null;
    p_tp_rec_type.vendor_id :=1001;
    p_tp_rec_type.vendor_site_id :=1001;
    p_tp_rec_type.vendor_site_code:=null;
    p_tp_rec_type.context :=null;
    p_tp_rec_type.attribute_category :=null;
    p_tp_rec_type.attribute1 :=null;
    p_tp_rec_type.attribute2 :=null;
    p_tp_rec_type.attribute3 :=null;
    p_tp_rec_type.attribute4 :=null;
    p_tp_rec_type.attribute5 :=null;
    p_tp_rec_type.attribute6 :=null;
    p_tp_rec_type.attribute7 :=null;
    p_tp_rec_type.attribute8 :=null;
    p_tp_rec_type.attribute9 :=null;
    p_tp_rec_type.attribute10 :=null;
    p_tp_rec_type.attribute11 :=null;
    p_tp_rec_type.attribute12 :=null;
    p_tp_rec_type.attribute13 :=null;
    p_tp_rec_type.attribute14 :=null;
    p_tp_rec_type.attribute15 :=null;
    p_tp_rec_type.org_id :=121;
    p_tp_rec_type.days_due :=null;
    p_tp_rec_type.pos_write_off_threshold :=null;
    p_tp_rec_type.neg_write_off_threshold :=null;
    p_tp_rec_type.un_earned_pay_allow_to :=null;
    p_tp_rec_type.un_earned_pay_thold_type :=null;
    p_tp_rec_type.un_earned_pay_threshold :=null;
    p_tp_rec_type.un_earned_pay_thold_flag :='F';
    p_tp_rec_type.header_tolerance_calc_code :=null;
    p_tp_rec_type.header_tolerance_operand :=null;
    p_tp_rec_type.line_tolerance_calc_code:=null;
    p_tp_rec_type.line_tolerance_operand :=null;
    OZF_TRADE_PROFILE_PVT.Create_Trade_Profile( 1, 'T', 'T', 1, x_return_status, x_msg_count, x_msg_data, p_tp_rec_type, x_trade_profile_id);
    dbms_output.put_line('TRADE PROFILE '|| x_trade_profile_id);
    dbms_output.put_line('x_return_status = '|| SUBSTR (x_return_status,1,255));
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line('x_msg_data = '|| SUBSTR (x_msg_data,1,255));
    IF x_msg_count >1 THEN
    FOR I IN 1..x_msg_count LOOP
    dbms_output.put_line(I||'.'||SUBSTR(FND_MSG_PUB.Get(p_encoded=>
    FND_API.G_FALSE ), 1, 255));
    END LOOP;
    END IF;
    END;
    commit;

  • External Table, Handling Delimited and Special Character in file

    Hi ,
    I have created one external table with these option
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY ***************************************
    ACCESS PARAMETERS
    ( RECORDS DELIMITED BY NEWLINE
    SKIP 0
    FIELDS TERMINATED BY '|'
    OPTIONALLY ENCLOSED BY '"'
    MISSING FIELD VALUES ARE NULL                                          
    LOCATION
    ( 'test_feed.csv'
    Now problem is these are coming as valid.
    anupam|anupam2
    anupam"test|anupam"test2
    "anupam|test3"|test3
    anupam""""test5|test5
    anupam"|test7
    but these are not coming as valid
    "anupam"test4"|test4    --> Case when we have quotes in the filed but still have quotes in it. I guess in this case we can send the filed expect closing double quotes.
    "anupam|test6   --> In case field is starting with double quotes then it's failing
    "anupam"test8|test8"|test8 --> In case one filed contains both pipe ( |) and double quotes then we are sending it enclosed in double quotes. But thats failing the job.
    Can you suggest what is the best way to handle such scenario? ( One restriction though. The file is used by other system - Netezza as well, which can't take more than one character long delimited :'( )

    One approach is to define the external table a ONE column table (with single field on the file). This way each line will come in as a row in the external table. Of course you have to build "parsing logic" on top of that.
    DROP TABLE xtern_table;
    CREATE TABLE xtern_table
        c1 VARCHAR2(4000)
      organization external
        type ORACLE_LOADER DEFAULT directory xtern_data_dir
        ACCESS PARAMETERS (
            RECORDS DELIMITED BY NEWLINE
            FIELDS TERMINATED BY '~'   ---- <<<<<<<< Use a field terminator as a character that is not found in the file
            MISSING FIELD VALUES ARE NULL
            ( c1 CHAR(4000)
         ) location ('mycsv.csv')
    > desc xtern_table
    desc xtern_table
    Name Null Type          
    C1        VARCHAR2(4000)
    > column c1 format A40
    > select * from xtern_table
    C1                                    
    anupam|anupam2                          
    anupam"test|anupam"test2                
    "anupam|test3"|test3                    
    anupam""""test5|test5                   
    anupam"|test7                           
    "anupam"test4"|test4                    
    "anupam|test6                           
    "anupam"test8|test8"|test8              
    8 rows selected
    Ideally, it will be good t have an incoming source file with predictable format.
    Hope this helps.

  • Table handling in eCATT

    Hi Experts,
    Iam testing Function modules using eCATT, now i need to pass values to the import parameters of a FM where the import parameter is a table type, so i need to pass a table. I am able to pass a structure only.
    Some one plz suggest me how to handle this table?
    Thanks in advance.

    Hi Vinay,
    Thanx for the reply.
    I am populating the structure in the ABAP...ENDABAP block and I am calling my interface using FUN command outside this block. In the parameters list its not taking the decalration of type TABLE rather it accepting only the STRUCTURE types. My problem is how can I traverse all the values into the table type and assign it to the Interface which is outside the Block (ABAP .... ENDABAP)
    Please find the sample code snippet for your reference:
    ABAP.
    call function 'F4_FILENAME'
    EXPORTING
        PROGRAM_NAME  = SYST-CPROG
        DYNPRO_NUMBER = SYST-DYNNR
        FIELD_NAME    = 'FILE'
      IMPORTING
        FILE_NAME     = FILE_V-PATH.
    FILE = FILE_V-PATH.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
      I_FIELD_SEPERATOR =
      I_LINE_HEADER  = 'X'
        i_tab_raw_data = it_type
        i_filename     = file
      TABLES
        i_tab_converted_data = l_tab_cnt_hdr[].
       EXCEPTIONS
       conversion_failed = 1
       OTHERS            = 2.
    read table l_tab_cnt_hdr into l_str_cnt_hdr.
    ENDABAP.
    *my aim is to pass the _hdr TABLE values to this Inteface, but at declaration level its not taking the table type... in the Command Interface
    FUN ( /MIGA/API_CNT_SET_SNG , API_CNT_SET_SNG_1 ).
    Please suggest me in this regard.
    Regards,
    Mytri

  • MII Workbench and java security Issue for jdk7

    Hello all,
    I am using MII version 12.2.2 Build(234) and java version jdk7.
    Now,I am not able to open or create a transaction in workbench.
    In java console, an error is shown below:
    AWT-EventQueue-0 [ERROR] - java.lang.ExceptionInInitializerError
         at com.sap.lhcommon.expressioneval.ExpressionLoader.<clinit>(ExpressionLoader.java:282)
         at com.sap.xmii.bls.expressioneval.TransactionFunctions.<clinit>(TransactionFunctions.java:27)
         at com.sap.xmii.xacute.editors.common.FunctionsComboBox.createBox(FunctionsComboBox.java:45)
         at com.sap.xmii.xacute.editors.common.FunctionsComboBox.<init>(FunctionsComboBox.java:39)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorPanel.createExpressionEditorPanel(LinkEditorPanel.java:1033)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorPanel.initialize(LinkEditorPanel.java:316)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorPanel.<init>(LinkEditorPanel.java:198)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorBottomPanel.<clinit>(LinkEditorBottomPanel.java:28)
         at com.sap.xmii.Illuminator.gui.workbench.core.TransactionInfo.initDisplay(TransactionInfo.java:353)
         at com.sap.xmii.Illuminator.gui.workbench.core.TransactionInfo.createNewFile(TransactionInfo.java:149)
         at com.sap.xmii.Illuminator.gui.workbench.components.actions.actions.NewAction.createFileInfoObject(NewAction.java:194)
         at com.sap.xmii.Illuminator.gui.workbench.components.actions.actions.NewAction$1.construct(NewAction.java:115)
         at com.sap.lhcommon.gui.ThreadCreator$2.run(ThreadCreator.java:96)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.security.action")
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at com.sun.jnlp.JNLPPreverifyClassLoader.loadClass0(Unknown Source)
         at com.sun.jnlp.JNLPPreverifyClassLoader.loadClass(Unknown Source)
         at com.sun.jnlp.JNLPPreverifyClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at com.sap.lhcommon.expressioneval.functions.DecodeFunction.<clinit>(DecodeFunction.java:83)
         ... 14 more
    I also modified the 'java.policy' file. But it did not work. I am still getting the same error.
    Kindly advise..
    Thanks,
    Ritwika.

    I do not yet know the security implications of doing what I did to fix this issue, but here is my solution.
    I added the following to the jre7 java.policy file in the section "grant {":
    permission java.lang.RuntimePermission "accessClassInPackage.sun.security.action";

  • JClient and Table Handling?

    In a scenario where you have a table and you want to process based upon the user's selection of a row, what's the best way to accomplish this? I've been looking at the events, and there doesn't seem to be one for a row selection. Does this mean that I'm in the wrong place to be looking for this, or do I have to code my own listener to handle when a row is selected? What's best practice for this? And, regardless of where/how you handle it, how do you get information about the database row selected?

    Forgive my ignorance, but this is my first foray into the Swing side of JDev.
    I don't see a double click event. What I've done is clicked on the jTable object to focus it in the property inspector, then clicked on the Events tab on the property inspector. I see a mouseClicked event, but nothing about a double click. Am I doing this in the wrong place? Or is the event called something I don't recognize?

  • Determine of Tax Code for Country/Product Category - Table handling

    Dear Experts,
    in SRM 7.0, CS, i am facing the following requirement regarding tax codes:
    We have users from different countries using SRM. These different countries have different tax codes that are to be used for legal reasons.
    My question is, how i can achieve a system behaviour, by which in the shopping cart, the correct tax codes gets selected automatically, based on the country of the user, who is creating the shopping cart.
    Question 1:
    Is it correct to assume, that this requirement can be achieved by maintaining the "Determine of Tax Code for Country/Product Category" - Table?
    Q2:
    What is the purpose of the 1st column of the above mentioned table, "Domestic/International Indicator"? Can it be left blank?
    Q3:
    Is it possible to fill in the values for the field "Country" BUT to leave the field "Category ID" empty???The reason for asking it, that otherwise several hundreds entries would have to be maintaind manaully...
    Q4:
    From where in the shopping cart or ppoma settings is the system fetching the Country code, in order to be able to use it in the table? Is there any specific attribute maintenance that has to be taken care of, so the above mentioned table can be used (e.g. delivery address, including the country information)?
    Thank you very much for your help in understanding the topic.

    Hi
    Here are my responses to your questions:
    Question 1:
    Is it correct to assume, that this requirement can be achieved by maintaining the "Determine of Tax Code for Country/Product Category" - Table?
    Answer -  If you have a requirement where different countries have different tax codes, then you do need this confiugration. Otherwise Configuraiton in Enter Tax Code  are sufficient.
    Q2:
    What is the purpose of the 1st column of the above mentioned table, "Domestic/International Indicator"? Can it be left blank?
    Answer - Sometimes you have different codes for International and Domestic purchases for a product Category. IN those situations you can select Domestic/International field to differentiate btw tax codes. Otherwise this field can be left blank
    Q3:
    Is it possible to fill in the values for the field "Country" BUT to leave the field "Category ID" empty???The reason for asking it, that otherwise several hundreds entries would have to be maintaind manaully...
    Answer - No, if you enter country, then Category Id field is mandatory. You may enter * in case you dont have multiple backend systems. otherwise you will ve to ve individual entries for each category and backend system.
    Q4:
    From where in the shopping cart or ppoma settings is the system fetching the Country code, in order to be able to use it in the table? Is there any specific attribute maintenance that has to be taken care of, so the above mentioned table can be used (e.g. delivery address, including the country information)?
    Answer - It is picked up from the address of the user where is will receive goods. and Domestic/International will be decided based on Vendor address with reference to thta address.
    I hope my responses clarify your doubts.
    Regards
    Virender Singh

Maybe you are looking for

  • Adapter Problem. Maybe.

    I've had this laptop for about a year now. I bought it from my brother after before xmas 2006, and he bought it at some stage in 2005 i believe. I've been having problems with my adapter for a good few months now. 4+ at least. I had never gotten arou

  • Library isn't being stored.

    This morning I started up iTunes 8 to update a podcast when I get promted to upgrade to iTunes 9, which I did and unfortunately lost all of my library - this doesn't really matter as I have my library backed up. The problem is that once I add songs t

  • When i try to update cc downloadcenter it, stops after a while and shows an error

    when i try to update cc downloadcenter it, stops after a while and shows an error ?

  • Server name in Parameter

    I am writing SSIS PACKAGE  and there is Development, Production and UA server Since I am developing package  in Development(Dev) area  and everytime  I have to change  the  server name for example Select * from [Servername].[Database name]. [tablenam

  • Quicktime 7.6.6 Pro vs 10.0 for converting VIDEO_TS to DV

    First - Please refer to This Thread I started in the iDVD Forum. Klaus in the link above said I needed two components to Convert DVD to Dv. Can this be done with those components in QuickTime V10 or only in QuickTime 7 Pro. Currently I'm using Snow L