Smartforms : Repeation of data on the smartforms, but in ABAP is correct.
Hi all,
I am fetching the data on the smartforms by ABAP program, but when it is comming on the smartforms, it is repeat.
In the ABAP program, i have a internal table which is contain the some fields, and in the smartforms, i am using the table ->Program lines ->Text to show the data. so how am i correct it.?
Regards,
Hi,
I have a internal table with data as:
doc no ref. no posting_key amount
1002 po/0012 31 15000
1002 po/0012 40 1000
1002 po/0012 50 500
and i have a four variable as: netamt, grsamt, tdsamt & othamt.
then i have a condition as :
IF WA_FINAL-BSCHL = '31'.
NETAMT = WA_FINAL-DMBTR.
ENDIF.
IF WA_FINAL-BSCHL = '40'.
GRSAMT = WA_FINAL-DMBTR.
ENDIF.
IF WA_FINAL-BSCHL = '50'.
TDSAMT = WA_FINAL-DMBTR.
ENDIF.
READ TABLE T_FINAL INTO WA_FINAL
WITH KEY BELNR = WA_FINAL-BELNR.
OTHAMT = WA_FINAL-DMBTR.
alter this conditon i want to show the data on the smartforms as:
srno. docno refno netamt(net amt) grsamt(gross amt) tdsamt(tds amt) othamt (other amt)
Regards,
Similar Messages
-
I have just upgraded to a iphone c and back up all my data via the cloud but I cannot get my emails or contacts is there somethimg i'm not doing right?
Is your email account set up under Settings > Mail, contacts, calendars?
-
I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?
The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\>\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&lt;x2settings&gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.
-
My new iPhone5 suddenly showed the message "No SIM" - I tried resetting the phone but that did not correct the problem. Any suggestions?
http://support.apple.com/kb/TS4148
-
How to upright center the data of the smartforms' table content?
Hello,experts,
I find that smartforms 's format can make the table 's data level-centered ,how to make it upright centered?
pls help me out.thanksin fact ,I have such a problem:I write a print program with smartforms ,and use A4 paper to print ,the result is good ,but when changed to stylus printer ,some line can not display.
I changed the width of the table from CM to MM.,1CM=10MM.
the col line that can not printed at fist now can be printed .so I wonder if I make the data of the table content upright centered ,whether it will be ok:I hope this measure can make the row line that can not printed out previously can be printed out .
so can you give me some solution .I will be appreciate. -
Problem in displaying data in the smartform output.
Dear Freinds,
I have a requirement as per my requirement i have to display the employee dependents details in the smartform output.
I have taken a table in smartform and collected all teh employee dependents details . Each dependents his own details around 8 fields. so iam displaying in the smartform it is working till now no problem ........iam getting data as below
Dependentrelation | dependentname|passportno|expirydate|visano|visadate|visa expire date| ResidenceNo|Residence issuedate|
spouse | Raja |123456 |10/09/2009|122233|10/01/2009|10/01/2010 | 1001 |10/01/2009
These are the one of the dependentds details iam having till now , like this i have another dependts details. Now the problem i have
to add some fields to this list ( to this internal table) ...........if iam adding one more feild data is getting truncated as i dont have any more fields to add to right in the horizontal line........how can i solve this issue and how can i add further fields to this list
like date of birth of the dependents and gender
please could any one tell how i can solve this issue.
regards
divya.If this is a Tablethen only thing you can do is re-size the grid and font size to adjust your data. Like, displaying HEADINGS & DATAs in 2 rows instead of 1, etc.
Nothing else can be done. Otherwise you have to trim down the data to adjust in one page. -
Fetching survey (xml) data into the smartform
hi,
We are on CRM 5.0 and working withj surveys attached to the transactions
Requirement is as follows:
When the survey attached to the complaint transaction is filled up and saved with the transaction a smart form mail consisting of the survey details (Questions and answers) should go as a PDF mail.
Our concern is we are unable to pull the survey data ( questions and answers ) into the smart form as they are on xml format.
Can anyone help with step by step method for this ?
Also is there a standard class and method to acheive this .
Full points for good answers
Regrads
Rajhi raj..
use the following code to acheive the reqirement
read survey details using crm_order_read into it_survey1
then use the following code...
u will get the data into e_all_values...
then loop the e_all_values....
<<<<code>>>>>
data : it_survey type CRMT_SURVEY_WRKT.
data : it_survey1 type CRMT_SURVEY_WRKT with header line.
data: li_1 type ref to CL_CRM_SVY_SURVEY_TEXTS.
types: begin of survy_s_all_values1,
question_id type string,
answer_id type string,
value type string,
end of survy_s_all_values1.
data : I_SURVEY_ID type CRM_SVY_DB_SID,
I_SURVEY_VERSION type CRM_SVY_DB_SVERS,
I_VALUEGUID type CRM_SVY_DB_SV_GUID,
I_VALUEVERSION type CRM_SVY_DB_SV_VERS,
E_ALL_VALUES type SURVY_T_ALL_VALUES,
ET_TEXTS TYPE CRM_SVY_API_SURVEY_TEXT_T.
data : wa_E_ALL_VALUES type survy_s_all_values1.
data : wa_et_texts type CRM_SVY_API_SURVEY_TEXT.
move it_survey1-SURVEYID to I_SURVEY_ID.
move it_survey1-SURVEYVERSION to I_SURVEY_VERSION.
move it_survey1-VALUEVERSION to I_VALUEVERSION.
move it_survey1-VALUEGUID to I_VALUEGUID.
data: li_1 type ref to CL_CRM_SVY_SURVEY_TEXTS.
CREATE OBJECT LI_1
EXPORTING
I_SURVEY_ID = I_SURVEY_ID
I_SURVEY_VERSION = I_SURVEY_VERSION
I_LANGUAGE = SY-LANGU
I_VALUEGUID = I_VALUEGUID
I_VALUEVERSION = I_VALUEVERSION
CALL METHOD LI_1->GET_ALL_VALUES
IMPORTING
E_ALL_VALUES = E_ALL_VALUES.
CALL METHOD LI_1->GET_ALL_TEXTS
IMPORTING
ET_TEXTS = ET_TEXTS.
clear : wa_E_ALL_VALUES.
CALL METHOD LI_1->GET_ALL_TEXTS
IMPORTING
ET_TEXTS = ET_TEXTS.
loop at E_ALL_VALUES into wa_E_ALL_VALUES.
clear : wa_ET_TEXTS.
read table ET_TEXTS into wa_ET_TEXTS with key ID = wa_E_ALL_VALUES-QUESTION_ID.
clear : l_text.
move wa_ET_TEXTS-text to l_text.
condense l_text.
TRANSLATE l_text TO UPPER CASE.
clear : wa_ET_TEXTS.
case l_text.
when 'MEASUREMENT'.
case l_m.
when 1.
move wa_e_all_values-value to w1.
when 2.
move wa_e_all_values-value to w2.
when 3.
move wa_e_all_values-value to w3.
when 4.
move wa_e_all_values-value to w4.
when 5.
move wa_e_all_values-value to w5.
endcase.
l_m = l_m + 1.
endcase.
endloop.
regards
sam -
My Iphone 5s is neither restarting nor it is shutting down. Apple logo has been glowing and after each few minutes blue screen is coming for couple of second and apple logo is coming repeatedly.
Hello sarahim1955,
Welcome to the Apple Support Communities!
I understand that your iPhone is restarting and only displaying the Apple logo. In this situation, I would recommend reading over the attached article and using the information within to help troubleshoot this situation.
If your iOS device restarts, displays the Apple logo, or powers off while you're using it - Apple Support
Have a great day,
Joe -
I was not adding anything to Firefox. I Refused tool bars embedded in several application installs on this new computer. Was working fine. Then had a problem with Google search, restored default values and re-tooled Firefox. At this point all worked fine. Then my url, address bar changed color to the same color as the program shell, a grey brown as opposed to the white it was before. With the change in color it no longer allows me to change the data showing in the bar. I can not delete or add data. I used to add a url and navigate to the domain. Now I can not
Greetings,
TY for the reply, the information was enlightening to be sure. I never knew safe mode was an option with Firefox. I have so many tasks running that I didn't want to shut things down. What I did is turn off some of the last plug-ins I installed. That did not fix the problem at least in the first look. What happened next was very interesting none the less. I had a moment of mouse spastic wrist syndrome and accidentally moved a tab in such a way that it opened in a new window. The URL bar was white and editable. So I moved all my tabs to the new window and everything works as it should. I have restarted Firefox this morning and it came back with the bar editable and I am speechless to understand what I may have done to correct the problem if anything ?? -
see question above
Welcome to the Apple Community.
You can only restore them from a backup. This has occurred because you are sharing an iCloud account. ideally you should each have your own iCloud account, that way you can each manage your own mail, contacts, calendars, documents etc and avoid unintentional deletions and unwanted editing. If there is information you wish to share between you, this can be done with a secondary account.
Having separate iCloud accounts, doesn't mean you have to have separate iTunes accounts, so whilst you keep your personal data separate, you can continue to share music, apps, books, TV shows, movies etc. -
First kick on loop cycle plays louder then the rest, but then loops at correct volume?
i only have one drum loop playing, no fx, no dbl notes, no off notes triggering. Its only happens in loop cycle on the first kick (in midi) ?
is there a way to fix? the volume spike is very annoying.
ThanksHi
Go to Preferences:General:Cycle and set the Cycle Pre-Processing to something other than OFF.
HTH
CCT -
Smartforms- TABLE -Lines,rgrding passing Quan&DATS fields to smartforms
Hi All ..
Iam working on Tables in smartform ,
These are queries to which i need solution ..
1) In (Window) Table- Heading i have created 3 LINES in which my data had to display...( i have a line in that TEXT is used to display a particular fields of the Itab ) . as i came to know that in my Zprog iam gettting my data in the fields but wen in smartform these fields values are not displayed ( when these fields are placed in LINE ) but wen these fields are placed outof LINE that is outof table then iamgetting value for these fields.. so please let me know wat are the changes that ishould do to get my data in my table ( LINE )
2) How to pass DATS and QUAN fields to the smartforms..
as iam getting data to DATS and Quan Fields in my Zprog but these values are not showed in my smartForm .. ..
Thanks in Advance..
Looking for a good reply ..
Aslam..Hi,
you have created 3 linetypes for table .
you have create loop for multiple records display.
in loop you have to pass table from which you are displaying inti output.
To internal table we get data from print program and create text for corresponding cells.
then it will pass those data to table.
2) create programlines for that.
in that mention table from which table is containing quantity.
that is import parameter specified .
export parameters are your output fields using for calculation.
AMOUNT = TAB3-NETWR.
Netamount = Netamount + TAB3-NETWR.
here input is tab3 table it contains quantity data.
lamount,netamount are output parameters.
like that you can display quantity.
or in global definitions currency/quantity fields tab is available you can pass there also.
for dat fields write logic for conversion of date and pass that variabl in form output. -
Printing Smartform with Table data from PrintProgram
Hi,
Can any one explain the steps involved in printing the Smartform with the data from the Print Program table. How to fit table in the Smartform i.e, while designing the Smartforms layout for the table.
Thanks & RegardsHi,
As data is coming from the print program in the table. Do the following procedure
1. In the form interface ---> Declare the internal table as same structure as in the print program. for ex: you r passing MARA table data then declare it as itab type table of mara.
2. In the window you want to create the table, right click > create> table.
3. Go to data tab give the internal table name and work area .
4. Now go to General tab-->Details.
5. Declare the line types.
6. Right click on header/main area/footer -->create table line.
7. Now give the line type which you want to use.
8. In the displayed columns>right click> create text node.
9. In the text node &mara-matnr&.
Procedure to create line type:
1. Double click on table
2. Go to table tab --> details
3. Give the table width (width you want to display on the screen should be less than or equal to the window width).
4. Line type --> Divide this into no of column you want to have in header/item.
Note: total length of all columns should be equal to the table width.
5.save.
Br,
Laxmi -
'Control parameters' when call the smartform function module
Hi all,
I want to know what we have to export as value to control papameter while calling the fm of smartform.
Plz also let me know the various parameters in CONVERT_OTF.
Thanks in advance.WA_CONTROL_PARAMETERS-GETOTF = 'X'.
the above is needed if you want OTF data, to convert it to PDF
WA_CONTROL_PARAMETERS-LANGU = 'E'.
Language of smartform
WA_CONTROL_PARAMETERS-DEVICE = 'PRINTER'.
*default o/p device
WA_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
if you dont want the pop up screen , that asks you for printing make the value as 'X' .
other wise make it as space or clear it.
WA_CONTROL_PARAMETERS-PREVIEW = SPACE.
if u want the print preview , make it as 'X' , otherwise SPACE
Below code shows how you can convert the OTF data to PDF data.
calling the smartform.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'Z_SMARTFORM'
IMPORTING
FM_NAME = WF_FUNCMODULENAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
CALL FUNCTION WF_FUNCMODULENAME
EXPORTING
CONTROL_PARAMETERS = WA_CONTROL_PARAMETERS "Control Params
OUTPUT_OPTIONS = WA_OUTPUT_OPT "Output Options
WF_CARRID = WF_CARRID
WF_CONNID = WF_CONNID
WF_FLDATE = WF_FLDATE
IMPORTING
DOCUMENT_OUTPUT_INFO = WA_DOCUMENT_OUTPUT_INFO
JOB_OUTPUT_INFO = WA_JOB_OUTPUT_INFO
JOB_OUTPUT_OPTIONS = WA_JOB_OUTPUT_OPTIONS
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
ARCHIVE_INDEX = WA_ARC_IDX
IMPORTING
BIN_FILESIZE = WF_NUMBYTES
TABLES
OTF = WA_JOB_OUTPUT_INFO-OTFDATA[]
DOCTAB_ARCHIVE = TB_DOCTAB_ARCHIVE[]
LINES = TB_LINES[]
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3. -
Data appears in the tree but not in the display
Post Author: TheBig1980s
CA Forum: General
Hello:
When I print data for one month, data appears in both the Preview tree and the Preview display. When I print the data for another month, the data does show in the Preview tree but not in the Preview display.
Forgetting the tables the report is pulling from, forgetting which month is which, etc., why (in any case) would Crystal show data in the Preview tree but not show that same data in the Preview display? That makes no sense. I wish I could just take my mouse and just drag the tree onto the displayu2026..
I have nothing suppressed. This is Crystal 9.
Thanks!
TheBig1980sPost Author: SKodidine
CA Forum: General
I encounter this in CR XI once in a while. What I found from my research, if I have a group and then I have certain conditions to either display or eliminate the data selected for whatever reason then the group tree will show the group and since the data is eliminated by either the select criteria or another way there is no data displayed.
Try this. In the second month where you see the data in the tree but on the report, see if you can narrow it down further by day and see if you can find the reason why.
Maybe you are looking for
-
Can I use iSync for more than one user on my .mac family account?
I just got a new MacBook Pro 17" to replace my Pro 15", which I want to give to my hubby who's using an old MacBook. I have successfully synched my old Pro to the cloud and my new Pro, thereby rolling over all my settings, widgets, address book, etc.
-
Hi, Is it possible to make an asynchron communication model using one socket (on Client side)? Actually I want to read and write a socket connection simulation ally, with to separate threads. Do i then have to make any interfaces (to perform call bac
-
1. Would it be possible to have the ability to cancel an outgoing message after pressing the send button. For instance, before the bar fully loads thru and the message is sent? Regular cell phones are available to do that, why not the iPhone? 2. For
-
Error installing developer9i on suse 8
I installed oracle 9i enterprise edition on suse 8 and now trying to install developer 9i on suse 8 During installation of developer 9i this error came up : Error in invoking target install of makefile /u/oracle/OraHome2/plsql/lib/ins_plsql.mk When i
-
BAPI Transaction IA06 with positions
Hello everybody, Can anybody help me with the BAPI,BAPIS's or Function Module for Transaction IA06, I need to modify the positions in text and work center, I'm trying BAPI_EQUI_CHANGE and BAPI_EQUI_MODIFY, but I can't modify the positions or operatio