Problem in Grouping the Fields of a Report
I want to make a report in which a particular field (say A) of a table (T1) is the field on which report is to be grouped above if a field B in T1 has value 'a' then I wish to print certain other fields with the field A when value of field B has value is 'b'.
Thx in Advance
use avg(Duration% by <"Date Table"."Date Level"> in the answers column.
substitute "Date Table" with your actual time dimension table name, and "Date Level" with your actual date column that you want to group by.
Similar Messages
-
Can not change the field property - 10gR2 reports crashing on Linux :(
All I want to do, is to change one field's property from NUMBER to DATE in the property palette. It does not allow me to do it (not east like forms). I can not change the field property - 10gR2 reports keep crashing on Linux :(
I don't know if this is a Linux specific iDS issue, or a generic one.
What are the proper steps to change one field (in my query, the field name is ptime, it was defined as a number field originally, and now I need to change it to DATE and apply the proper format mask). The matching database field definition was modified from number to date.
very frustrating...
Any input is appreciated.
Message was edited by:
zaferaktannop, did not change anything in the select statement at all. Just selected the related query under the data model (in the navigator), then selected the related query from within the property panel, connected to the db, then from the related navigor menu selected compile all, when the related query was highlighted (selected). Then I saved it, checked the groups, and bingo - the datatype was changed from number to date. Then I went to the related object under the page layout and applied the format mask (that was another funny story). And it worked. It is not as flexible as the forms for sure - pain in the a.. And I still don't know why Reports Builder keeps crashing on Linux - have no problems with Forms Developer on Linux at all. It is a certified RH platform with all the required libs, rpms, etc installed. I am certain it is not an installation issue. Maybe I should check Metalink and apply if an iDS 10gR2 patch exists for reports.
-
Problem while exporting the data from a report to an excel file.
Hi SAP guru's,
I have a problem while exporting the data from a report to an excel file.
The problem is that after exporting, the excel file seems to have some irrelevant characters....I am checking this using SOST transaction..
Required text (Russian):
Операции по счету
№ документа Тип документа № учетной записи Дата документа Валюта Сумма, вкл. НДС Срок оплаты Описание документа
Current Text :
? 5 @ 0 F 8 8 ? > A G 5 B C
! 4 > : C "" 8 ? 4 > : C ! C G 5 B = > 9 7 0 ? 8 A 8 0 B 0 4 > : C 0 ; N B 0 ! C < ! @ > : > ? ; 0 B K ? 8 A 0 = 8 5 4 > : C
Can you help me making configuration settings if any?
Regards,
Avinash RajuHi Avinash
To download such characteres you need to adjust code page to be used during export. You can review SAP note 73606 to identify which code page is required for this language
Best regards -
Problem to modify the field "location" in an AP on WCS
Hello everybody,
I have a problem to modify the field "location" in an access point on WCS.
In fact, when i try to modify this field and then apply the modification, i have this error message :
"Error(s): You must correct the following error(s) before proceeding:
Error:Global Username and Password are not configured on the associated controller. Please configure username and password on the associated controller before disabling 'Override Global Username Password'."
I made the modification on Chrome and Firefox but I always have the error message.
Nevertheless, i don't have this error message with other access points and other access points are configured without the option "Override Global Username Password".
I'm obliged to make the modification directly in the controller and not in WCS.
The problem is that i want to make the modification directly in WCS.
Could you help me please ?
Thank you in advance.When i make the modification directly in WCS, i have no problem, it syncs good.
The version of WCS is 7.0.230.0.
The version of the controller is 7.0.240.0 and the field recovery image version is 7.0.112.21.
Version
7.0.230.0
Version
7.0.230.0
Version
7.0.230.0 -
Problem in Grouping the ALV output
Hi Experts
I want to group the ALV Grid output Division wise
for that I have written following code
wa_sort-spos = '1'.
wa_sort-fieldname = 'REGIOAREA' .
wa_sort-tabname = 'IT_FINAL' .
wa_sort-up = 'X'.
wa_sort-group = '*'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO it_sort .
CLEAR wa_sort.
I m passing it_sort table in the FM for sorting but output is not getting grouped can you please
tell me what is the problem ?
How to group the report ?
Helpful answers will be highly rewarded
Regards
BikasHi ,
I also have the similar way coded .
DATA: s_sort TYPE slis_sortinfo_alv.
CLEAR s_sort.
s_sort-fieldname = rv_fieldname.
s_sort-spos = rv_spos.
s_sort-up = c_x.
s_sort-group = c_underline.
APPEND s_sort TO rt_sort.
CLEAR s_sort.
I don't have a subtotal for that fiels .
It works for me . -
Problem in mapping the fields for 0FI_GL_4
Hi,
can I get any document regarding the mapping the fields at BW side. I need to give Profit and loss Account report.
Regards
kamineniHi,
Better go through the Business COntent in help.sap.com.
It will give you the complete details.
try this link
http://help.sap.com/saphelp_nw04/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
hope this helps.
Assign points if useful.
Venkat -
Problem while assigning the fields of EBM to ABM in Provider
Hi All,
I am facing a problem with the fields of EBM not being able to Assign to ABM in ProviderBPEL
In RequestorABCSImpl, i am transforming a ABM to SupplierPartyEBM(CreateSupplierPartyListEBM is the type i am using)
Field called 'PayementTerm' is being mapped as below
<corecom:PaymentTerm>
<corecom:Code>
<xsl:value-of select='dvm:lookupValue(concat("oramds:/apps/AIAMetaData/dvm/","SY_SUPPLIERPARTY_TERMTYPE",".dvm"),"MULTISYS_01",tnsaboabo:PaymentTerm/text(),"COMMON",aia:getServiceProperty($ServiceName,"SyncSupplierPartyList.PaymentTerm.Code",false()))'/>
</corecom:Code>
</corecom:PaymentTerm>
after transform I am able to see the value for PaymentTerm/Code while testing requestor.
Now in provider I am using an Assign activity to assign 'PaymentTerm/Code' to ABM field called 'termID '
Here
'PaymentTerm/Code' is a TermType
'termID ' is a string.
When i test end to end
i am getting an error while assigning 'PaymentTerm/Code' to 'termID'
Error i am getting is "Error in evaluate<from expression at line 677. the result is empty for xpath expression inputvariable/./../PaymentTerm/Code
Please guide me what is wrong in this. In Input Payload i am able to see the value coming in provider but while assigning i'ts failingThis is the input xml
<CreateSupplierPartyListReqMsg><part name="CreateSupplierPartyListEBM" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><CreateSupplierPartyListEBM xmlns="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SupplierParty/V1" xmlns:wsa="http://www.w3.org/2005/08/addressing">
<EBMHeader xmlns:fpsdataabo="http://xmlns.cassini.telenor.com/FPS/SupplierParty/V1" xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2" xmlns="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"><corecom:EBMID>2d323432363737383037393633373932</corecom:EBMID><corecom:EBMName>{http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SupplierParty/V1}CreateSupplierPartyListEBM</corecom:EBMName><corecom:EBOName>{http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SupplierParty/V1}SupplierPartyEBO</corecom:EBOName><corecom:CreationDateTime>2012-12-07T08:51:15.135+01:00</corecom:CreationDateTime><corecom:VerbCode>Create</corecom:VerbCode><corecom:MessageProcessingInstruction><corecom:EnvironmentCode>PRODUCTION</corecom:EnvironmentCode></corecom:MessageProcessingInstruction><corecom:Sender xmlns="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SupplierParty/V1" xmlns:ebo="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SupplierParty/V1" xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions" xmlns:hashmap="http://www.oracle.com/XSL/Transform/java/java.util.HashMap"><corecom:ID>MULTISYS_01</corecom:ID><corecom:CallingServiceName>{http://xmlns.oracle.com/ABCSImpl/Multisys/Core/SyncSupplierPartyListMultisysReqABCSImpl/V1.0}SyncSupplierPartyListMultisysReqABCSImpl</corecom:CallingServiceName><corecom:Custom xmlns:xacml="urn:oasis:names:tc:xacml:2.0:context:schema:cd:04" xmlns:tnsaboabo="http://xmlns.cassini.telenor.com/Multisys/SupplierParty/V1"><corecom:LegalEntityReference><corecom:LegalEntityIdentification><corecom:ID/></corecom:LegalEntityIdentification></corecom:LegalEntityReference></corecom:Custom></corecom:Sender><corecom:Target><corecom:ID>EBIZ_01</corecom:ID></corecom:Target><corecom:BusinessScope><corecom:ID>Supplier Party - 0000001</corecom:ID><corecom:InstanceID>CreateSupplierPartyList/32313433363838393939393637303532</corecom:InstanceID><corecom:BusinessScopeTypeCode>BusinessProcess</corecom:BusinessScopeTypeCode><corecom:EnterpriseServiceName>{http://xmlns.oracle.com/EnterpriseServices/Core/SupplierParty/V1}SupplierPartyEBSV1</corecom:EnterpriseServiceName><corecom:EnterpriseServiceOperationName>CreateSupplierPartyList</corecom:EnterpriseServiceOperationName></corecom:BusinessScope><corecom:BusinessScope><corecom:ID>CreateSupplierPartyListReqMsg</corecom:ID><corecom:InstanceID>CreateSupplierPartyListReqMsg/2d323432363737383037393633373932</corecom:InstanceID><corecom:BusinessScopeTypeCode>Message</corecom:BusinessScopeTypeCode><corecom:EnterpriseServiceName>{http://xmlns.oracle.com/EnterpriseServices/Core/SupplierParty/V1}SupplierPartyEBSV1</corecom:EnterpriseServiceName><corecom:EnterpriseServiceOperationName>CreateSupplierPartyList</corecom:EnterpriseServiceOperationName></corecom:BusinessScope><corecom:EBMTracking><corecom:SequenceNumber>1</corecom:SequenceNumber><corecom:ExecutionUnitID/><corecom:ExecutionUnitName>{http://xmlns.oracle.com/EnterpriseFlows/Core/SyncSupplierPartyListEBF/V1}SyncSupplierPartyListEBFV1</corecom:ExecutionUnitName><corecom:ImplementationCode>BPEL</corecom:ImplementationCode><corecom:ActivityDateTime>2012-12-07T08:51:15.136+01:00</corecom:ActivityDateTime></corecom:EBMTracking><xacml:Request xmlns:xacml="urn:oasis:names:tc:xacml:2.0:context:schema:cd:04"/></EBMHeader>
<DataArea><corecom:Create xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"/><ebo:SyncSupplierPartyList xmlns:ebo="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SupplierParty/V1"><corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"><corecom:ID schemeID="SY_SUPPLIERPARTY_SUPPLIERPARTYID" schemeAgencyID="XREF">33363339373538363835333734303432</corecom:ID><corecom:ContextID>c</corecom:ContextID><corecom:ApplicationObjectKey><corecom:ID schemeID="VENDOR_NUMBER" schemeAgencyID="MULTISYS">0000001</corecom:ID></corecom:ApplicationObjectKey></corecom:Identification><corecom:PartyLocation xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"><corecom:Identification><corecom:ApplicationObjectKey><corecom:ID>0000001</corecom:ID></corecom:ApplicationObjectKey></corecom:Identification><corecom:LocationReference><corecom:Address><corecom:LineOne>Hillev?gsv 24</corecom:LineOne><corecom:LineTwo>Hillev?gsv 24</corecom:LineTwo><corecom:LineThree>Hillev?gsv 24</corecom:LineThree><corecom:LineFour>Hillev?gsv 24</corecom:LineFour><corecom:CityName>STAVANGER</corecom:CityName><corecom:PostalCode>4016</corecom:PostalCode></corecom:Address></corecom:LocationReference></corecom:PartyLocation><corecom:PartyContact xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"><corecom:Contact><corecom:PersonName><corecom:FirstName>Nordialog Stavanger</corecom:FirstName></corecom:PersonName></corecom:Contact></corecom:PartyContact><corecom:Organization xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"><corecom:Name>Nordialog Stavanger</corecom:Name><corecom:LegalStructureCode>00</corecom:LegalStructureCode><corecom:OrganizationFinancialProfile><corecom:FinancialProfile><corecom:FinancialAccount><corecom:AccountNumber>54130613600</corecom:AccountNumber><corecom:TypeCode>SUPPLIER</corecom:TypeCode><corecom:CurrencyCode>NOK</corecom:CurrencyCode></corecom:FinancialAccount></corecom:FinancialProfile></corecom:OrganizationFinancialProfile></corecom:Organization><ebo:CustomerNumber>0000001</ebo:CustomerNumber><ebo:MinimumOrderAmount>0</ebo:MinimumOrderAmount><ebo:TypeCode>VENDOR</ebo:TypeCode><ebo:OneTimeIndicator>false</ebo:OneTimeIndicator><ebo:SupplierPartyTradingLocationProfile><corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"><corecom:ID schemeID="SY_SUPPLIERPARTY_SUPPLIERPARTYTRADINGLOCATIONPROFILEID" schemeAgencyID="XREF">2d323735363933313339333732353537</corecom:ID><corecom:ApplicationObjectKey><corecom:ID schemeID="VENDOR_NUMBER" schemeAgencyID="MULTISYS">0000001</corecom:ID></corecom:ApplicationObjectKey></corecom:Identification><ebo:PrimaryIndicator>true</ebo:PrimaryIndicator><ebo:FreightTermsCode/><ebo:HoldReasonCode/><ebo:InvoiceCurrencyCode/><ebo:PaymentCurrencyCode/><ebo:PaymentPriorityCode>99</ebo:PaymentPriorityCode><ebo:TermsDateBasisCode/><ebo:VATTaxCode>SY25VAT</ebo:VATTaxCode><ebo:VATRegistrationNumber/><ebo:ExcludeFreightFromDiscountIndicator>false</ebo:ExcludeFreightFromDiscountIndicator><ebo:PurchasingEnabledIndicator>false</ebo:PurchasingEnabledIndicator><ebo:RFQOnlyIndicator>false</ebo:RFQOnlyIndicator><corecom:PaymentTerm xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"><corecom:Code>6 DAYS</corecom:Code></corecom:PaymentTerm><ebo:TradingLocationProfileAddress><corecom:Address xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"><corecom:LineOne>Hillev?gsv 24</corecom:LineOne><corecom:LineTwo>Hillev?gsv 24</corecom:LineTwo><corecom:CityName>STAVANGER</corecom:CityName><corecom:PostalCode>4016</corecom:PostalCode></corecom:Address></ebo:TradingLocationProfileAddress></ebo:SupplierPartyTradingLocationProfile></ebo:SyncSupplierPartyList></DataArea>
</CreateSupplierPartyListEBM></part></CreateSupplierPartyListReqMsg>
And my assign is
bpws:getVariableData('CreateSupplierPartyListReqMsg','CreateSupplierPartyListEBM','/WL5G3N2ebo:CreateSupplierPartyListEBM/WL5G3N2ebo:DataArea/WL5G3N2ebo:CreateSupplierPartyList/WL5G3N2ebo:SupplierPartyTradingLocationProfile/corecom:PaymentTerm/corecom:Code') to an 'invoke_InputVariable/termid' -
Adding the fields on standard report
Hi EXperts,
Please guide me, i am new for modifiying the standard programs.
i want add the field custom field,i e pendding days.from iw59.
i copy the program to Z than i calculate the pendingdays.
that varible also append the final internal table.
but i cann't add the fieldcat,because there are not using manuallly.they are used as shown asbelow.
So please guide me any one how i can display the field.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = g_repid
i_internal_tabname = 'OBJECT_TAB'
i_structure_name = tabname
i_client_never_display = ' '
CHANGING
ct_fieldcat = g_fieldcat_tab[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
END-ENHANCEMENT-SECTION.
$$-Start: CREATE_FIELDCAT_F14_01----
$$
ENHANCEMENT 1 DIMP_GENERAL_MIOLXF14. "active version
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = g_repid
i_internal_tabname = 'OBJECT_TAB'
i_structure_name = tabname
i_client_never_display = ' '
INSERT BA-Project
i_bypassing_buffer = 'X'
END INSERT BA
CHANGING
ct_fieldcat = g_fieldcat_tab[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
ENDENHANCEMENT.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_buffer_active = g_alv_buffer
i_callback_program = g_repid
i_callback_pf_status_set = g_form_set_pf_stat
I_CALLBACK_USER_COMMAND = ' '
I_STRUCTURE_NAME =
is_layout = g_layout
it_fieldcat = g_fieldcat_tab[]
it_excluding =
it_special_groups = g_fieldgroups_tab[]
it_sort = g_sortfields_tab[]
it_filter =
is_sel_hide =
i_default = g_n
i_save = g_variant_save
i_save = g_a
is_variant = g_variant
it_events = g_events_tab[]
it_event_exit = g_event_exit_tab[]
is_print = g_print
i_screen_start_column = g_screen_start_column
i_screen_start_line = g_screen_start_line
i_screen_end_column = g_screen_end_column
i_screen_end_line = g_screen_end_line
it_except_qinfo = gt_qinf
importing
e_exit_caused_by_caller =
TABLES
t_outtab = object_tab
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF NOT sy-subrc IS INITIAL.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ELSE.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_buffer_active = g_alv_buffer
i_callback_program = g_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_STRUCTURE_NAME =
is_layout = g_layout
it_fieldcat = g_fieldcat_tab[]
it_excluding =
it_special_groups = g_fieldgroups_tab[]
it_sort = g_sortfields_tab[]
it_filter =
is_sel_hide =
i_default = g_n
i_save = g_variant_save
i_save = g_a
is_variant = g_variant
it_events = g_events_tab[]
it_event_exit = g_event_exit_tab[]
is_print = g_print
i_screen_start_column = g_screen_start_column
i_screen_start_line = g_screen_start_line
i_screen_end_column = g_screen_end_column
i_screen_end_line = g_screen_end_line
it_except_qinfo = gt_qinf
importing
e_exit_caused_by_caller =
TABLES
t_outtab = object_tab
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF NOT sy-subrc IS INITIAL.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks advanceHi Srini,
Thanks For giving replay.
The problem was solved,
But whan i was run iw59 the output is coming Properlay,
than i copy the program and modifiyed as u said the out put fields are all not displayed.
Some of the field only displayed,it is showing the status main of userinterface zriqmel20 missing.
but i copyed all the includes ,why it will shon like that,
please guide me what is problem.
Thanks advance.
Edited by: krishnab121 on Jan 25, 2011 5:54 AM -
Problem in finding the field in the structure
hi,
i have to find out whether one name is exist as a field name in one structure. how to make this comparison. pls let me know.
thanks,
mukka.chakradhar.SELECT single matnr from dd03l into v_matnr where tabname = 'MARA' and as4local = 'A'.
check sy-subrc = 0.
DD03L table contains all the active status table names with all the fields in the table
Message was edited by:
Hymavathi Oruganti -
How to Adjust the field in Crystal report
hi experts
In Sales Quotation i haved created 16 number of user defined fields which they can enter the data in that for one quotation the characters are 189 and for another quotation there are 1245 characters if i preview the lay out the field getting over lapped can any one help me how to rectify the issue with out ove lappind
Regards ,
Meghanath.SDear $riniva$ Rachumallu
If we do that the below field is getting over lapped -
Corporate Account/Group Key field in SD Reports?
Hi,
We would like to start populating the Corporate Account field on the General Data > Internal Control tab of the customer master. This field is available in FI reporting (FBL5N - as Group Key) but does anyone know if it is available in SD reports? We can't find it...
Thanks in advance!
SDUser_2011Hi SD User
Check : KNA1-KONZS(Group Key)
Regards,
Krishna. -
Problem in displaying the o/p of report
HI ABAPers
this query is as assignment for me (i am undergoing abap training)
there is build in transaction in sap (MCTA) for SIS: CUSTOMER ANALYSIS SELECTION.
THE DETIALS OF THIS TRANCTION ARE AS FOLLOWS.
T-CODE:- MCTA
Pacakage:- MCV
Transaction text: SIS: Customer Analysis - Selection
Program : RMCV0100
Selection Screen: 1000
i want to build a similar report as this one but in my report i want to enter more than one currency values in currency field (for ex: i want the report o/p for USD,INR & EURO on the same output screen with all the currencies which i have entered. there should be seperate column for each currency value)
in the report (mcta) it accepts only one currency and gives the o/p for that currency.
now i know how to enter multiple currency values in the selection screen (thanx to one of our friend)
SL_WAERS is the parameter for currency (see line 42 of your standard report).
Line 42: SELECT-OPTIONS: SL_WAERS FOR RMCS0-AWAER1.
now i am having the problme of displaying the output.
i want the logic for displaying the report with all the currency (seperate column for each one of them) if possible the code also( as iam still a learner)
i think i need to do some changes in the logic which displays the data on the screen but in which part of the program to do and what logic to be implement iam unable to get that.
waiting for ur early positive replys
regards,
maqsoodPlease close your other post for the same issue, so that people don't end up giving solutions in one, while you are looking in the other.
Thanks,
Srinivas -
ALV output problem in displaying the field lengths.( LONG_DES1 & LONG DES)
I have declared itab of ALV output like below...
Internal table for ALV report generation***********
DATA : Begin of pdet_otab_alv occurs 0,
bukrs LIKE bsid-bukrs, "Company code
postm(4), "Posting month (YYMM format)
xblnr LIKE bsid-xblnr, "Reference document number
kunnr LIKE bsid-kunnr, "Customer (Supplier Billing Customer)
name1 LIKE kna1-name1, "Name 1
buzei like bsid-buzei,
gjahr like bsid-gjahr,
filkd like bsid-filkd, "Rep Number
rname like kna1-name1, "Rep Name
belnr LIKE bsid-belnr, "Document number (invoice number)
blart LIKE bsid-blart, "Document type
zfbdt LIKE bsid-zfbdt, "Baseline date
zterm LIKE knb1-zterm, "Terms
netdt LIKE bsega-netdt,"Due date
sgtxt LIKE bsid-sgtxt, "Text
agerg TYPE t_agerg, "Age range of invoice
wrbtr LIKE bsid-wrbtr, "Original invoice amount
due LIKE bsid-wrbtr, "Amount outstanding on invoice
long_des(250) type c, " Long description
<b> long_des TYPE string,
long_des1 TYPE string,</b>
date_s(10) type c, " Date
short_des(20) type c, " Short Description
counter type i,
End of pdet_otab_alv.
And after filling the internal table fields ( fields 'LONG_DES1' & 'LONG_DES' from FM READ_TEXT 's longtext, which are of 265 chars each )
<b>'LONG_DES1' & 'LONG_DES' are trimmed in ALV out put WHY ?</b>
w_fieldcat-fieldname = 'LONG_DES1'.
w_fieldcat-tabname = 'PDEL_OTAB_ALV'.
w_fieldcat-ref_fieldname = 'SCRTEXT_L'.
w_fieldcat-ref_tabname = 'DD03P'.
w_fieldcat-seltext_l = 'Original Note'.
w_fieldcat-col_pos = 17.
APPEND w_fieldcat TO fieldcat.
CLEAR w_fieldcat.
w_fieldcat-fieldname = 'LONG_DES'.
w_fieldcat-tabname = 'PDEL_OTAB_ALV'.
w_fieldcat-ref_fieldname = 'SCRTEXT_L'.
w_fieldcat-ref_tabname = 'DD03P'.
w_fieldcat-seltext_l = 'Latest Note'.
w_fieldcat-col_pos = 18.
APPEND w_fieldcat TO fieldcat.
CLEAR w_fieldcat.
<b>next part i.e., before passing fieldcat.... I have filled s_layout like below.</b>
<b> s_layout-max_linesize = 1000.
s_layout-colwidth_optimize = 'X'.</b>
Call the following function to display output in ALV form
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'ZFRSBOI0'
is_layout = s_layout
it_fieldcat = fieldcat
it_events = p_events[]
it_sort = p_it_sort[]
i_save = 'A'
TABLES
t_outtab = pdet_otab_alv1
EXCEPTIONS
program_error = 1
OTHERS = 2.
If the function call is not successful, raise error message
and come out from the program
IF sy-subrc <> 0.
message e000(00) with
'Unable to display report'(e01).
exit.
ENDIF.some body suggested me....we can display full length of text by below coding ?
Is that not correct - just asking....
s_layout-max_linesize = 1000.
s_layout-colwidth_optimize = 'X'.
Call the following function to display output in ALV form
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'ZFRSBOI0'
is_layout = s_layout
it_fieldcat = fieldcat
it_events = p_events[]
it_sort = p_it_sort[]
i_save = 'A'
TABLES
t_outtab = pdet_otab_alv1
EXCEPTIONS
program_error = 1
OTHERS = 2.
If the function call is not successful, raise error message
and come out from the program
IF sy-subrc <> 0.
message e000(00) with
'Unable to display report'(e01).
exit.
ENDIF. -
How to populate the fields in a report.
Hi,
I've created a function module which calls a report. The report generates a file with sequence no. in the application server.
The problem now is that I want the data from the presentation layer but the Z-Report doesn't generate any output with data except generating a file in the application server.
What can be the options to generate the data without changing the report. Is there anything which I can do in the function module to retrieve the data.
Thanks in Advance.
Sreedhar.Hi,
First of all Thank you for the quickest response.
Ok I'll download the file to presentation server, "But the problem is that in the application server the files are created with a sequence no. and which I cannot hardcode in the function module." These sequence nos. are generated everytime the report is run.
If I use the download to presentation layer than I'll be using the application server atleast once but I shouldn't use the application layer at all.
How can I resolve this issue then?
Sreedhar.
Edited by: Sreedhar Av on Sep 25, 2009 12:26 PM -
Problem in export Number field into graphical reports
I have a custom field Number1.
I put a decimal number (italian version) 0,5
I use Number1 inside Cost1...to make some calculations, so the number format I see that is correct.
I use Number1 as dimension into a graphical report (to excel file).
Into the pivot of the excel the Number1 has the "," character converted to a underscore "_"
So 0,5 become 0_5
0,1 become 0_1
I need the correct format into excel because I have to do other calculations.
thank you.
MS Project 2013 and MS Excel 2010. Both italian version.
Daniele.b75Hi Daniele,
How do you do your Excel export? Saving the file in a XLS format or creating a visual report?
A workaround would be to write a simple macro in your Excel file:
Sub test()
Cells.Replace What:="_", Replacement:=",", LookAt:=xlPart, SearchOrder _
:=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False
End Sub
But before trying this, let's try to debug your export.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller |
Maybe you are looking for
-
Can connect to router but can't access internet on some devices
Hello everyone, I'm fairly good with comptuers / networking but this issue has me baffled. Help would be greatly appreciated. I have a linksys router (WRK54G) and have 2 desktops and 2 laptops connected to it wirelessly at the moment. I bought 3 smar
-
What happens to app content/data with Family Sharing?
Hello - My girls, 10 and 12-yrs old, have been on my Apple ID for years. We've muddled through by me just turning off and on certain permissions, but I'd like to considering Family Sharing and getting them their own Apple IDs. I just got an iPhone
-
Drag and drop questions using image and painting
Hi all, please apologize me if i'm posting a just discussed topic, but I couldn't find anything that could help me. I'm trying to create an application where I've a Jtree on the left panel that contain entities that have to be dragged and dropped in
-
TypeError: Object [object Object] Error message on website with parallax scrolling
My website, www.suchudance.org is having some error issues that have never surfaced before. This is the error message I receive on a webpage that has never had this error before: " MusejSassert: Error calling selector function: TypeError: Object [obj
-
Show bookmarks by default when opening the pdf file
Hi I made a document with a TOC and bookmerk for pdf which worked great. I have some pdf documents that when I open them, the bookmark panel on Acrobat are opened by default. In my document, that panle is not visible, I need to click the Bookmark ico