Create subtab by using code

hello friends,
how to create the sub tab region by code. can i get sample code snippet for create the sub tab region
thanks
krish.

younsuk wrote:
And would you tell me why Apple's defaut webpage read that Pages can create and publish them?
I don't know.  I suppose it is just stuff left over from years ago which they forgot to correct.  Pages 2 (2006) was able to generate html for web pages, but later versions lost this feature, which many thought was of very low quality.

Similar Messages

  • Creating folio's using code/scripting?

    Hi,
    I would like to know if there's a possibility to create/upload folios using code or scripting, for example using InDesignServer.
    Maybe there's a SDK available for the Digital Publishing Suite?
    Thanks

    Yes that's my understanding for Javascript, with clarification that with "compile them all into animated GIF through script" using some external program (e.g. check out ImageMagick). Whether that is an OK solution depends on what you are trying to do (just for own internal use or distribution).
    For the Javascript docs see http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/photoshop/pdfs/photoshop-cc-javascr ipt-ref.pdf

  • Create custom forms using code or SAP B1 Studio, which one is better?

    Hello Professionals,
    I'm new to SAP B1 9.0 SDK, i'm currently creating forms using code, but i noticed that it can be mad using SAP Business Studio,
    from your experience, which one is better for performance and quality wise?.
    Your help would be greatly appreciated
    Thanks in advance

    Hi Karem,
    http://www.mepa.ch/images/documentation/B1_90_WorkWithStudioSuite.pdf
    Please Refer The Link and Start Working with Studio..
    All the best
    Regards,
    Mayank Shah   

  • Check for mandatory fields while creating EP users using code .. :|

    Hello All,
    I have a code using which I can create user accounts/EP users on Portal, am working on EP6 SP9 & SP12.
    <u>My query</u>:
    1. <i>From Portal's perspective</i> -> While creating EP users, there are few mandatory fields like user-id, FirstName, LastName, Email-id and Password. If any of the above fields is null/empty, Portal would give us an error message.
    2. <i>From coding perspective</i> -> Here, only the user-id is required. Even if I do not enter/fill any of the above mentioned mandatory fields (except user-id), user account is created.
    In case wherein FirstName/LastName is not mentioned, Portal shows the userid in the Welcome Frame, i.e. Welcome <user-id>. Tried this by commenting the statements contains the methods related to setting/accepting FirstNme and LastName of user.
    <b>I want to know if this is all rite?
    If no, then please guide me as to how can I set mandatory fields in my code.</b>
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
    >>please guide me as to how can I set mandatory fields in my code??
    In ur jsp file or in the controls code add the following attribute
    <hbj:label id="userIdLabel"
               text="User ID"
               labelFor="userIdInput"
               design="HEADER3"
               required="true"/>
    and to check the mandatory entry for that field do this in the submit button
    <hbj:button id="insert"
                text="Submit"
                design="emphasized"
                onClick="save"
                onClientClick="if(!isMandatory()) htmlbevent.cancelSubmit=true;;"/>
    and in the javascript write the client validation code.
    Hope this helps.
    Regards,
    Joshua Kiran

  • Creating attestation tasks using code

    Is there anyone out there with experience of creating new attestation process tasks (APT table) and reassigning specific attestation task details (ATD table) to the new attestation process tasks?
    My situation: I have a resource object that is assigned to the person that I want to perform the attestation. I create the attestation normally but the only choice I have is to assign all tasks to a single individual or to the user's manager. I choose a single individual. Once this attestation runs I want to reassign each task to a different user, however, there is only one task (APT record) created and all the task details (ATD records) are associated with that one task. I need to create new tasks for each request and associate the two. I have been able to reassign attestation tasks from one user to another by simply changing the usr_key on the APT table record but I am not sure if I can just insert a new row in the APT table and set all values to associate it with the proper ATD and ATR records and not muck something up in the attestation process.
    Feel free to criticize my idea, all feedback is welcome. Thanks!
    Edited by: h.mcpherson on Oct 29, 2010 6:32 AM

    Kevin,
    Thank you for your reply. Could you please give me some details on the API you are refering to? This might directly solve my dilemma. I found no methods in the javadocs for AttestationDefinitionOperationsIntf or AttestationOperationsIntf for reassigning the attestation request details to a different user.

  • How to create a dashboard using xhtml code in the spreadsheet

    i have a 4.0 dashboard with xhtml code or parameters in the spreadsheet to drive the dashboard. I am tried to create a new dashboard by copying the code it did not work. i searched all the link nothing works. any idea?
    The sample code in the embedded spreadsheet looks like the one listed below:
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=
    how to create this kind of code to bind your BEx query to the excel spreadsheet to run the dashboard.
    Thanks
    York

    Hello Anirban,
    As we can't change the layout of Smartfrm dynamically we have to fix it.
    1. Just Create a table structure of 5 equal sized column.
    2. Now create a structure in TYPES
        TYPES : BEGIN OF i_table,
                        FIELD1(15) type c,
                        FIELD2(15) type c,
                        FIELD3(15) type c,
                        FIELD4(15) type c,
                        FIELD5(15) type c,
                     END OF i_table.
    3. Now create a table in "FORM INTERFACE"
    4. Display the same in your smartforms.
    Now in your Print program create the same table as above.
    1. Now you can move the first 5 fields data from your dynamic internal table to the interface table.
    2. You can add up a popup saying only first 5 fields can be displayed.
    Note : if the field length is bigger then you have to use a variable to cut out only first 15 character to put it into the interface table.
    Hope this hint helps you a bit to gather some knowledge for your requirement.
    Cheers,
    Suvendu

  • While creating Maintenance order using t-code iw31 mainwork center not pick

    Hi,
    while creating Maintenance order using t-code iw31 Maintenance work center not picking from drop down (already have in drop down)but giving manually accepting.
    --Ganesh

    Hi,
    My understanding is that the selected work center is not copied into the input field. This can be corrected with note [1451299|https://service.sap.com/sap/support/notes/1451299]. Check if the note is relevant for your system.
    -Paul

  • Can I create a file using pl/sql code in application server ?

    Hi
    I wanted to create a file(any kind of file .txt .csv .exe etc..) using pl/sql code in application server?
    Please help me with an example...in this regard
    Regards
    Sa

    864334 wrote:
    I wanted to create a file(any kind of file .txt .csv .exe etc..) using pl/sql code in application server?And how is this "file" to be delivered?
    Files can be created by PL/SQL code and stored in the Oracle database as CLOBs. This a fairly easy and robust process. It runs entirely in the database. It conforms to transaction processing. The "file" (as a CLOB) resides in the database and can thus be secured via database security, is part of database backups and so on.
    The basic issue is how to deliver the contents of the CLOB to the user. If via FTP, then the database can directly FTP the contents of the CLOB to the FTP server as a file. If via HTTP, the database can deliver the CLOB as a HTTP download directly to the web browser.
    If the client is Java or .Net, then the CLOB contents can be delivered via SQL or DBMS_LOB or a custom PL/SQL interface.
    In such cases, there is no need to step outside the secure and flexible database environment and create a physical o/s file in the wild (outside the controls of database security, data integrity and transaction processing). This is thus recommended and is the preference.

  • Create a new material as a credit note uses code

    Dear Experts,
    May I ask you how to create a new material FOR a credit note uses code?
    wilson
    Edited by: wilson hong on Apr 16, 2009 8:22 AM

    Hi,
    I need to create that material for create credit note, the code when I am create a new credit note, select that specific material code, account payment transaction will be automatically to corresponds to the G/L Account, is it same as general procedure of create new material code, but this is not products.
    wilson

  • I'm trying to create a list using CustomSchemalXml property in ListCreationInformation object in CSOM. But, the code throws an error "Invalid List Schema".

    I'm trying to create a list using CustomSchemalXml  property in ListCreationInformation object in CSOM. But, the code throws an error "Invalid List Schema". Any pointers on how to set the CustomSchemalXml property?
    Sri

    Hi Lakshmanan,
    Thanks for your reply.
    I checked this post and there was no solution to the problem there. I undersand we cannot create a list based on custom template in CSOM, but what I'm looking for is how of form xml and set it to CustomSchemalXml
     property, so that everytime when I want to create a list with similar content types and stuff, I can just set the
    CustomSchemalXml  property. 
    Sri

  • Code Page while creating a connection using pmrep

    Hi, I am creating a connection using pmrep by using the below command:- Createconnection -s "Microsoft SQL Server" -n <connection_name> -u <Conn_username> -p <Conn_pwd> -l <####> -b <dbname> -v <Servername> Here the -l option denotes code page which is mandatory. When I create the connection manually from workflow manager, I use code page as ""MS Windows Latin 1 (ANSI), superset of Latin1". However the same value is not valid when I use in the above command with -l option.It gives the error message as:-  "Unknown code page "MS Windows Latin 1 (ANSI), superset of Latin1" specified,Valid code pages are:US-ASCII, Latin1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10, JapanEUC, UTF-8, ISO-8859-15, IBM833, IBM834, MS874, IBM930, IBM933, IBM935, MS936, IBM937, IBM939, MS949, MS950, IBM1047, UTF-16BE, UTF-16LE, MS1361, gb18030, MS932, IBM037, IBM273, IBM280, IBM285, IBM297, IBM500, MS1250, MS1251, MS1252, MS1253, MS1254, MS1255, MS1256, MS1257, MS1258, JEF, KEIS, JIPSE, UNISYS, MELCOM, JEF-K, KEIS-K, JIPSE-K, UNISYS-K, MELCOM-K, JP-EBCDIC, JP-EBCDIK, HKSCS, UTF-32BE, UTF-32LE, UTF-16_PlatformEndian, UTF-16_OppositeEndian, UTF-32_PlatformEndian, UTF-32_OppositeEndian, UTF-7, IMAP-mailbox-name, SCSU, BOCU-1, CESU-8, IBM367, ISO-8859-13, IBM-942, IBM-943, IBM-33722, IBM-5050, IBM-1373, IBM-950, IBM-1375, IBM-1386, GB2312, GB_2312-80, IBM-964, IBM-949, cp949c, EUC-KR, IBM-971, KSC_5601, IBM-1363, IBM-1162, IBM-874, IBM437, cp850, cp851, IBM852, IBM855, cp856, cp857, cp858, cp860, cp861, cp862, cp863, cp864, cp865, cp866, IBM-867, cp868, cp869, KOI8-R, IBM-901, IBM-902, cp922, IBM-4909, IBM-1250, IBM-1251, IBM-1255, IBM-5351, IBM-1256, IBM-5352, IBM-1257, IBM-5353, IBM-1258, macintosh, x-mac-greek, x-mac-cyrillic, x-mac-centraleurroman, x-mac-turkish, hp-roman8, Adobe-Standard-Encoding, IBM-1277, cp1006, cp1098, cp1124, cp1125, IBM-1129, cp1131, IBM-1133, cp1381,ISO-2022-JP, JIS_Encoding, ISO-2022-JP-2, JIS7, JIS8, ISO-2022-KR, IBM-25546, ISO-2022-CN, ISO-2022-CN-EXT, HZ-GB-2312, JIS_X0201, windows-57002, windows-57003, windows-57011, windows-57010, windows-57007, windows-57004, windows-57005, windows-57008, windows-57009, LMBCS-1, LMBCS-2, LMBCS-3, LMBCS-4, LMBCS-5, LMBCS-6,LMBCS-8, LMBCS-11, LMBCS-16, LMBCS-17, LMBCS-18, LMBCS-19, IBM277, IBM278, IBM284, IBM290, IBM420, IBM424, IBM-803, IBM-838, IBM870, IBM871, IBM-875, IBM918, IBM-1025, IBM1026, IBM-1097, IBM-1112, IBM-1122, IBM-1123, IBM-1130, IBM-1132, IBM-1140, IBM-1141, IBM-1142, IBM-1143, IBM-1144, IBM-1145, IBM-1146, IBM-1147, IBM-1148, IBM-1149, IBM-1153, IBM-1154, IBM-1155, IBM-1156, IBM-1157, IBM-1158, IBM-1160, IBM-1164, IBM-1364, IBM-1371, IBM-1388, IBM-1390, IBM-1399, IBM-16684, IBM-4899, IBM-4971, IBM-12712, IBM-16804, IBM-1137, IBM-5123, IBM-8482, IBM-37-s390, IBM-1047-s390, IBM-1140-s390, IBM-1142-s390, IBM-1143-s390, IBM-1144-s390, IBM-1145-s390, IBM-1146-s390, IBM-1147-s390, IBM-1148-s390, IBM-1149-s390, IBM-1153-s390, IBM-12712-s390, IBM-16804-s390, ebcdic-xml-us, is-960, IBM1159, IBM13121, IBM13124, IBM4933, IBM835, IBM836, IBM837.Failed to execute Createconnection." How do I confirm which is the right code page value to used with -l option which gives me value equal to "MS Windows Latin 1 (ANSI), superset of Latin1" in the connection. I have tried US-ASCII and Latin1, they both do not give the desired result. Regards,Swapan

    Hi, I am creating a connection using pmrep by using the below command:- Createconnection -s "Microsoft SQL Server" -n <connection_name> -u <Conn_username> -p <Conn_pwd> -l <####> -b <dbname> -v <Servername> Here the -l option denotes code page which is mandatory. When I create the connection manually from workflow manager, I use code page as ""MS Windows Latin 1 (ANSI), superset of Latin1". However the same value is not valid when I use in the above command with -l option.It gives the error message as:-  "Unknown code page "MS Windows Latin 1 (ANSI), superset of Latin1" specified,Valid code pages are:US-ASCII, Latin1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10, JapanEUC, UTF-8, ISO-8859-15, IBM833, IBM834, MS874, IBM930, IBM933, IBM935, MS936, IBM937, IBM939, MS949, MS950, IBM1047, UTF-16BE, UTF-16LE, MS1361, gb18030, MS932, IBM037, IBM273, IBM280, IBM285, IBM297, IBM500, MS1250, MS1251, MS1252, MS1253, MS1254, MS1255, MS1256, MS1257, MS1258, JEF, KEIS, JIPSE, UNISYS, MELCOM, JEF-K, KEIS-K, JIPSE-K, UNISYS-K, MELCOM-K, JP-EBCDIC, JP-EBCDIK, HKSCS, UTF-32BE, UTF-32LE, UTF-16_PlatformEndian, UTF-16_OppositeEndian, UTF-32_PlatformEndian, UTF-32_OppositeEndian, UTF-7, IMAP-mailbox-name, SCSU, BOCU-1, CESU-8, IBM367, ISO-8859-13, IBM-942, IBM-943, IBM-33722, IBM-5050, IBM-1373, IBM-950, IBM-1375, IBM-1386, GB2312, GB_2312-80, IBM-964, IBM-949, cp949c, EUC-KR, IBM-971, KSC_5601, IBM-1363, IBM-1162, IBM-874, IBM437, cp850, cp851, IBM852, IBM855, cp856, cp857, cp858, cp860, cp861, cp862, cp863, cp864, cp865, cp866, IBM-867, cp868, cp869, KOI8-R, IBM-901, IBM-902, cp922, IBM-4909, IBM-1250, IBM-1251, IBM-1255, IBM-5351, IBM-1256, IBM-5352, IBM-1257, IBM-5353, IBM-1258, macintosh, x-mac-greek, x-mac-cyrillic, x-mac-centraleurroman, x-mac-turkish, hp-roman8, Adobe-Standard-Encoding, IBM-1277, cp1006, cp1098, cp1124, cp1125, IBM-1129, cp1131, IBM-1133, cp1381,ISO-2022-JP, JIS_Encoding, ISO-2022-JP-2, JIS7, JIS8, ISO-2022-KR, IBM-25546, ISO-2022-CN, ISO-2022-CN-EXT, HZ-GB-2312, JIS_X0201, windows-57002, windows-57003, windows-57011, windows-57010, windows-57007, windows-57004, windows-57005, windows-57008, windows-57009, LMBCS-1, LMBCS-2, LMBCS-3, LMBCS-4, LMBCS-5, LMBCS-6,LMBCS-8, LMBCS-11, LMBCS-16, LMBCS-17, LMBCS-18, LMBCS-19, IBM277, IBM278, IBM284, IBM290, IBM420, IBM424, IBM-803, IBM-838, IBM870, IBM871, IBM-875, IBM918, IBM-1025, IBM1026, IBM-1097, IBM-1112, IBM-1122, IBM-1123, IBM-1130, IBM-1132, IBM-1140, IBM-1141, IBM-1142, IBM-1143, IBM-1144, IBM-1145, IBM-1146, IBM-1147, IBM-1148, IBM-1149, IBM-1153, IBM-1154, IBM-1155, IBM-1156, IBM-1157, IBM-1158, IBM-1160, IBM-1164, IBM-1364, IBM-1371, IBM-1388, IBM-1390, IBM-1399, IBM-16684, IBM-4899, IBM-4971, IBM-12712, IBM-16804, IBM-1137, IBM-5123, IBM-8482, IBM-37-s390, IBM-1047-s390, IBM-1140-s390, IBM-1142-s390, IBM-1143-s390, IBM-1144-s390, IBM-1145-s390, IBM-1146-s390, IBM-1147-s390, IBM-1148-s390, IBM-1149-s390, IBM-1153-s390, IBM-12712-s390, IBM-16804-s390, ebcdic-xml-us, is-960, IBM1159, IBM13121, IBM13124, IBM4933, IBM835, IBM836, IBM837.Failed to execute Createconnection." How do I confirm which is the right code page value to used with -l option which gives me value equal to "MS Windows Latin 1 (ANSI), superset of Latin1" in the connection. I have tried US-ASCII and Latin1, they both do not give the desired result. Regards,Swapan

  • BDC - Creating Inspections Plans using T-Code QP01

    Hi All,
    I want to Create Inspection Plans using QP01 transaction using BDC.
    It having 4 screens. Third and Fourth screens having line item details.
    I did recording. Upto First and second screens data is populating properly, coming to third screen data is not taking even though bdctable having data (in debug mode i found). I don't know hw to resolve this problem.
    Can u please explain hw to populate line-item details, possible give some example coding .
    Regards,
    Prabhakar

    Hi,
      If you are comfortable using function modules then you will not have any difficulty in using the BAPI, only thing we need to take care of the following, refer the following this is not using the bapi for Inspection plan, this is done for different purpose, still you can refer this and use accordingly,
    Data declarations,
    DATA: TOPNODEONLY LIKE BAPICO_GROUP-TOPNODEONLY,
          RETURN LIKE BAPIRET2,
          LT_HIERARCHYNODES LIKE BAPISET_HIER OCCURS 0,
          LT_HIERARCHYVALUES LIKE BAPI1117_VALUES OCCURS 0,
          LS_HIERARCHYNODES LIKE BAPISET_HIER,
          LS_HIERARCHYVALUES LIKE  BAPI1117_VALUES,
          LV_FLAG TYPE I,FLAG.
    DATA: BEGIN OF ORDERS OCCURS 0,
          ORDER_GROUP TYPE GRPDYNP-NAME_COALL,
          DESC(30),
          ORDER TYPE GRPVALUES-VFROM,
          END OF ORDERS.
    START-OF-SELECTION.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME = FILENAME
                FILETYPE = 'DAT'
           TABLES
                DATA_TAB = ORDERS.
      SORT ORDERS BY ORDER_GROUP ORDER.
      LOOP AT  ORDERS.
        IF LV_FLAG NE 1.
          TRANSLATE ORDERS-ORDER_GROUP TO UPPER CASE.
          LS_HIERARCHYNODES-GROUPNAME = ORDERS-ORDER_GROUP.
          LS_HIERARCHYNODES-DESCRIPT = ORDERS-DESC.
          LS_HIERARCHYNODES-HIERLEVEL = 0.
          LS_HIERARCHYNODES-VALCOUNT = 0.
          APPEND LS_HIERARCHYNODES TO LT_HIERARCHYNODES.
          LV_FLAG = 1.
        ENDIF.
        CLEAR LS_HIERARCHYNODES.
        LS_HIERARCHYNODES-GROUPNAME = ORDERS-ORDER.
        LS_HIERARCHYNODES-HIERLEVEL = 1.
        LS_HIERARCHYNODES-VALCOUNT = 0.
        APPEND LS_HIERARCHYNODES TO LT_HIERARCHYNODES.
        AT END OF ORDER_GROUP.
          FLAG = 'X'.
        ENDAT.
        IF FLAG = 'X'.
    BAPI is called to create Internal Order group in the system
          CALL FUNCTION 'BAPI_INTERNALORDRGRP_CREATE'
               TABLES
                    HIERARCHYNODES  = LT_HIERARCHYNODES
                    HIERARCHYVALUES = LT_HIERARCHYVALUES.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          CLEAR :  LT_HIERARCHYNODES[], LS_HIERARCHYNODES.
          CLEAR : LV_FLAG,FLAG.
        ENDIF.
      ENDLOOP.
    Hope this helps,
    Rgds,

  • How to Create Symbolic link using pure Java code?

    Hi,
    I would appreciate if someone can tell me how to create symbolic link using JAVA API. I have looked into many forums but couldn't get a better answer.

    Java is likely not the tool to use here, as symlinks are not present in Windows while "pure" Java attempts to be platform independent. You could use Runtime.exec to execute the ln -s command
    http://forum.java.sun.com/thread.jspa?threadID=664475&messageID=3892685
    Good Luck
    Lee

  • Error while creating a material using Bapi_material_savedata

    Hi,
    there is an error encountered while creating a material using BAPI_MATERIAL_SAVEDATA..
    The Error description is " Material description is not transfered " even after supplying the Material description and other mandatory field information like industrial sector, material type ,basic view indicator,Base UOM,Base UOM ISO code.
    Please let me know the solution, if you know.

    Hi,
    Please search the SCN for the answers
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=errorinBAPI_MATERIAL_SAVEDATA+&cat=sdn_all

  • Can't create a file using fm 'File_Get_Name'

    hi gurus,
    Can you please help me with this issue. There's a program that have to create a file using the said fm. It was working before when it was set in OS NT. But when the settings and codes have been changed to UNIX, the program was able to generate the program. But the file doesn't exist. It seems it  doesn't create a file in that server.
    What else do I need to check?
    Points will be rewarded. Thanks
    Here's the code for your reference:
    CALL FUNCTION 'FILE_GET_NAME'
           EXPORTING
    *         CLIENT                  = SY-MANDT
                logical_filename        = 'Z_SYSBRIDGE' 
             OPERATING_SYSTEM        = SY-OPSYS
    *         PARAMETER_1             = ' '
    *         PARAMETER_2             = ' '
    *         USE_PRESENTATION_SERVER = ' '
    *         WITH_FILE_EXTENSION     = ' '
    *         USE_BUFFER              = ' '
           IMPORTING
    *         emergency_flag          =
    *         file_format             =
                file_name               = ltfile-out_path
           EXCEPTIONS
                file_not_found          = 1
                OTHERS                  = 2.

    Hi Maui,
    Did you check SM69, where the code that ties to this FM creates a file after it execute your FM...
    SM69 are os commands that does UNIX execution or other OS commands...
    or maybe you have missed another FM like FM 'SXPG_OS_COMMAND' or of some sort.
    Thanks
    William Wilstroth

Maybe you are looking for