I need to distinguish fields in an Itab that come a different order?
I am getting a table with the heading on the first record and the values after that. The problem is I need to distinguish where are the headings because they will come in different order every time and sometime with an alternative name all in the first record. I am trying to put them in a table in one order, so I can do the rest of the logic for the program, but I have to find out first where are the fields using the first record that have the headings. Is there a function module to fix this problem or a solution for it?
what exactly are you trying to do and attach a screenshot of the error message, if it's in english.
Similar Messages
-
I have purchased Photoshop CC that comes with Lightroom 5. I already have Lightroom 5.1 installed and wondering do I need to install the Lightroom that comes with Photoshop CC 2014? Thanks
johnhawk666 wrote:
As you bought the CC plan of Photoshop plus Lightroom, you should uninstall your standalone copy of Lr as it may interfere with the correct working of the CC version, and install the CC version.
I don't think that's true at the moment; the CC version of LR5 is identical to the stand-alone version, and it will interwork with Photoshop in the same way.
However, when LR6 is released then that comes free with CC but not with the stand-alone version. So you might want to follow johnhawk666's advice when LR6 is released, if you haven't done it by then, or you won't get the upgrade to LR6.
By the way, uninstalling your existing LR5, then installing the CC version (via the CC app) shouldn't alter anything - your settings, catalog etc should be picked up by the new installation. However, a wise person would back everything up first anyway, just in case! -
Need a "reel" Lightbox widget for Muse that can handle different pictures:
the trigger: a small thumbnail picture (1:1) and the "real" picture: bigger (sure) and from different size/shape for example 2 : 3.
Where can I get this widget?
I testet different widgets f.e. from musegrid - but they cannot handle two different picture, like the "classic" Lightbox from lokesh/lightbox2 · GitHub...
Thanks a Lot for your help!
BernhardYou can get close to this effect using the built-in slideshow widget.
Set the options for Full Screen and Lightbox.
Temporarily make the thumbnails large and square.
Select all the thumbnails and select Object > Fitting > Fit Content Proportionally.
Limitations with this approach include:
You can't stroke or round the corners of the thumbnails (assuming they have mixed aspect ratio) since the stroke or rounding will appear on the square frame the thumbnail is fit within, rather than on the image itself.
You can't crop the thumbnail differently than the hero image. Again because the frame is large and square and the image is fit within (in order to enable thumbnails with different aspect ratios).
I'm not aware of any third party Muse widgets that would get any closer to the exact effect you're looking to achieve. -
Help needed regarding SUM keyword in an ITAB loop
Hello,
I am maintaining a code as given below.
LOOP AT itab INTO totwa.
SUM.
ENDLOOP.
totwa is defined as a workarea which is needed to hold the sum totals of the fields in the itab. According to the documentation of SUM, it should calculate the sum totals and should put the totals in the workarea mentioned. But somehow its not calculating the value. Could anyone please help me in resolving this issue. Please guide me with your thoughts as to what might have gone wrong.
Note: the itab fields are of type P.
Thanks in advance
Sudha NaikHello Suha
According to the ABAP documentation the SUM statement is used in a specific situation:
<b>Syntax
SUM. </b>
<b>Effect </b>
<i>The statement SUM can only be specified within a loop starting with LOOP, and is only considered within a AT-ENDAT control structure. Prerequisites for using the statement SUM include using the addition INTO in the LOOP statement, and that the specified work area wa is compatible with the row type of the internal table. In addition, SUM cannot be used when the row type of the internal table itab contains components that are tables. </i>
<i>The statement SUM calculates the component total with the numeric data type ( i, p, f) of all rows in the current control level and assigns these to the components of the work area wa. In the control levels FIRST, LAST , and outside of an AT-ENDAT control structure, the system calculates the sum of numeric components of all rows in the internal table.</i>
I hope the following sample report will clarify the use of <b>SUM </b>and <b>COLLECT</b>.
*& Report ZUS_SDN_COLLECT
REPORT zus_sdn_collect.
TYPES: BEGIN OF ty_s_line.
TYPES: key(1) TYPE n.
TYPES: value TYPE p DECIMALS 2.
TYPES: END OF ty_s_line.
TYPES: ty_t_itab TYPE STANDARD TABLE OF ty_s_line
WITH DEFAULT KEY.
DATA:
gs_line TYPE ty_s_line,
gt_itab TYPE ty_t_itab,
gt_itab_coll TYPE ty_t_itab.
START-OF-SELECTION.
DO 3 TIMES.
gs_line-key = syst-index.
gs_line-value = syst-index * '2.3'.
APPEND gs_line TO gt_itab.
APPEND gs_line TO gt_itab.
ENDDO.
gs_line-key = 4.
gs_line-value = '5.5'.
APPEND gs_line TO gt_itab.
WRITE: / 'Initial list'.
LOOP AT gt_itab INTO gs_line.
WRITE: / gs_line-key,
gs_line-value.
ENDLOOP.
WRITE: / syst-uline.
SKIP 2.
WRITE: / 'Using SUM statement with AT END OF'.
SORT gt_itab BY key.
LOOP AT gt_itab INTO gs_line.
AT END OF key.
SUM.
WRITE: / gs_line-key,
gs_line-value.
ENDAT.
ENDLOOP.
WRITE: / syst-uline.
SKIP 2.
WRITE: / 'Using SUM statement without control structure (1)'.
SORT gt_itab BY key.
LOOP AT gt_itab INTO gs_line.
SUM.
WRITE: / gs_line-key,
gs_line-value.
ENDLOOP.
WRITE: / syst-uline.
SKIP 2.
WRITE: / 'Using SUM statement without control structure (2)'.
SORT gt_itab BY key.
LOOP AT gt_itab INTO gs_line.
SUM.
WRITE: / gs_line-key,
gs_line-value.
EXIT.
ENDLOOP.
WRITE: / syst-uline.
SKIP 2.
WRITE: / 'Using COLLECT statement'.
REFRESH: gt_itab_coll.
LOOP AT gt_itab INTO gs_line.
COLLECT gs_line INTO gt_itab_coll.
ENDLOOP.
LOOP AT gt_itab_coll INTO gs_line.
WRITE: / gs_line-key,
gs_line-value.
ENDLOOP.
WRITE: / syst-uline.
SKIP 2.
WRITE: / 'Using COLLECT statement for total sum'.
REFRESH: gt_itab_coll.
LOOP AT gt_itab INTO gs_line.
gs_line-key = 0.
COLLECT gs_line INTO gt_itab_coll.
ENDLOOP.
LOOP AT gt_itab_coll INTO gs_line.
WRITE: / gs_line-key,
gs_line-value.
ENDLOOP.
WRITE: / syst-uline.
SKIP 2.
END-OF-SELECTION.
Regards
Uwe -
I need to add fields in additional fields B the sales order line item
i need to add fields in additional fields B beside the field (icon_val_quantity_ structure) in the sales order line item, How to achicve this? please help me..
Please fined the below solution for achieving your requirement.
1. Add new filed "B" in table VBAP.
a) T.code SE11 --> Enter structure name VBAP --> display
b) Goto --> Append Structure --> Enter Structure name and new field "B"
2. request your basis team and take the access key for modification of stabdard program SAPMV45A & Screen: 8459
a) After receiving access key for standard program then got o SE51 --> enter program name SAPMV45A & Screen: 8459
b) click change Button
c) click layout button
d) add new field "B" below of the screen (F6 -> enter table name : VBAP --> get from dictionary --> selet new field and past in screen )
3) write below code in flow logic
PROCESS BEFORE OUTPUT.
Verarbeitung vor der Ausgabe
MODULE ZZPB_INITIALIZE_8459.
MODULE ZZPB_OUTPUT_8459.
PROCESS AFTER INPUT.
CHAIN.
FIELD VBAP-New field name "B".
FIELD ZVC_SALES_EXPORT-ZZAPLHENKO.
ENDCHAIN.
MODULE ZZPA_OUTPUT_8459.
4. functin Module code
module ZZPB_OUTPUT_8459 output.
Data: l_v_actve type ale_active,
l_v_ttyp type c.
Data: l_v_tragr type tragr.
l_v_ttyp = t180-trtyp.
if l_v_actve is initial.
l_v_ttyp = 'A'.
endif.
LOOP AT SCREEN.
CASE l_v_ttyp.
WHEN 'A' OR 'C'.
SCREEN-INPUT = 0.
ENDCASE.
ENDLOOP. -
Need to Add field EKET-EINDT and EKET-SLFDT to ME2M Report output in ALV
Hi All,
I need to add fields EKET-EINDT and EKET-SLFDT to the output of program ME2M Transaction.
I have appended the structure MEREP_OUTTAB_PURCHDOC with these fields. and it is coming in the ALV output field catalog.
I need these fields output only for ALV display only.
Please let me know which enhancement i need to write code to enhance the output with these filed values added to the ALV internal table
Thanks in Advance
ArunHi All,
I am able to get the field EINDT and SLFDT into the structure using Append structure and is also getting displayed in the output in ALV.
But i need to know how to add code for filling these fields and passing into ALV. I need to know the Enhancement spot.
Please let me know how to achieve this scenario
Thanks
Arun -
Need to Add Field Name to the Downloaded XLS file
Im using the function SAP_CONVERT_TO_TXT_FORMAT
and downloading the contents by sending them as attachements in email.
I need to add field names(column name) to excel fields.
So that when fields are displayed in excel file they are displayed by their column names..
How do I do this.? Any ideas.
Answers will be rewarded with points..Hi
You can manually insert the column names as the first row in your internal table to have them in .xls file as headers.
Regards,
Raj -
I have a form that was made by someone else. I need to move fields and add new fields in the same box. How do I do that?
If the form was created in Acrobat and you have Acrobat, you should be able to edit the fields by selecting: Tools > Forms > Edit
This is for Acrobat 11. If the PDF has security restrictions that prevent editing or was created with LiveCycle Designer, you won't be able to edit it in Acrobat. If security was applied, you'll need to know the password in order to remove it to allow editing. -
Need to add field to standard program.
Hi all
I need to add a field to standard program whic is from the Ztable. How do I do it and where should i add the field.
Plz help.
Regrds
MonaMy queries is I need to create a ztable and using that ztable field I need to get data. I need to change the output of the standard program that output shud have that field.
for eg. Company code specific data. this company code field i need to have in program output that means i need to use this ztable in standard program.
If not clear plz tell me
mona Please respond to the same thread.
so everyone could answer for your query.
if it is a report program copy it as a Zprogram.
create a ztable in se11 .
add fields and data entries finish all those work there.
and in the copied std pgm
add select-options: s_new_f1 for ztable-f1.
or u can also use parameters: p_f1 type ztable-f1.
under : at selection-screen output.
<perform select query operation for the new ztable.>
select singe * from table ztable wa_ztable where f1 = p_f1.
so that the new field willl also come along with the standard output.
Please check this -
Hi experts,
These are the table and field i want get it, but there's no data appear when i try it in my sapscript form.
ALV_SAPLQMAL_001
CHANGED_DATE
ALV_SAPLQMAL_001
CHANGED_TIME
ALV_SAPLQMAL_001
CHANGED_BY
ALV_SAPLQMAL_001
FIELD_CONTENTS
Please advise, i need alternative table-field name to retrieve data.
Thanks in advance, I'll rewards marks ~Hi S.r.v.r.Kumar ,
I can't get the correct table and field to display the data in my form (sapscripts)
In t-code QM03 - Extras - Notification Documents - Action Log
These are the data i want it to be at my form (sapscripts)
http://img406.imageshack.us/img406/7774/q2yh3.jpg
Any ideas to get the table and field for the data in the 3 column n row?
Please kindly advice, thank you.
Edited by: miLka Sasa on Jun 20, 2008 10:09 AM -
New Tab in WBS Elements & need to pull fields from Std SAP Tab to the New
Hi All,
I would like to create a new TAB in WBS Element & I need to pull fields from Basic data tab,Origanization Tab,Control Tab & user Fields Tab to the New Tab.
Basically my clients wants to see all the fields (based on the requirement) in one TAB.So user will directly go to the Custom Tab & enter the input data & save.
So Kindly guide me how to proced.I tried WBS Layouts ,but am confused.
Any ABAP work is required?or can we do it in PS Configuration itself?
Thanks
SureshConfiguration:
Project System>Structures>Operative Structures>Work Breakdown Structure (WBS)>User Interface Settings>Layout of WBS Element Detail Screens>Define Layout of WBS Element
Detail Screens
Do do something as below:
Project Profile:000CAP1
Act Cat:*
Tab Page ID: TAB01
Tab page Title:Basic Data
ICON_HEADER
Details Screen 1: 2 (WBS Element Basic Data)
Details Screen 1: 5 (WBS elements, organization)
Details Screen 1: 8 (WBS Element: User Fields)
Regards
Sreenivas -
Need Profit centre field as mandatory field in the sales order
Dear All,
Normally Profit center data maintained in the material master, same data will get coipied to the sales order while creating sales order in VA01 transaction.
My requirement is if profit center data is not maintained/available in the sales order system should give the error message
For this I need Profit center field as mandatory field in the sales order(VA01).
Can you please give possibilities ASAP.
Give the SHD0 maintenance step by step.
Regards,
Murali.Hi Murali
I beleive that you are talking about the Profit centre field not maintined in sales order hence not picked in delivery and billing and there is an FI posting error (GL account error) because of that
Profit centre is maintained in MMR and the same flows thro the sales cycle and i am quite sure if maintained in MMR it will be picked automatically and no need to make it mandatory in sales order( as the purpose is already solved)
But there is no standard option in SAP like (even if Account assignment category of the material is not maintained in MMR it can be given in VF02 and the document can be released for accounting) to give the Profit centre in the billing and release the same
Profit centre field field is picked from masters and flows in the entire flow and that field is greyed out (like no option of inserting it inbetween)
As told by others incompletion log in sales doc type will take care for future orders and for the already created orders the standard option is cancel billing, reverse delivery and open the sales order and give Profit centre field and process it (if only a few orders are there)
But if the already created orders are many then from the FI Area you need to go for development ( we also faced this issue as profit center not maintained in MMRs and hence accounting got hit and there were tons of billing docs and our FI consultant made some development to open it and solve it) FI consultant should be able to do this for already created orders
Instead of making Profit centre field as mandatory field in the sales order better make it a mandatory entry in MMR
Regards
Raja -
Need one more field based on comparision of other fields
Report Builder 6.0.8.11.3
ORACLE Server Release 8.0.6.0.0
Oracle Procedure Builder 6.0.8.11.0
Oracle ORACLE PL/SQL V8.0.6.0.0 - Production
Oracle CORE Version 4.0.6.0.0 - Production
Oracle Tools Integration Services 6.0.8.10.2
Oracle Tools Common Area 6.0.5.32.1
Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
Resource Object Store 6.0.5.0.1
Oracle Help 6.0.5.35.0
Oracle Sqlmgr 6.0.8.11.3
Oracle Query Builder 6.0.7.0.0 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle ZRC 6.0.8.11.3
Oracle Express 6.0.8.3.5
Oracle XML Parser 1.0.2.1.0 Production
Oracle Virtual Graphics System 6.0.5.35.0
Oracle Image 6.0.5.34.0
Oracle Multimedia Widget 6.0.5.34.0
Oracle Tools GUI Utilities 6.0.5.35.0
Iam having report layout as below
-- M_6
-- M_10
-- B_13
-- F_94
-- M_FOR_REP1
-- R_SALESMAN
-- M_39
-- B_74
-- F_113
-- M_7
-- B_33
-- F_2
-- M_CUSTOMER
-- R_CUSTOMER
-- F_98
-- M_GNAME
-- R_5
-- M_12
-- F_41Above is my full layout of my report how it look like
(B_33) Sales Men : F_2
F_2 lists out the all the salesmen.(david, george .... so on)
F_98 Lists out all the categories of products (Furniture , Automobiles .... so on)
F_41 Lists out amount of particular category
F_113 lists out the sum of F_41.
Parameters that i pass is :
From Date : 01-AUG-11
To Date : 31-AUG-11
Company Code : 110
Orgn Name : Cytrex OU
Sales Type :
Salesmen From : DAVID FOO
Salesmen To : DAVID FOO
Customer From :
Customer To :
Year From Date : 01-JUN-11
Year To Date : 31-AUG-11
Report Detail : Yes
And the output for my report is
Item Type ProductFamily Quantity Sales
(MYR)
Sales Men : DAVID FOO
01FN
01FN
FNDM
FNUM
NEW CASA [BROWN (CS5839)]
CELLINI LEATHER [BEIGE FL35A]
CELLINI LEATHER [BLACK FL 10B]
21,585.50i need one more field and the result should like to compare F_2, F-98, F_41
For every salesman(F-2) there will be different category (F_98), i need to add the amount (F_41) for all the same category.
like
Customer : David
Sales men : Thomas
Furniture 100
Automotives 50
Textiles 20
Mobiles 10
Sales men : Daniel
Furniture 30
Textiles 10
Ship 20
Customer : George
Sales men : Thomas
Furniture 20
Mobiles 50
Sales men : Daniel
Furniture 10
Mobiles 20
{code }
result Salesmen : Thomas Daniel
Furniture 120 40
Automotives 50
Textiles 20 10
Mobiles 60 20
Ship 20
means all the based on the category for each salesman for different customers should be added.Please explain me how to place the extra field and write the logic for that. i am trying for this from past one month nobody is giving proper feedback, if you want to know anything more regarding this let me know i will provide you with the full fledge information.
Edited by: user9093700 on Mar 12, 2012 1:08 AMyour break is nt the better for this
i think you can create a temporary table
the fields salesman category and quantity
insert and update for each record with a formula or create a new sql query and maybe use a matrix to show as you want -
Dear All,
I am processing for first stage delear invoice where I need to give the ED values manully.
I have given for BED, AED, ECS. But SECess field is greyed out (non editable mode) so i am unable to give the value.
Kindly suggest to make that field as editable so that i can give the value.
Rgds
SriniIts a config part SD consultant can decide which is manual n which are auto.
-
IBooks means iTunes Info needs some new fields
Hope Apple reviews these. Now, the Info about iTunes items needs some new fields to reflect books. Specifically, it could use Editor, Author(s), Publisher, Edition, Copyright Date, and ISBN.
apple.com/feedback is the right place to voice your thoughts. Here we are all users, just like you.
Maybe you are looking for
-
Photoshop installation error in mac, photoshop installation error in mac,
Problem while installing photoshop in mac, getting error, Screenshots attached pls help me
-
Permissions Issue on Web Subdirectories
I have several complex websites to set up on Mac OS X and I have created a subdirectory structure under /library/webserver/documents so that i can organise my site contents. The new structure is: /library/webserver/documents/sites/sitename1, sitename
-
10.0.9 to 10.11 update issues - re: project files not updating
#1 - I understand the function of libraries/events/projects in the 10.1+ version of Final Cut X, so this is not a case of not being able to identify projects contained within an event. FCPX simply refuses to update projects created in an older versio
-
I am currently running 10.5.8 and have a magic mouse. If I go ahead with my upgrades to Lion, will I be able to use gestures with my mouse, or will I need to invest in a new keyboard?
-
Problem with Physical Inventory
Dear Expert Im getting following error with Transaction code LI11N ( Enter Physical Count) Default values for this storage type are not maintained Message no. L4036 Please help in this regards with best regards Suman