Suppress field in header
I feel like there should be a simple solution for this but I am having the hardest time figuring it out. I am using crystal report 9 and there is a group header that contains the account number and beginning balance. I want to show the account number at the beginning of each page if the transactions exceed one page, however I only want to show the beginning balance on the first page of the transaction list by account. I want to somehow suppress the field showing the begining balance until a new account number is reached. Here is an example of the layout of the report:
--PageHeader
Account Balance
--GroupHeader1
1191-0041 1,000.00
--Detail
xx xxxx xxxx xxxx xxxxx
xx xxxx xxxx xxxx xxxxx
xx xxxx xxxx xxxx xxxxx
xx xxxx xxxx xxxx xxxxx
end of page 1
page 2
--GroupHeader1
1191-0041
--Detail
xx xxxx xxxx xxxx xxxxx
xx xxxx xxxx xxxx xxxxx
xx xxxx xxxx xxxx xxxxx
xx xxxx xxxx xxxx xxxxx
--GroupFooter
ending balance
end of page 2
page3
--groupheader1
1193-0001 2,000.00
--Detail
xx xxxx xxxx xxxx xxxxx
xx xxxx xxxx xxxx xxxxx
xx xxxx xxxx xxxx xxxxx
xx xxxx xxxx xxxx xxxxx
I hope this makes sense, but this is how I want it to be laid out noticing that on page 2 the account number is the same as page one therefore the balance is suppressed but when you get to page 3 there is a new account so the balance is shown.
I'm used to designing reports in Access where there is an onchange event of the header, is there anything like that in crystal reports? Does anyone have suggestions on how to accomplish what I want to accomplish?
Thank you in advance!
Jamie,
How you do this will depend on whether or not there is a one to one relation between the account and the beginning balance or a one to many relation.
If it is one to one then you can conditionally suppress the beginning balance with a form similar to;
= previous()
If there is a one to many relation (the balance displayed on page 2 differs from that on page 1 for the same account) then you will need to set up a counter formula in the Group Header;
WhilePrintingRecords;
Numbervar X:= X + 1
and reset the counter in the Group Footer;
WhilePrintingRecords;
Numbervar X:= 0
You could then conditionally suppress the beginning balance when X is greater than 1.
Numbervar X;
X > 1
Similar Messages
-
Issue while creating a field at header level in CRM 4.0
Hi,
Using transaction EEWB, I tried to add a custom field at the header level to an existing Project. The Project already had an extension created to which I made the modifications i.e. added the field at header level. But, when I tried to generate the changes, <b>I got the following two errors : 1. No task for editing objects can be determined and 2. Creating of BAdi Implementation failed</b>.
Now, when I try to revert back the changes I am not allowed to do so. Please help me as I am new to CRM. Thanks a lot in advance.Hi,
if ur still not able to do that
goto EEWB
Enter the Project Name
Right click on the Enhancement---->Select back to previous version.
<b>Please Reward Points & Mark Helpful Answers</b>
To mark Helpful Answers ;click radio Button next to the post.
RadioButtons
<b>o</b> Helpful Answer
<b>o</b> Very helpful Answer
<b>o</b> Problem Solved.
Click any of the above button next to the post; as per the anwers
<b>To close the thread; Click Probelm solved Radio Button next to the post , which u feel is best possible answers</b> -
Add custom fields in header of FI documents using FI_HEADER_SUB_1300IM
Hi
We are trying to add a couple of custom fields in header area of FB01 by making a copy of badi FI_HEADER_SUB_1300IM. With this method we are facing a couple of problems
- The custom fields added in bkpf structure, only appears in FB01 just in the case we have go before to FB03 or FB02.
- We don´t reach to save data of these fields in table BKPF.
can anybody help us with these problems?
thanks in advance for your help
I leave here the code we have used in the copy of badi FI_HEADER_SUB_1300IM
MODULE d1300_pbo OUTPUT.
IF exit IS INITIAL.
CALL METHOD cl_exithandler=>get_instance_for_subscreens
CHANGING
instance = exit
EXCEPTIONS
* NO_REFERENCE = 1
* NO_INTERFACE_REFERENCE = 2
* NO_EXIT_INTERFACE = 3
* DATA_INCONS_IN_EXIT_MANAGEM = 4
* CLASS_NOT_IMPLEMENT_INTERFACE = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
CALL METHOD exit->get_data_from_screen_pbo
EXPORTING
FLT_VAL = 'ES'
IMPORTING
ex_bkpf = g_bkpf
ex_x_no_input = g_no_input.
loop at screen.
if g_no_input = 'X'.
screen-input = 0.
modify screen.
endif.
endloop.
ENDMODULE.
**************************+
FORM put_value .
* import header data from main screen
call method exit->get_data_from_screen_pai
EXPORTING
FLT_VAL = 'ES'
importing
ex_bkpf = g_bkpf.
* set reference fields
g_bkpf-ZZDPTOAPROBADOR = bkpf-ZZDPTOAPROBADOR.
g_bkpf-ZZDELAPROBADOR = bkpf-ZZDELAPROBADOR.
* put data to main screen
call method exit->put_data_to_screen_pai
exporting
im_bkpf = g_bkpf
flt_val = 'ES'.
ENDFORM.
Added code tags
Edited by: Rob Burbank on May 10, 2011 12:17 PMSriVarma,
Cool! I didn't know this BADI!
Playing around with existing implementations I can see that, BADI_SD_TAB_CUST_H, can definitely enhance the Sales order header with additional tab strip screens. Similarly BADI_SD_TAB_CUST_I can be used to enhance Sales order item screens.
Here is what I understand from the coding of an existing implementation
ACTIVATE_TAB_PAGE - takes a module pool program name and a subscreen that you created and adds it as a additional tab page to sales order header screen. You need to pass back f_program and f_dynpro with your program and screen number that you painted
TRANSFER_DATA_TO_SUBSCREEN - can be used to read and pass data to the fields on the subscreen you created
TRANSFER_DATA_FROM_SUBSCREEN - can be used to pass back whatever changes done by user to the respective Z variables in VBAK
PASS_FCODE_TO_SUBSCREEN - Pass the fcode the user selected to your subscreen.
I would suggest that you create a function group and create screens, functions etc within that and use those in these methods. Refer existing implementations. The global data of the function group can then be used to communicate between all the above methods -
Custom field at Header level in Additional Data B tab of VA01/VA02
Kindly help me out , I have a requirement to add a custom field at Header level in Additional Data B tab of VA01/VA02.
Program: SAPMV45A
screen 8459
This can be done only through access key or not. Can any body tell me procedure to do that.
Appreciate your response.Thanks in advancePlease help me out this
-
Designing a Field Editable Header for Merging with Exsisting PDF doc
I'm trying to accomplish designing a Field Editable Header so I may merge (import) into an exsisting PDF file to create 1 file.
I have already designed my header in Live Cyle with editable fields. The only issue is when I save it as a PDF file I can't merge this with an existing PDF file to make just 1 PDF document.
I also tried importing the header as a stamp but the issue here is the fields no longer stay editable in my header.
My Business:
What im trying to accomplish is sending out Submittal Sheets (Information Documents) with a professional looking header. I want to make this a simple process were I can open up a PDF document and place in the header (has to be with editable fields) for several PDF documents.
Attached is the header I designed and would like to merge with PDF documents to creat 1 file. Please Note; the header has to still stay editable.
Thanks,
Anyone that can help would be greatley appreciated, James AltoAnd That would require a PC, because LiveCycle Designer does not exist on a Mac and most likely never, ever will.
Or would require The cost of Parallels about $80, Windows 7 upwards of $300 depending upon the version, and what ever Live Cycle designer Cost around $100.00
Or buy a decent PC (not one of the 2-300 dollar jobs that all is good for is using IE) with windows 7 on it. Then get a Copy of Acrobat and Live cycle Designer. -
Change of custom fields in header data
Hi Experts,
How to change of custom fields in header data in frontend SRM for Process PO transaction ?
Help is appreciable.
Thank You.
Regards,SunuThank you for your replies.
There is one custom field in header data called 'SDN Number' of our PO for example and i would like to change this from 'SDN Number' to 'Login Name' as the logic for taking the value for this field should remain the same. Only the display text should change.
So, whenever i login into frontned SRM and process the transaction 'Process PO' i should be able to see 'Login Name' instead of 'SDN Number' in header data of the PO.
Hope i reaced my query in clear way.
Highly thanful for your replies.
Regards, Sunu -
Payment term Field at header level
Hello
my requirment is while creating sale order the payment term field at header level should be in display mode. or not shown while creating sale order. doesnot want to maintain user exit. or anyone have knowledge of field (of payment term ZTERM ) object ?
RegardsDear Mr. M Yasir Dogar,
To this requirement as Lakhsmi says, to make the Payment term in display mode, without user exit you can do with Tansaction variant SHD0. It actually make a view sort of control.
Steps:
Run T CODE: SHD0
Transaction VA01
Variant ZVA01_VARIANT
create a sales order.
during the process system, records all the details of object involved in the sales order creation.
and it records with the screen number as variant name.
After execution go to details, Go to
Name of screen variant: ZVA01_VARIANT_4440
and in Payment terms VBKD-ZTERM, select Output only (means it will only display the data from master) and others option also will be there like * Invisible, Required.*
Select the appropriate one.
Along with this activity,in the authorization - profile the Variant should be assign to the USERS having T CODE : VA01. This can be done by the Basis team.
We did similar to control the manual entry of Payment terms.
Regards,
Mani -
Additional fields in header of me21n
which badi to use to add a tab and additional fields in header of me21n.
Hi,
check the following badi
ME_GUI_PO_CUST
AWARD POINTS IF IT HELPS -
SUPPRESSED fields in the queue in message mapping
Hello Experts,
I have stucked in a graphical mapping because of suppressed fields in the queue. I would like to remove these fields without loosing the context.
I tried writting UDF but still they appear in the queue as <null>
my queue looks like
<null>
SUPPRESS
1
2
3
Context Change
SUPPRESS
1
Context Change
SUPPRESS
SUPPRESS
1
2
Context Change
( All above suppress appears in GRAY and not in GREEN )
and I need it as
<null>
1
2
3
context change
1
context change
1
2
context change
Your expert comments will be appreciated.your input is like below:
<null>
SUPPRESS
1
2
3
Context Change
SUPPRESS
1
Context Change
SUPPRESS
SUPPRESS
1
2
Context Change
( All above suppress appears in GRAY and not in GREEN )
if you use mapWithDefault() node function before the UDF with this queue and use any Default value for e.g. "XYZ" then your SUPPRESS will be replaced
with value XYZ and your input to the UDF will become as below:
<null>
XYZ
1
2
3
Context Change
XYZ
1
Context Change
XYZ
XYZ
1
2
Context Change
Now you can write the UDF using this queue as input (cache= queue)
for(int i=0; i<input.length;i++){
if(input[i].equals("XYZ")){} // do nothing
else if(input[i].equals(ResultList.CC)){ // add context change to the output queue
result.addContextChange();
else { // add the required value in the output queue
result.addValue(input[i]);
after this you will get the output Queue as below:
<null>
1
2
3
context change
1
context change
1
2
context change -
Invalid header field -- invalid header field
I have different stream in clearcase when i trying to do for remote eclipse client i am getting an following error.
[#|2006-08-30T10:17:36.028-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=11;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: java.io.IOException: invalid header field -- invalid header field.
Note:The same configuration if i do for different stream with local host it is working fine.
Please do let me know where the problem exactly and how do resolve this problem.
IDE:Eclipse - 3.1 (Remote Eclipse)
CVS:Clearcase
Clearquest.
server:Sun Server
Language:Java
I am running my each process through RMI.After searching for another hour in the forums (4 hours if I count looking earlier this week) I found the following thread:
http://forum.java.sun.com/thread.jsp?forum=22&thread=31042
In it it said that the parameters need to follow the same order as the options. So the following two should be valid:
jar cfm jar-file manifest files
jar mcf manifedt jar-file filesBut the following are not valid
jar cfm manifest jar-file files
jar mcf jar-file manifest filesI really hope this saves many people the headache that I have been having!
Peter -
Same field on Header and Item level with same data
Hi Experts,
I want enter value in WEB UI Header level Screen filed and the same value I have to see in same filed which has added to item level WEB UI Screen. Is Same field on Header and Item with data copying functionality supports by the CRM WEB UI?
Thanks in Advance
Edited by: sakthidharan acc on Jan 31, 2012 10:25 AMHi Leon,
can you please explain me how can i read the value of parent entity and make it appear at the item level?
Please help me in this regard
Its urgent.
Iam the beginner , so that is the reason iam asking many questions , please help me
Thanks and Regards,
Sak -
Customer fields at header in SC
Hi Forum,
We are on SRM4.0. We want to add a few customer fields at header level in the SC screen.
But while searching the forum I found note no. 672960 which says that
Note that the header fields cannot be displayed for the shopping cart. If you define fields on the header, they can only be filled in BADIs.
I am confused by this, please guide me on how to create header fields in SC and how to fill them and pass thses values to BE.
Any pointers will be of great help.
Thanks,
AnubhavHi,
Add the customer fields in the header level.
Please look at the below structure to add the custom fields.
INCL_EEW_PD_HEADER_CSF_SC Customer Enhancements on Shopping Cart Header
INCL_EEW_PD_HEADER_CST_SC Tabular Customer Enhancements on Shopping Cart Header
INCL_EEW_PD_HEADER_SSF_SC SAP Internal Enhancements (IBUs, and so on) on SC Header
INCL_EEW_PD_HEADER_SST_SC SAP Int. Tabular Enhanc. (IBUs, and so on) on SC Header
You will find this useful.
https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
Regards,
Venkat -
Hi Experts,
i am using the BAPI : "BAPI_REQUISITION_CREATE". it' is working Fine.But i need to pass the Long Text Field of Header Note, Item Text, Item Note,Delivery text and Material P.O text through the BAPI.
Plz,Help me to Achieve this.
Thanks in Adv.
V.S.Naidu.Below is the code for BAPI_PR_CREATE just go through it and your dbout will be solved
it has example for multi line header text as well as line items...!
Hope it helps
CLEAR GV_BAPIMEREQHEADER.
MOVE 'NB' TO GV_BAPIMEREQHEADER-PR_TYPE.
move 'X' To GV_BAPIMEREQHEADER-AUTO_SOURCE.
CLEAR GV_BAPIMEREQHEADERX.
MOVE 'X' TO GV_BAPIMEREQHEADERX-PR_TYPE.
MOVE 'X' TO GV_BAPIMEREQHEADERX-auto_source.
CLEAR WA_BAPIMEREQITEMIMP.
MOVE :
'00010' TO WA_BAPIMEREQITEMIMP-PREQ_ITEM,
**'001' TO WA_BAPIMEREQITEMIMP-PUR_GROUP,
*'TWISTED PAIR CABLE' TO WA_BAPIMEREQITEMIMP-SHORT_TEXT,
'C-1030' TO WA_BAPIMEREQITEMIMP-MATERIAL,
'1000' TO WA_BAPIMEREQITEMIMP-PLANT,
'100' TO WA_BAPIMEREQITEMIMP-QUANTITY,
'20091001' TO WA_BAPIMEREQITEMIMP-DELIV_DATE.
APPEND WA_BAPIMEREQITEMIMP TO GT_BAPIMEREQITEMIMP.
CLEAR WA_BAPIMEREQITEMX.
MOVE :
'00010' TO WA_BAPIMEREQITEMX-PREQ_ITEM,
'X' TO WA_BAPIMEREQITEMX-PREQ_ITEMX,
*'X' TO WA_BAPIMEREQITEMX-PUR_GROUP,
'X' TO WA_BAPIMEREQITEMX-SHORT_TEXT,
'X' TO WA_BAPIMEREQITEMX-MATERIAL,
'X' TO WA_BAPIMEREQITEMX-PLANT,
'X' TO WA_BAPIMEREQITEMX-QUANTITY,
'X' TO WA_BAPIMEREQITEMX-DELIV_DATE,
'X' TO WA_BAPIMEREQITEMX-EXT_PROC_PROF.
*EXT_PROC_REF_DOC
*EXT_PROC_REF_ITEM
APPEND WA_BAPIMEREQITEMX TO GT_BAPIMEREQITEMX.
CLEAR EXTRA_FIELDS.
MOVE '00010' TO EXTRA_FIELDS-BNFPO.
MOVE '12345678901' TO EXTRA_FIELDS-ZZDANOSPR_NO.
MOVE 'MUM01' TO EXTRA_FIELDS-ZZPORT.
MOVE '20100505' TO EXTRA_FIELDS-ZZETD.
MOVE '20100506' TO EXTRA_FIELDS-ZZETA.
MOVE '123456789123456789' TO EXTRA_FIELDS-ZZEXTWG.
MOVE TEMP TO EXTRA_FIELDS-ZZrob.
CLEAR WA_EXTENSIONIN.
MOVE 'BAPI_TE_MEREQITEM' TO WA_EXTENSIONIN-STRUCTURE.
MOVE EXTRA_FIELDS TO WA_EXTENSIONIN-VALUEPART1.
APPEND WA_EXTENSIONIN TO GT_EXTENSIONIN.
CLEAR WA_EXTENSIONIN.
MOVE 'BAPI_TE_MEREQITEMX' TO WA_EXTENSIONIN-STRUCTURE.
MOVE EXTRA_FIELDS TO WA_EXTENSIONIN-VALUEPART1.
APPEND WA_EXTENSIONIN TO GT_EXTENSIONIN.
CLEAR WA_EXTENSIONOUT.
MOVE 'BAPI_TE_MEREQITEMX' TO WA_EXTENSIONOUT-STRUCTURE.
*MOVE EXTRA_FIELDS TO WA_EXTENSIONOUT-VALUEPART1.
APPEND WA_EXTENSIONOUT TO GT_EXTENSIONOUT.
clear wa_PRITEMTEXT.
MOVE '00010' TO wa_pritemtext-preq_item.
move 'B01' TO WA_PRITEMTEXT-TEXT_ID.
MOVE 'THIS IS JUST FOR TEST' TO WA_PRITEMTEXT-TEXT_LINE.
APPEND WA_PRITEMTEXT TO GT_PRITEMTEXT.
clear wa_PRITEMTEXT.
MOVE '00010' TO wa_pritemtext-preq_item.
move 'B01' TO WA_PRITEMTEXT-TEXT_ID.
MOVE 'THIS IS THE SECOND LINE' TO WA_PRITEMTEXT-TEXT_LINE.
APPEND WA_PRITEMTEXT TO GT_PRITEMTEXT.
BREAK-POINT.
CALL FUNCTION 'BAPI_PR_CREATE'
EXPORTING
PRHEADER = GV_BAPIMEREQHEADER
PRHEADERX = GV_BAPIMEREQHEADERX
* TESTRUN =
IMPORTING
NUMBER = GV_NUMBER
PRHEADEREXP = GV_PRHEADEREXP
TABLES
RETURN = GT_BAPIRET2
PRITEM = GT_BAPIMEREQITEMIMP
PRITEMX = GT_BAPIMEREQITEMX
* PRITEMEXP =
* PRITEMSOURCE =
* PRACCOUNT =
* PRACCOUNTPROITSEGMENT =
* PRACCOUNTX =
* PRADDRDELIVERY =
PRITEMTEXT = GT_PRITEMTEXT
* PRHEADERTEXT =
EXTENSIONIN = GT_EXTENSIONIN
* EXTENSIONOUT = GT_EXTENSIONOUT
* PRVERSION =
* PRVERSIONX =
* ALLVERSIONS =
* PRCOMPONENTS =
* PRCOMPONENTSX =
* SERVICEOUTLINE =
* SERVICEOUTLINEX =
* SERVICELINES =
* SERVICELINESX =
* SERVICELIMIT =
* SERVICELIMITX =
* SERVICECONTRACTLIMITS =
* SERVICECONTRACTLIMITSX =
* SERVICEACCOUNT =
* SERVICEACCOUNTX =
* SERVICELONGTEXTS =
* SERIALNUMBER =
* SERIALNUMBERX =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
WRITE : 'THE PR CREATED IS : -',GV_NUMBER. -
Is there a way of suppressing certain report fields upon printing? These fields need to be visible when the report is viewed, but I only want to print some of them to small label printer (need to suppress unnecessary information as to not waste labels).
Thanks in advanceYOu will need to use a parameter such as {?Print}
User can select Y or N from your default settings.
Then use that parameters to suppress fields as required
{?Print} = 'Y'
User will not ba able to print from the normal version, they will need to rerun report with this param set as Y
Ian -
How can i put some more fields in header portion of my main window
I am having one table in main window.Item no,itm desc,net valu,Uom.I need to add required date and unit price these to into my table.I had declared these two in text fields.So that these two fields are coming in the below line of the header portion.How can I maintains all these 6 fields in header portion.
Hi ,
click on the table element. Then click on Table Painter. There create two more coloumns . Simplly by drawing two vertical lines. Over there u have the facilty to do that.
Then create two text nodes in the header window .and give the output options properly .Then u can get the desired result.
Also try to increase the width of the table, so that it can accomodate all the cells in one line.
Maybe you are looking for
-
Can someone please let me know how I can fix this error and open my Lightroom? Thanks.
-
Insert Page Name in Master page
Hello. I was wondering if there was an easy way to insert the page name inside a master page, something like indesign's variable ? If i want this exactly like the widgets (drag and drop a box, it places with editable attribute of pageitem::menu), i'm
-
SFTP support in Flash Builder?
Hi all, I wanted to ask whether there is SFTP support somewhere in the Flash Builder / Flex Builder or whether I can somehow add this (plugin?). I searched the internet and I didn't come up with much about it. (I just downloaded and installed Flash B
-
Expense reports are not processing for future date?
hi folks, in our co.expense reports are not processing for future date, even though the end date is one month from now the expense reports are not getting paid. can anybody assist me to come out of this issue. thanks in advance, regards bhanu
-
Dear All, Is there any other way to copy the pdf elements or objects to illustrator if documents are protected with password. and is there any other option to open the secured pdf in illustrator. Pls guide Thank you