Issue with conditional breaks
Hi Experts,
I am working on conditoinal breaks in adobe.
My requirement is: For a delivery item if i have 3 batched i have to print 3 forms with item data. Here the data of one batch can flow into multiple pages I had applied a conditional break on batch field at the item level of the table(designed with dragging the table into the layout.). this form contains Batch at header and footer. When the data fits in one page conditional breaks are working fine and i am getting 3 forms in the same spool as desired. But when there is more item data conditional breaks are not working properly.
Issue like item data over flow on the footer and batches are not showing up properly according to the page breaks.
Please help on this issue.
Thanks,
Anil
Guys, Tell me if my question was not clear or need further information.
Similar Messages
-
Issue With Page Break When Sorting is also applied on group
Hi
I am facing an issue with Page break only when I have sorting applied on the grouping that I have in the template.
The following is the sample XML
<ROWSET>
<ROW>
<GRE>org1</GRE>
<ORGANIZATION>Accounts</ORGANIZATION>
<FULL_NAME>test1,</FULL_NAME>
<ELEMENT_NAME>TEST BONUS</ELEMENT_NAME>
<CLASSIFICATION>Supplemental Earnings</CLASSIFICATION>
<RUN_VALUE>250</RUN_VALUE>
<MONTH_VALUE>500</MONTH_VALUE>
<QUARTER_VALUE>500</QUARTER_VALUE>
<YEAR_VALUE>500</YEAR_VALUE>
</ROW>
<ROW>
<GRE>org1</GRE>
<ORGANIZATION>Finance</ORGANIZATION>
<FULL_NAME>test2</FULL_NAME>
<ELEMENT_NAME>VOLUNTARY AD AND D</ELEMENT_NAME>
<CLASSIFICATION>Voluntary Deductions</CLASSIFICATION>
<RUN_VALUE>5.19</RUN_VALUE>
<MONTH_VALUE>10.38</MONTH_VALUE>
<QUARTER_VALUE>10.38</QUARTER_VALUE>
<YEAR_VALUE>10.38</YEAR_VALUE>
</ROW>
<ROW>
<GRE>org1</GRE>
<ORGANIZATION>Finance</ORGANIZATION>
<FULL_NAME>test3</FULL_NAME>
<ELEMENT_NAME>HMO MEDICAL</ELEMENT_NAME>
<CLASSIFICATION>Pre-Tax Deductions</CLASSIFICATION>
<RUN_VALUE>19.67</RUN_VALUE>
<MONTH_VALUE>39.34</MONTH_VALUE>
<QUARTER_VALUE>39.34</QUARTER_VALUE>
<YEAR_VALUE>39.34</YEAR_VALUE>
</ROW>
<ROW>
<GRE>org1</GRE>
<ORGANIZATION>Finance</ORGANIZATION>
<FULL_NAME>test4</FULL_NAME>
<ELEMENT_NAME>PENSION NR DC</ELEMENT_NAME>
<CLASSIFICATION>Pre-Tax Deductions</CLASSIFICATION>
<RUN_VALUE>0</RUN_VALUE>
<MONTH_VALUE>360</MONTH_VALUE>
<QUARTER_VALUE>360</QUARTER_VALUE>
<YEAR_VALUE>360</YEAR_VALUE>
</ROW>
</ROWSET>
In the template I group the data based on CLASSIFICATION and then sort on the same column CLASSIFICATION. I have a page-break applied for every group.
When I generate the PDF, I am not getting the page-breaks for every group. Instead some of them are displayed in the same page.
But when I remove the sorting that I had in the template on the column CLASSIFICATION, I am getting the output in the desired way but not in a sorted order.
kumarHi All,
I am using MS-WORD 2007 and BI Publisher desktop 10.1.3.3.3.
When I use split-by-page-break, splitting is performed for every line .. but not for group of lines.
Can anybody throw some light on this?
FYI...
I am using this code:
?if: position() mod 6= 0?
?split-by-page-break:?
?end if?
(Of course with in tags)
in G_LINES loop.
Can anybody help me out :-(
--Saritha -
Smartform issue with page break
Hi All,
I have an unusual issue with page break. Here is my scenario, I have a group of items in my table main area and for each group there is sort of header that prints. Similarly there are multiple groups needing a header whenever there is a new group printing. So far it prints fine. But whenever there is a page break and when items from the same group also print on the next page the same header needs to print on the top of next page similar to how the header area repeats on each page. Unfortunately I did not see any page break event for table main area.
Here is an alternative I have tried but having issues: I have created two rows for this group header one printing from header and another printing from main area. Whenever there is a page break the same group header prints as part of the header and on the rest of the page it prints from the main area. But in a particular scenario, there is a new group starting at almost bottom of the page but as there is not enough space left on the same page (page protection) jumps to next page. In this case there are two group headers printed one coming from the preivous page main area and another coming from the next page header. I hope my explanation is clear enough to understand.
Please suggest if there is any basic feature of smartform that I have missed out can solve this issue or if there is another alternative you can think of. I appreciate your responses.
Thanks..I was able to solve this issue on my own.
Instead of checking for a page break on header line I am using a flag that is prepopulated in the table. I set this flag whenver a new group of items starts. If the flag is set I print it from the main area and if it is not set I print it from the header. This helped in avoiding the multiple header lines.. -
Issue with condition editor in integration process
Hi,
Now there is the chance to use this feature for the first time.
Seems to be very easy.... No, it isnt!
Variable RETURN (type string) referencing to a field of a message structure is used for this condition:
RETURN!="I001"
So, if the variable does not contain the string I001 the process should use the exception path.
Ok, easy! This works!
But now I have this case to solve with the condition editor.
If the variable does not contain the string I001 OR E002 the process should use the exception path.
So my condition looks like this now:
RETURN!="I001"|RETURN!="E001"
=> If return is NOT I001 OR Return is NOT E001....
Result: semantical check is OK but the process always chooses the exception path now.
Oh, why this?
An alternative RETURN!=("I001"|"E001") does not pass the semantic check.
So I am missing ideas now how to write down the condition for my switch step
as this issue seems to be not discussed in any thread here.
Any help with this strange feature is really appreciated!
Best regards
DirkHi Dirk,
=> If return is NOT I001 OR Return is NOT E001....
for me, your logic is wrong, what you need for your exception receiver is :
=> If return is NOT I001 AND Return is NOT E001....
NON (a OR b) <=> (NON a) AND (NON b).
so for your receiver_ok, you have to use the opposite: so the solution providen by Ramesh, and so to ahve two receiver lines like that:
(Result = "l001" OR Result ="E0011" ) ==> Receiver_ok
<blank_condition (*)> ==> Receiver_Exception
(*) all condition which does not respect the 1st ones: Result = "l001" OR Result ="E0011".
regards.
Mickael -
Issue with Condition dependent PO output
Hi,
We're implementing Extended classic version for SRM 5.0.
As part of the output determination, we need to determine 2 print outputs for Purchase orders. We have 2 purchase organizations and both of them need to have 2 different smartforms for the print. So, we're designing 2 different smartforms. In order to assign the smartforms as per the purchasing org, I've used "Condition dependent output" in IMG settings. But whenever I try to print, it picks up the standard form from the IMG node "Define actions for Document Output" where the standard form is maintained. We did not maintain the custom form in this node because we have 2 forms for print.
I would like the program to pick up the custom form maintained in " Condition dependent document output".
I understand that we could use the BADI alternatively. But any help in resolving this problem through the configuration is highly appreciated.
Regards,
LakshmiHi,
Pls implement the badi "BADI BBP_OUTPUT_CHANGE_SF".
For sample code/pointers,see the foll links;
Re: How to change default smartform triggered while printing for shopping cart
Re: How to change default smartform triggered while printing for shopping cart
Re: Smartform display
Re: Add a Printer ? -> LP01
Re: Condition Dependent Document Output
Re: Add a Printer ? -> LP01
sending Smart form to Printer in SRM
Re: SRM PO's to be printed out with the PO
BR,
Disha. -
Hi,
I have report on a cube which when execute vit all main characteristics(highest level char[plant] to lowest level[material] chars) like plant, external-material grp, material type, project-plant and material the report vil come vit correct values , wen v remove the lowest level ie., material the overall result is changing.
There is a condition for Godown Quantity(godown qty notequalto 0)
Because of the condition on godown qty the overall result is changing.
like:
qty 61-120amt 61-120qty >120----amt >120
10936.06-766957.91-1955762.54--725613332.2(overall-results)
when we drill down are remove drill down any characteristic then some value(6422) of amt61-120 days is shifting to amt>120days,this happening also for qty.
like:
10934.66760535.291955763.94---725619755(overall-results)
so i removed the condition and executed the report, here wat ever char v remove and wat ever char v drill down no effect to over all result means it vil remain unchange.
But asking for no zero values for Godown quantity.
Help me in this....
Thanks in Advance,
Chaitu.
Edited by: chaithu218 on Jun 6, 2011 5:09 PMHi,
user555994 wrote:
Hello Lee,
thanks for your reply.
But what is B?I think Lee meant to name the in-line view "B", like this:
SELECT b.app_req_id
FROM (SELECT a.app_req_id,
COUNT(*) cnt -- or maybe COUNT (DISTINCT a.class_symbol)
FROM app_req a
WHERE a.class_symbol IN ('MBA', 'BTECH', 'BBA', 'SENIOR SECONDARY', 'SECONDARY')
GROUP BY a.app_req_id) b -- Alias added here
WHERE b.cnt = 5
;You don't really need either alias. In fact, you don't need the sub-query: the query below is equivalent to the one above:
SELECT app_req_id
FROM app_req
WHERE class_symbol IN ('MBA', 'BTECH', 'BBA', 'SENIOR SECONDARY', 'SECONDARY')
GROUP BY app_req_id
HAVING COUNT (*) -- or maybe COUNT (DISTINCT class_symbol)
= 5
;If the combination (app_req_id, class_symbol) is not unique, then use "COUNT (DISTINT class_symbol)" instead of "COUNT (*)".
There is only 1 table i am reffering to and need to get the ID where values matches in other column. Other column can have the values as that of MBA,BTECH,BBA,SENIOR SECONDARY and SECONDARY.
I don't want to use query as -
Select APP_REQ_ID FROM app_req where class_symbol in ('MBA', 'BTECH', 'BBA', 'SENIOR SECONDARY', 'SECONDARY')
As this will be with either of the match found. I want where all of the match found.That's what the condition "WHERE b.cnt = 5" in the main query is for.
>
Kindly help.If the query above is not doing what you want, then post a little sample data (CREATE TABLE and INSERT statements), and the results you want from that data. Point out where the query above is getting the wrong results, and explain, with spoecific examples, how to get the right results in those places. -
Issue with Condition step in workflow
Hi Guys,
I am using a condition step to check the value of a variable A. If the value of A is 7 , then the wf will follow the true branch. If not it will go down the false branch. This is as simple as that. But the wf was going down the wrong path when i tried to test it. Meaning even if the value of A is 7, it was going down the false branch.
So i simulated that condition in the editor and manually entered a value of 7 for A and still it is going down the false branch.
I havent seen this issue before. Have any of you? I ahve tried clearing buffer, creating new version of the wf. But nothing has worked. I even tried to reverse the condition check. Like i tried to give IF A not equal to 7. Still its going down the worng branch.
Any ideas? The variable if declared of the type SYST-PEXPI. And the funny part is this wf is working fine in production.
HarishHi Harish,
Sometimes it happens that the value of the variable is not yet populated when the workflow is at the COndition step. Hence it always follow the same path irrespective of the actual value that needs to come.
Please check if the container element you are checking is having the correct value when at the COndition step. Else you can try adding a wait for few seconds step before the condition step and then test.
I guess the performance of the Production system is better than the dev or quality system so you are not facing the issue there.
Regards,
Saumya -
Issue with conditional formatting in XML publisher report
Hi All,
I am working on a XML report where in I am required to use conditional formatting to highlight changes, if there is change in any of the column value. The condition is required to be implemented on a text column as well as a number column. I have tried to use the conditional formatting available in the BI Publisher Release 10.1.3.2, wherein I have compared the two columns, and when they are not equal to, then formatting should change to red color; but the same is not working in the excel output.
Can anybody help here?
Thanks,
NitinCross conditional formatting ie formatting based on some other column is not supported in pivot view.
There are some workaround.See if that helps
http://www.obinotes.com/2010/03/pivot-view-conditional-formatting-in.html
Regards,
Sandeep -
Issue with Condition dependent PO output in SRM 4.0
Thought I am using Condition-Dependent Purchase Order Output
The PO preivew still picks up the form which is defined under Define Actions for Purchase Order Output
Please suggest.
Thanks in advanceHi,
Have a look at the following note:
Note 968534 - Incorrect determination of conditions on the BOR object
Thanks,
Pradeep -
Okay, so I had an issue with the Design View that was broke because of the <s:text> tag inside of the <s:RichText> tag. Adobe fiexed that in one of the next released builds (discussion here in fourms). So I took the tutorial file (again) and started to work on it and all went okay, except that the 'tracking' method on the ricktext tag was taken out. Forums mentioned that. So on import of the 'tutorial' fxp from FC to Flex builder, you get several errors because FC still builds the fxp file with 'tracking' property being used in the RichText tag. No biggie, i just remapped to trackingLeft property in the effected files. Now mind you in the older build that I had this project, worked fine, with the exception of the 'design view' issue with the <s:text> file borking the design view. Bug on it said it was fixed with the next build. which it was but this now when you take the EXACT same code and compile and run it the seach will break each and everytime. Think it has or may have something to do with Adobe taking out the 'tracking' property on the richtext tag.
anyone else having this issue?
attaching the fxp file
btw, posted as a bug FB-21116
https://bugs.adobe.com/jira/browse/FB-21116
CraigI can recreate the problem but I haven't seen it reported
before. WebHelp has an option that would let you avoid the input
box in the Index but not FlashHelp.
There is information in Snippet 1 on my site about TOC
synchronisation but I don't know if it will help with FlashHelp.
Please report this bug via the Adobe site.
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform -
Adobe form conditional breaks with subtotal
Hi,
I need to develop a form with a dynamic table that calculate a subtotal by company
Eg:
Reference Cash disc. Withh.tax Net loc. curr. CoCd
0 0 10 Z001
TESTE 1 0 0 20 Z001
TESTE 1 0 0 20 Z001
Subtotal 40
CNRWaeoitftsCh ehldhor e.cdtn.ai sccxce u.rr.
TESTE 3 0 0 30 Z002
TESTE 3 0 0 30 Z002
TESTE 3 0 0 30 Z002
90
I can set the conditional break by company but i can calculate the subtotal.
Thank you in advance.
Miguel
Edited by: miglsilva on Dec 20, 2010 1:52 PMHi Sai,
Thank you very much for the reply,
I have to implement something like a dynamic table:
Imagine
I have one table with the purchase items of all the companies, like that:
XBLNR NETTO Company Code
TESTE 20 Z001
TESTE 20 Z001
TESTE 30 Z002
TESTE 30 Z002
TESTE 30 Z002
TESTE 60 Z003
TESTE 30 Z003
So i have to display that by company, and when finish the las item i have to add a line with the subtotal like that:
XBLNR NETTO Company Code
TESTE 20 Z001
TESTE 20 Z001
Subtotal 40
TESTE 30 Z002
TESTE 30 Z002
TESTE 30 Z002
Subtotal 90
TESTE 60 Z003
TESTE 30 Z003
subtotal 90
I had already the conditional break for break when the data[-1].bukrs ne data.bukrs but when i put the script for calculate the value the result it is all the items.
Thank you in advance.
Miguel -
Issue with Dynamic WHERE condition in Cursor in FUNCTION.
Hi All,
I am facing an issue with cursor having dynamic WHERE condition in a function.
Below is the FUNCTION:
CREATE OR REPLACE FUNCTION EXCEPTION_MERGE(TABLE_NAME IN VARCHAR2, TAB_NAME IN VARCHAR2)
RETURN VARCHAr2
IS
stmt_tabcols VARCHAR2(32767);
v_columnname VARCHAR2(32767);
CURSOR C1 IS
SELECT 'A.'||A.COLUMN_NAME ||' = '|| 'B.'||B.COLUMN_NAME COLUMN_NAME
FROM
SELECT COLUMN_ID, COLUMN_NAME
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = TABLE_NAME
AND COLUMN_NAME NOT IN ('ERROR_TAB_ID','ERROR_LOAD_DATE')
) A,
SELECT COLUMN_ID, COLUMN_NAME
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = TAB_NAME
) B
WHERE A.COLUMN_ID = B.COLUMN_ID;
BEGIN
FOR TABCOL IN C1
LOOP
stmt_tabcols := stmt_tabcols ||TABCOL.COLUMN_NAME||',';
END LOOP;
stmt_tabcols := RTRIM(stmt_tabcols, ',');
RETURN stmt_tabcols;
END;
SELECT EXCEPTION_MERGE('WC_W_TEST_FS','WC_W_TEST_FS_GBL') FROM DUAL;It throws, below error:
ORA-06502 : PL/SQL : Numeric or value error : character string buffer too smallIf I REPLACE TABLE_NAME and TAB_NAME with hard coded values , it works fine. Can somebody look at the code and let me know the issue.
Edited by: ace_friends22 on Sep 9, 2012 1:08 PMEtbin neatly demonstrating the value of posting code in a manner which makes it easy to read.
It's obviously an naming/scoping issue. Faced with a join like this:
where table_name = table_namethe engine looks for something called table_name in the current scope. It finds it, a column on USER_TAB_COLUMNS and applies it to both sides of the filter. It has no way of knowing that there is also a parameter called TABLE_NAME, because that is outside its current scope. Consequently the query will join every table in your schema regardless of what values you pass, and that's why you blow the buffer.
Takw etbin's advice and name your parameter with a prefix:
where table_name = p_table_nameThis isn't a column in USER_TAB_COLUMNS which will force the engine to look in the next scope up, which in your case is the function, where it will find your parameter and so generate a query for the passed values only.
Cheers, APC
Edited by: APC on Sep 9, 2012 8:03 AM -
I have an issue with pricing condition ZPRO (basic price )
Hello gurus
I have an issue with pricing condition ZPRO (basic price ).
users created a sales order, and the basic price ZPRO which is mannual is added twice ,now i want to put a check so that condition tpye zpro is not accepted twice by the system. please let me know how can i restrict system from accepting condition type zpro twice during sales order.
regds
Edited by: sapuser09 on Jul 26, 2011 8:44 AMHi,
Solution for this is very simple. Don't make any changes to the sales order user exit. Use condition exclusion for the condition type.
Do customization in the following path of IMG
Sales and distribution---- > Basic Functions--- > Pricing--
> Condition exclusion -- > Condition exclusion for groups of conditions
First In Define condition exclusion groups you have to define condition exclusion group (ZXXX)
Then in Assign condition types to the exclusion groups you have to assign condition type to the exclusion group (ZXXX ZPRO)
Then in Maintain Condition exclusion for pricing procedures select the pricing procedure where you have the problem and click Exclusion box present in Dialog structure box
You will be faced with Change view exclusion overview screen Click new entries
You will be faced with New entries overview of added entries screen.
Take serial no as 10 Condition exclusion procedure as B (Best condition with in condition type) In the exclusion group1 add the exclusion group ZXXX.
Save it and create order.
In the order pricing you will again observe that ZPRO appearing twice but only one will be active.
Changing user exit for this issue is not at all required and it must be only the last resort Try replicating the issue in your sand box system. As I had mentioned it will be picked twice but only one will be active.
Hope this helps.
Edited by: mokirala tilak on Aug 10, 2011 10:19 AM -
Has anyone had issues with their Gyroscope or Accelerometers randomly breaking?
I had my phone in my purse for a few hours at work and when i took it out again they were no longer working. I didn't do anything (use, touch, drop, etc.) to the phone in that time period and now my phone gets extremely hot when I'm using it or when I'm charging it and the gyroscope/accelerometer no longer work. If i try to use the compass app it just goes on the fritz and the iPhone's parallax effect makes everything shake and swirl around like crazy.
I have a small scratch/chip in the corner of my phone and the Verizon store representative said he wasn't sure if it would be considered damaged or not. The iPhone is outside of the 1 year warranty. I'm not sure what to do but i can barely use the phone nowI understand your predicament radica1! Applications some times fail when system files get corrupted. I have resolved similar issues with my iPhone by doing a hard reset, as this procedure brings the phone back to original factory settings and clears any potential system error. Give it a try http://bit.ly/TDltcJ
AntonioC_VZW
Follow us on Twitter at www.twitter.com/VZWSupport -
Fix for WebHelp output issues with IE 11 breaks Search function
I use RoboHelp HTML 9 and have been having issues with generated WebHelp in IE 11. The TOC was totally blank and the Search tab looked fine but did not function. Everything worked fine in Firefox. After much experimenting and online research in these forums and elsewhere, I have been able to get the TOC to display properly in IE 11 (and Firefox) but the fix has caused the Search tab to stop functioning as per this other forum post RH9 Webhelp Search function is not working properly.
I need to have BOTH TOC and Search displayed and functioning properly but in order to get the TOC displayed properly I had to change the Preferred Format setting to "Pure HTML" and, according to the post mentioned above, that is what messes up the Search function. Is there a solution that will allow both TOC and Search to function properly?
Here is a summary of the steps I have taken to get to this point:
Tested WebHelp output from two different projects of my own as well as the Salesbuilder starter project - all would display/function properly in Firefox but not in IE 11 (blank TOC and non-functioning Search).
Found a "patch" for RH10 for the exact problem I was having with RH9 but was not able to find a version for RH9. Since the patch included 2 files (whutils.js and whver.js) only, I backed up these files in the RoboHTML\WebHelp5Ext\template_stock directory and replaced them with the new ones.
Regenerated one of my RoboHelp projects - still didn't work in IE 11 and now didn't work in Firefox either!
Tried turning on Mark of the Web but this did not help and would not allow opening PDF's which is necessary to one of the projects so I turned it off again.
Changed Preferred Format setting to "Pure HTML" instead of "DHTML" and the TOC displayed and functioned properly in IE 11 and Firefox! Hurray!!
Celebrated for 10 seconds until I clicked on Search tab and saw the input box filled with letters of the alphabet with other random letters, words, numbers below. It looks almost like an index but neither of my projects uses an index and I have not generated one in either project.
Found the post mentioned above which states that the solution is to change the Preferred Format setting back to DHTML but when I do that I am back to blank TOC and proper-looking but non-functioning Search!!!
I have now removed the Search tab from the output of one of the projects since it is not really necessary but I need to find a fix for this for my other project.
Both of my projects are run locally - one is release documentation that is distributed on a CD and the other is CSH which is loaded on the local server with the software for which it was created.
Dorothy
Note to Administrators: Sorry, but I originally posted this as a reply to a previous post - Contents, Index, & Search do not display in generated help... - so perhaps it should be removed from that thread to avoid confusion.The "preliminary" fix provided has worked perfectly! All versions of my WebHelp project now display TOC properly and I was able to change the Preferred Format setting back to DHTML so the Search tab both displays and functions as it should. I am very grateful to William for providing this fix which works in both IE 11 and Firefox. Someday I will pursue the fixes to make it work in Chrome as well.
Maybe you are looking for
-
Find out all usages of an annotation at runtime
Is there any way to find out all usages of an annotation at runtime? Hypothetically, something like Annotation.getDeclaringElements() which would return AnnotatedElements to which the specific annotation has been applied? JSR 269 is out of question,
-
My HP Pavilion g4 windows 8 laptop keeps freezing up can i fix it
Ok my HP Pavilion g4 Windows 8 locks up n freezing up can i fix it .
-
Very old 'Sent' mail missing from mailbox - help?
I've got a question about (really) old mail in my Sent mailbox. I went today to look for some very old messages (around 9/2001), and the earliest mail available to me is from Jan 1, 2003. Does Mail archive or delete mail after it passes a certain age
-
Why do I get logged out only for some threads?
I am presently logged in (obviously), but if I visit this thread: https://discussions.apple.com/thread/6664623 The screen suddenly changes to "welcome guest | login" in the upper left corner. If I click on login, I'm taken to the main welcome page
-
Glassfish / AppServer 9.1 PE domain creation issue
Hi, I'm installating glassfish appserver on a Solaris 10 box. Following the procedure, I have to run this command : /opt/glassfish/lib/ant/bin/ant -f setup.xml All running correctly except the domain creation. I got the following error : <snip> [exec