Variable for section number

I know there is a variable for chapter number and figure number. Is there a variable for section number? I am in a situation with several chapters in one document - and I am not allowed to separate them into separate chapters or use the book panel. And they want the figures to increment by chapter and be picked up in the cross referencing.
So the logical solution to me is to use a section number variable instead of a chapter number variable in the paragraph style. Is there such a thing?
I asked about this issue at Photoshop World last week, but did not think to ask it this way. So I'm still hoping there might be a way.
Thanks,
Marcy

Peter,
Would that special character work in a paragraph style to assign the section number, for example to figure 7-1 where 7 is the section number? If so, how would I insert the special character in the bullets and numbering section of a paragraph style? If I could do that, I may even be a hero to my client!
Thanks,
Marcy

Similar Messages

  • Text variable for total number of pages in book?

    Hello,
    Is it possible to create a text variable that contains the total number of pages in a book?
    The only option I see is for the total number of pages in a document, which doesn't come out right for any but the last doc in the book.
    Thanks,
    -dp-

    If you use the Cross Reference plug-in from DTPtools.com, you can create a cross ref to the last page of the book across the chapters.
    This is an old FrameMaker trick and I have not tried it with InDesign, but it should work. Test out the trial version first (do it on a copy of the book).

  • User Exit Variable for Calculating number of days in a month

    I need a query to calulate the number of days in a particular month upto the current date. For example if i give 26 Feb it should reutrn 25, if i enter 30march it should return 29 for any specific year. I have gone through some posts and understood that i need to create a formula variable (under calculated KF's) and then go to CMOD, create a project, then enancement Assignment RSAP0001 then EXIT_SAPLRSAP_001 and include a code in INCLUDE ZXRSAU01. But i have any clue of coding. Could someone give me the entire code and how to connect it to the formula variable KF in created. The technical name of the key figure is ZMDAYS. If i have made any mistakes or if there is another eaier alternative please let me know. I thankyou all for the help.

    Hi Uday,
    I have a few modifications in the code
    Data: xdate type d,
          ip_year(4) type N,
          ip_month(2) type N.
    Types : Begin of ty_month_days,
           month(2) type N,
           days(2) type N,
           End of ty_month_days.
    Data : it_month_days type ty_month_days occurs 0 with header line.
    ip_year = 2006.
    ip_month = 01.
    do 12 times.
        CONCATENATE ip_year ip_month '01' INTO xdate.
        xdate = xdate + 33.       "this date is in the next month
        xdate+6(2) = '01'.        "first day of next month
        xdate = xdate - 1.        "last day of xmonth
        it_month_days-month = xdate+4(2).       "number of days of xmonth.
        it_month_days-days = xdate+6(2).
        append it_month_days.
        ip_month = ip_month + 1.
    enddo.
    This code stores Month and No. of days in the internal table it_month_days.
    You can access this internal table for your calculations
    This should help.
    Regards,
    Praveen.
    Message was edited by: praveen mathew

  • Enter the Section code for line number '000'

    Dear Consultants,
    While posting the Travel Expenses, The system generates posting documents but gives error as "Enter the Section code for line number '000'". Please advise me about the activity to which this error is related to. I am giving Document type as AB.
    This error is seen only if the Expense Type is related to some Vendor account like Expenses by company (Service provider's vendor a/c) or Advances paid to the employee & Expenses incurred by employee (Employee Vendor account)
    Regards,
    Bindumadhav
    Edited by: BINDUMADHAV AMBIKE on Mar 26, 2011 7:18 PM

    I found that some validation criteria were maintained in Tcode OB28. We can edit those validation criteria to exclude Travel Management. OR it was suggested by FICO to use posting key as 34 instead of 31.
    This solved my problem.

  • Variable for start page number?

    I have a collection of indesign documents collated in a book.
    I want to implement a footer that looks like:
    "Start Page - Last Page"
    "750 - 763"
    where Start Page is begining of the beging of the constituent indesign document and last page is the end of the document.
    I can only find a variable for Last Page. Where the start page variable?

    But the Current Page Marker would only be the correct starting page at the very first page of each section! All next pages will show, well, the Current Page ...
    There is no variable for this, it seems. A cross-reference might work -- initally, it's more work, but at least it will update automatically as you move pages around. Point against is, you would need to create a new master page for each article! (Assuming your footer is on a master page.)
    I don't see a good solution out of the box.

  • What should should the "Section Number" text variable display?

    Regarding the updating text that comes from "Insert > Section Number" and is placed in a layout...
    It seems that this text should always update with the section number, as the title states. However, each time I use it/test it, it displays the book title. Is this a normal occurance (and I am just confused by the name?), or should it be displaying something else?
    Thanks in advance.

    See: Publishing With iBooks Author
    http://shop.oreilly.com/product/0636920025597.do 

  • How to create Presentation variable for columns and to use it in Narrative?

    Hi All,
    Anybody know how to create presentation variable for a column (i.e., i need to create it in edit formula section itself). And then, I should use it in Narrative section to display that column value. Is it possible? Or do i need to use any other variable for this requirement? If so please let me know, how to create it? This is very urgent requirement.
    Thanks in Advance
    Thenmozhi

    Hi Satya,
    I just want to create a table that should horizontally display the values like below:
         SUID Tag # :123456               Year Mfg: 2007                                                                                     
         Description: computer corporation FA ID#: 4576
         Model Number: 4569 hESC: #ert
         Serial Number: 78945 Flags: c
    Department: Hematology
    User: thenmozhi
    Database: OLAP
    I think we can create this type of report using either Narrative or Static Text. But I am not sure whether it is possible or not? And also another thing is that sectioning is applied for SUID Tag # column. So, depending on the dashboard prompt if the SUID Tag # retrieves two or more values.
    Then the first value for example 123456     and the values for the other columns related to this SUID Tag # value should display in the first page (i.e., page 1). And if the next value of the SUID Tag # for example say 678901 then the values should move to second page that is like this:
         SUID Tag # :678901               Year Mfg: 2008                                                                                     
         Description: Computer Manufacturing FA ID#: 4577
         Model Number: 4570 hESC: #eth
         Serial Number: 78946 Flags: G
    Department: Hematology
    User: Rehman
    Database: OLAP
    Thanks
    Thenmozhi

  • Having trouble with adobe flash cs6 accepting a variable for the scene calling gotoandplay

    ive got a simple quiz going and i seem to have hit a bit of a brick wall, in order to avoid having a seperate wrong answer scene per question i decided to impliment a simple history system, with a string variable defined on the first scene as a global variable and set at every question, problem is whenever the function to go back is called flash spits out an error saying it cant accept a variable for this parameter, but surely that cant be right. i dont understand where im going wrong and as this is coursework i need to fix it quickly. any chance of help?

    The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....
    - is declared but not instantiated
    - doesn't have an instance name (or the instance name is mispelled)
    - does not exist in the frame where that code is trying to talk to it
    - is animated into place but is not assigned instance names in every keyframe for it
    - is one of two or more consecutive keyframes of the same objects with no name assigned in the preceding frame(s).
    If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.
    If you are going to continue pursuing this using AS3 please start a new posting in the AS3 forum...
    http://forums.adobe.com/community/flash/flash_actionscript3?view=discussions

  • Replacement path variable for date not working

    We have a formula variable using replacement path (BEx 7.0) for a date field and after that we have calculated key figures to perform date difference calculations.
    This was working perfectly well until recently when the calculated key figures displayed an "X" instead of the value.
    The value seems to appear only when the date fields are drilled down in the report.SO this works like a formula instead.
    Is this just an unnatural case where something just stopped working ?
    We have checked the calculated key figures and the formula variables , they havent been changed in the recent past.
    Is there any other solution you could offer to get date differences without having the date fields in the rows ?
    Edited by: ABCD on Jul 29, 2009 2:28 PM

    How to use Replacement Path Variables to perform Date Calculations
    A Step-by-Step guide
    Have you ever wanted to perform calculations using dates defined as characteristics but have never worked out how it can be done? Replacement Path Variables are the key.
    Using Replacement Path in your Text and Formula variables, replace values held in a characteristic. The Characteristic value variables are replaced by the results of a query at run-time.
    The steps detailed below show a technique to enable a BEx query user to determine the number of days between two dates.
    Scenario:
    The group HR administrator wants a detailed line item report that lists all employee absences in a given period. The report is to show the employee number, the absence start date, together with the end date of the absence and show the number of calendar days the employee was absent.
    The good thing about using this technique is that no redesign work is needed from your technical BW team, no ABAP is involved and best of all, it quick and easy.
    Solution:
    For this example I created an ODS object called Absence that holds basic employee information along with individual absence record data.
    Follow the steps below:
    1.     Open the BEx Query Designer and create a new report on your chosen InfoProvider.
    2.     Drag the Employee, Valid from and Valid to characteristics into the Rows section of the screen.
    If needed, apply data selection restrictions to the characteristics as shown in Figure 1.
    3.     Right click on the Key Figures structure and select New Formula (Figure 1).
    Figure 1
    4.     
    5.     In the new formula window right click on Formula Variable and choose New Variable ( Figure 2 ).
    Figure 2
    6.     
    7.     The Variables Wizard will launch and will require you to specify the variable details.
    ( Click the NEXT button if the Introduction screen appears )
    8.     Enter the variable details on the General Information as shown in Figure 3 .
    Enter the Variable Name , Description and select Replacement Path in the Processing by field.
    Click the Next Button.
    Figure 3
    9.     
    10.     In the Characteristic screen (Figure 4) select the date characteristic that represents the first date to use in the calculation (From Date).
    Click the Next Button.
    Figure 4
    11.     
    12.     In the Replacement Path screen (Figure 5) select Key in the Replace Variable with field. Leave all the other options as they are (The offset values will be set automatically).
    Click the Next Button.
    Figure 5
    13.     
    14.     In the Currencies and Units screen (Figure 6) select Date as the Dimension ID.
    Click the Next button.
    Figure 6
    15.     
    16.     The Save Variable screen (Figure 7) displays a summary of the new variable.
    Click on the Finish button to save the variable.
    Figure 7
    17.     
    18.     Repeat steps 4 to 11 to create a second variable for the second date to be used in the calculation.
    In the example shown, the characteristic 0DATETO is used to create the variable ABSEND (Absence End Date).
    Define the Calculation
    We can now use our two new replacement variables to define our new calculated key figure that generates the number of absence days for each record.
    1.     You will now be back at the New Formula screen (Figure 8). Drag and drop the two new variables into the formula section of the screen and insert the subtract sign (u201C-u201C) between the two.
    2.     Give the new formula a description and click the formula syntax check button  to ensure the formula is valid.
    Figure 8
    3.     
    4.     The new calculated key figure will now show in the columns section of the BEx query designer (Figure 9).
    Figure 9
    5.     
    6.     Save the query and execute it.
    In the example shown the Number of Calendar Days Absent is calculated correctly. See the table of results below.
    Employee     Valid From     Valid To     Number of Calendar
    Days Absent
    50000001     17/04/2004      21/04/2004      4
    50000002     16/07/2004      29/09/2004      13
    50000003     07/01/2004      09/02/2004      33
    50000004     04/08/2004      05/08/2004      1
    Cheers:)
    Vivek

  • How to substitute a bind variable for a IN condition?

    Dynamically I am setting the WHERE condition for one of my blocks using SET_BLOCK_PROPERTY Built in. The condition that I am attaching has two IN conditons..
    For Eg.,
    contracts_tbl.status_col IN ('NEW', 'OLD', 'EXPIRED', 'OPEN')
    AND contracts_tbl.id_col IN (1, 2, 3, 4)
    The number of choices in the IN condition will vary depending upon the user choice in my screen. Because of this the parsed SQL state is could not be shared and multiple of these are getting created in shared pool. To avoid this I would like to use bind variables.
    There are two ways I am trying to do this..
    1. Generating one bind variable for each value. i.e.,
    contracts_tbl.status_cod IN (:global.var1, :global.var2,
    :global.var3)
    Now this could result it memory error if no. of choices exceeds the avilable memory. Also its a tedious task to purge the variables after querying the block. Also because of multiple IN conditions, the chances of different set of selections are possible and then again sharing will be minimal.
    2. The second method is to set the one bind variable for each IN condition. i.e.,
    :GLOBAL.Var1 := '( 'NEW', 'OLD', 'EXPIRED', 'OPEN' )';
    :GLOBAL.Var2 := '(1, 2, 3)';
    contracts_tbl.status_col IN :GLOBAL.Var1
    AND contracts_tbl.id_col IN :GLOBAL.Var2
    In this case, forms is not querying as the IN condition takes the global variable value as one string and the query returns no rows though there are plenty available for each status. Also any NUMBER type condtions erroring out as the , and ( are invalid numerals.
    Q: Is there anyway you can make this work? or Is there any other better method to substitute bind variables in place to avoid creating new set of statements for each query in the shared pool?
    Your suggestions and pointers are higly appreciated. Please respond immediately as this is a P1.
    Thanks,
    -- Raam.

    2. The second method is to set the one bind variable for each >>IN condition. i.e.,
    :GLOBAL.Var1 := '( 'NEW', 'OLD', 'EXPIRED', 'OPEN' )';
    :GLOBAL.Var2 := '(1, 2, 3)';
    contracts_tbl.status_col IN :GLOBAL.Var1
    AND contracts_tbl.id_col IN :GLOBAL.Var2 This method should work - not sure if you put exact syntax in or not but your first assignment would cause a problem as everywhere you want one ' mark you would have to put two so that it does not close your quoted string
    Try the following syntax:
    :GLOBAL.Var1 := '( ''NEW'', ''OLD'', ''EXPIRED'', ''OPEN'' )';
    :GLOBAL.Var2 := '(1, 2, 3)';
    SET_BLOCK_PROPERTY('blk name',
    default_where,
    'contracts_tbl.status_col IN ' || :GLOBAL.Var1
    || ' AND contracts_tbl.id_col IN ' ||
    :GLOBAL.Var2);
    Hope this helps,
    Candace Stover
    Forms Product Management

  • Variables for calendar year/month

    Hi All,
    My requirement is to create a headcount report which has to display the number of employees for different time period. ´
    1) When user chooses calender day then the report should display total number of employees on that time period(01.01.2005)-(10.01.2009).
    2) If user chooses calyear /month then he should see the report for each calyear/month (like 01.2005 , 02.2005,02,2005....)in the columns.
    I tried dropping calyear/month in column and i got the result for my second scenario (like 01.2005 , 02.2005,02,2005....)
    But when the user chooses the calday it still shows the report by calmonth (bcoz of calyear/month in the column).
    I also tried text variable for calyear/moth(replacement path method) but i have the restriction in the interval (from date or to date - i have to choose one by default) so it shows only either date in the columns .
    The  two variables. 1) Calender Day (Interval,Optional)) 2) Calender Year /Month (Interval,Optional)
    I got four restricted key figure to restrict number of employees by business.
    Eg :
    When Cal Day is choosed then the report will be :(01.01.2005 -10.01.2009)
                   (01.01.2005 - 10.01.2009)
    Country  Sales Finance
    India        20      30        
    Denmark  30      50        
    When Calyear / Month is choosed then the report will be : (01.2005 - 02-2005) :
                        01.2005                    02.2005                                
    Country     Sales Finance      Sales Finance    
    India           24     70                70         45       
    Denmark    36      60               56        30         
    Regards
    A.Vasister
    Edited by: vasister a on Oct 9, 2009 11:10 AM

    Hello,
    This cannot be achived dynamically.
    I think the two ways you can work out is creating two different reports one to include daywise and the other to include montwise structure.
    Otherwise you can keep calday in free char and ask user to swap calmonth with calday as per requirement.
    Else you have to create a workbook report and make use of VB macros to calculate report dynamically which is a very complex approach.
    Regards,
    Shashank

  • SAP customer number unknown for installation number

    Hi There,
    We're facing some problems after a reconfiguration of some things in Solution Manager. We have SAP EHP 1 for SAP Solution Manager 7.0. Have made two days ago the installation of the latest SP, but not the kernel yet.
    The problem is in the job SEND_SYSTEM_RELATIONSHIP_TO_SUPP. The error is:
    08.01.2010 10:43:24 Job started                                                                                00           516          S
    08.01.2010 10:43:24 Step 001 started (program AI_SC_SEND_SYSTEM_RELATIONSHIP, variant , user ID SOLMAN_BTC)      00           550          S
    08.01.2010 10:43:24 SOL determined as monitoring Solution Manager system                                      AI_SC_EN        075          S
    08.01.2010 10:43:24 SAP customer number unknown for installation number 00XXXXXXXX               AI_SC_EN        097          E
    08.01.2010 10:43:24 Job cancelled after system exception ERROR_MESSAGE                                           00           564          A
    The info about the system:
    solman:soladm 21> disp+work
    disp+work information
    kernel release                701
    kernel make variant           701_REL
    compiled on                   HP-UX B.11.23 U ia64
    compiled for                  64 BIT
    compilation mode              UNICODE
    compile time                  Feb 24 2009 21:53:01
    update level                  0
    patch number                  32
    source id                     0.032
    supported environment
    database (SAP, table SVERS)   700
                                  701
    operating system
    HP-UX B.11
    Thanks,
    Joao

    Hi João Cesar,
    I´m faccing with the same error... I installed the solution manager Ehp1 and it have SPS20 applied which correspond to ST 400 level 20 (SAPKITL430).
    When I am in transaction SMSY in section Systems and I press the button "READ SYSTEM NUMBER" is shown an error message that says "SAP customer number unknown for installation" the details of help says:
    Diagnosis
    Installation number &V1& that is assigned to some system(s) in transaction SMSY is not assigned to an SAP customer number in table AIINSTALLATIONS.
    Procedure
    Please check the log of background job REFRESH_ADMIN_DATA_FROM_SUPPORT for errors.
    So, when I entry in that job log I found this error:
    No customer numbers maintained in view V_AISAPCUSTNOS   |  AI_SC_EN   |  106
    Then I went in table/view V_AISAPCUSTNOS and inside does not contain any data!!!
    All the notes I found were related to lower versions and so I could not implemented the snotes corrections!!  Any notes for my release that are related with this problem?
    Joao Cesar what you did for solve this problem??? You didn´t mentioned!! You only mentioned that you implemented some notes.. but which ones?!!?

  • Creation of OLAP Variable for Master data

    Dear BW Experts,
    How to Create OLAP Variable for Master data  in SAP BW? What is the use of OLAP Variable?

    The entry column Type (Variable) on the Select Data tabpage indicates a variable time frame in which the data should be requested. The variables are not replaced by concrete values until a request is made. There are eight options:
    Variable            Data request        Description
    0
                          Yesterday
                                            (12am – 12am)
    1
                         Last week
                                            (Monday-Sunday)
    2
                           Last month
                                            (1. (First day - last day of previous month)
    3
                           Last quarter
                                           (1. (First day - last day of previous quarter)
    4
                           Last year
                                          (01. (January 1 – Dec 31 of previous year)
    5
                      User time selection
                                               See below
    6
                       ABAP routines
                                               See below
    7
                         <b>OLAP variables</b>
                                                See below
    <b>Time selections with the help of the variables 0 to 4.</b>
    The variables 0-4 only refer to date fields of the data type DATS.
    <b>User time selection</b>
    Type 5 gives you a free selection of all fields.
    If you select this variable for a field, confirm the selection, and then choose Detail for Type, an additional dialog box appears. In this dialog box you can freely limit the values of the fields and determine the next period value and the number of periods until a repetition.
    Variables are placeholders for values and are not replaced by concrete values until a data request is made. You can also use a Variable for selections when requesting data for an InfoObject, if you choose type 7, confirm the selection, and then choose Detail for Type.

  • Use a variable for the integer in Fmt offset modifier

    I'm trying to pluck values out of a long array of comma separated string
    values.
    I'm doing this within a loop and would like to use the loop interation to
    point to the starting point in the array.
    Here's what I have working so far:
    Fmt (scratch,"%s<%s[i0t44]",transmitBuf);
    Works great.
    Now if I go in and change i0 to i3 then my modifier doesn't start looking
    for a comma "," until after the 3rd character. Still working great. However....
    If I try to use an integer called "loop" instead of the literal offset
    value it blows up:
    Fmt (scratch,"%s<%s[iloopt44]",transmitBuf);
    Is there a way that I can use a variable for the integer portion of the
    offset modifer?
    Thanks All!

    Hi Roberto
    Thank you. I actually need to use a symbolic value for the interger section of the modifer vs. the specifier.
    So, in my example:
    Fmt (scratch,"%s<%s[i0t44]",transmitBuf); 
    I want to make the following substitution (Assume z=0)
    Fmt (scratch,"%s<%s[izt44]",transmitBuf);
    Some background...
    I'm looking to loop index through a long CSV string array (transmitBuf) that looks like this:
    1,PEEP,7,6,,,21,20,
    So on my first loop when I use the following:
    Fmt (scratch,"%s<%s[i0t44]",transmitBuf); 
    scratch = "1"
    ... Perfect. I now do a string length of scratch (which equals 1)
    and add 1 to it, I'm ready for my next loop which would
    literally read like this:
    Fmt (scratch,"%s<%s[i2t44]",transmitBuf); 
    However, I want to put this inside a loop, so I would like to
    increment a variable (++z) and use the following:
    Fmt (scratch,"%s<%s[izt44]",transmitBuf); ---- Ka-Boom!
    So it's the use of the variable in the modifer that blows up
    the Fmt command.
    appreciate any thoughts...
    Thanks
    Mark

  • System Variable For Internal table count

    Can anybody tell me what the system variable for internal table count?
    I just wants to know how many recoreds are there in my internal table ?
    Regards,
    pandu.

    Hi ,
    DESCRIBE TABLE <itab> [LINES <l>] [OCCURS <n>] [KIND <k>].
    If you use the LINES parameter, the number of filled lines is written to the variable <lin>. If parameter, the you use the OCCURS value of the INITIAL SIZE of the table is returned to the variable <n>. If you use the KIND parameter, the table type is returned to the variable <k>: ‘T’ for standard table, ‘S’ for sorted table, and ‘H’ for hashed table.
    using variable
    SY-TFILL
    After the statements DESCRIBE TABLE, LOOP AT, and READ TABLE, SY-TFILL contains the number of lines in the relevant internal table.
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3798358411d1829f0000e829fbfe/content.htm
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 21, 2008 4:53 PM

Maybe you are looking for

  • Error in PO creation in backend (SRM to R/3)

    Hello,   We need to add contract no and contract item no to EKPO table in backend. For this reason we implemented BADI : BBP_ECS_PO_OUT_BADI in SRM system. Also updated bbp_cufmap table with necessary information. <b>Code in the BADI :</b> Loop at IT

  • How to find out where used list of Table or T-code

    Dear ABAP gurus I know many of you have done this several times. wish to find out which Transaction code INSERTs the data into the table IHPA. I did the where  used list - SE11 ( for specific key work called INSERT ). Used the Table called D010TAB wh

  • 2 AD domains with 1 exchange server, single sign in needed.

    Hey guys, this is the scenario, Company A has its own domain 2008 server with exchange 2007, users have email address [email protected] Company B is a subsidiary with its own AD domain Server 2012 R2. trust is set up between the domains. currently th

  • SendAs being overwritten on all mailboxes

    We have had persistent problems getting SendAs to work; we set it up in EMC on a mailbox (delete old SendAs, add a few new ones), all seems OK, then an hour later the SendAs has been overwritten by the old SendAs setting. I've checked and all the mai

  • How to use java 6 and uninstall java 7 ?

    Curently I'm facing some problem uninstall java 7, whenever I delete java 7 and install java 6,  when i check on my java -version it is showing java version "1.7.0_09". How can use java 1.6 instead of 1.7 ? Please help thanks.