Field groups cannot be created in the OO context.?
Hi All,
The current ABAP command is obsolete while using Field Group in ECC6.0.
I am getting this error "Field groups cannot be created in the OO context." How to replace Field groups with some other statement.
Thank you,
Swapna.M
Hi Madhavi,
There is no other solution than rewriting the program, e.q. by creating internal tables for the fields now defined with FIELD-GROUPS in HEADER and ITEMS and looping over these tables.
Regards,
John.
Similar Messages
-
Foreign key cannot be created for the selected field A907-MWSKZ
Dear Guru's,
I am having the requirement for creation of access sequence having country/Plant/vendor/tax code but during creation of condition table i am getting the error as
Foreign key cannot be created for the selected field A907-MWSKZ.
Anything i am missing please let me know.
Regards,
UmeshHi Umesh,
Actually i am also facing exactly the same problem as mentioned by you that is "Foreign key cannot be created for the selected field A769-MWSKZ ".
I think you found some solution regarding this..can you please help me to solve it.
Looking forward for your prompt reply..
Thanks & Regards,
Sandeep Sharma -
DNS server cannot be created because the authoritative parent zone
I am working in 2008r2sp1. I tried adding DNS Server and DHCP Roles first. Then under DNS Forward Lookup Zones I added "mysite.com" as a New Zone.
Also I searched my computer for a "NTDS" folder and the only on I found was "C:\Windows\inf\NTDS".
A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it does not run Windows DNS server. If you are integrating with an existing DNS infrastructure, you should manually create a delegation to this DNS server in the parent zone to ensure reliable name resolution from outside the domain "artisdextri.com". Otherwise, no action is required.
The folder C:\Windows\inf\NTDS> is not valid. Specify a valid path, including drive letter. For example: C:\NTDS.
dcpromo /unattend:"C:\Users\Administrator\Documents\ForestAdd.txt"
ForestAdd.txt
[DCINSTALL]
InstallDNS="yes"
NewDomain="forest"
NewDomainDNSName="mysite.com"
DomainNetBiosName="MYSITE"
ReplicaOrNewDomain="domain"
ForestLevel="4"
DomainLevel="4"
DatabasePath="C:\Windows\inf\NTDS>"
LogPath="C:\Windows\inf\NTDS"
SYSVOLPath="c:\Windows\SYSVOL"
SafeModeAdminPassword="pass1"Hello,
If this is the first forest root DC, just ignore the information.
Check the blog:
A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it does not run Windows DNS server.
http://blogs.technet.com/b/activedirectoryua/archive/2011/07/07/a-delegation-for-this-dns-server-cannot-be-created-because-the-authoritative-parent-zone-cannot-be-found-or-it-does-not-run-windows-dns-server.aspx
Hope this helps. -
Sales order cannot be created for the delivery date before 20.10.2008
when i create a sales order today (18102008) sales order cannot be created for the delivery date before 20.10.2008
how the system is checking the 2 days duration for delivery date - which table is having this duration days.
is it dependent on sales order type.....
actually i checkeup in V0V8 - even then i couldn't solve this error when i am creating the sales order.
Pls suggestDear Selvamuthu
In normal circumstances, you can create as many as sale orders as you can irrespective of delivery date, and system will not prevent to create unless you apply some user exit for some reason.
Check any user exit is applied for that sale document type where some logic would have been written in such a way that if stock is available, sale order can be created.
thanks
G. Lakshmipathi -
Hi,
I am trying to setup DFS replication on tow servers. I am local admin on the servers but NOT domain account. Is it possible to create Replication group anyway? or should i contact the Domain administrator to the job?
ThanksHi,
We cannot use local administrator to create a dfs replication group. By default, Domain Admins group can create a dfs replication group. You could also delegate to a user or group the ability to create replication groups and the user must add to the local Administrators
group on the namespace server.
For more detailed information, please refer to the article below:
Delegate the Ability to Manage DFS Replication
http://msdn.microsoft.com/en-us/library/cc771465.aspx
Best Regards,
Mandy
If you have any feedback on our support, please click
here .
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Foreign key cannot be created for the selected field S999-PRCTR
Hi there,
Why is there Profit Center be a characteristics field when it comes to LIS?? Anyone tried to assign Profit Center field as a char field for the LIS structure?
Thanks.
Regards,
AndrewDepending on what chars do you bring in from LIS.
If "that" is related to profit centre, then you can.
Ravi Thothadri -
Get the aforementioned error. I have modified my Data Source many times trying different settings. I created a SQL Login called RS_Subscriber, local machine acct the same name, added the same as a user for our database and the ReportServer database. Tried
with and without the Use as Windows credentials when connecting to the data source checked. I Test the connection okay but keep getting the #$^^$& error message.
Does anyone have explicit instructions on what type of account, where to create the account, what rights the account needs in order for the stored data source credentials to work?
MichiganMikeHi, This is because SSRS requires a Login to connect to the datasource to process the report when subscription will be occuring at its scheduled time. I would recommend you to store the credential securily into report server.
GoTo: Report>Properties> Click on the Data Sources tab and you will see following options:
a)A shared data source
b)A custom data source
Use option b) and click on option Credentials stored securely in the report server
and provide credential information and further you can use options: Windows credentials and Impersonate the authenticated User if you require. Click on apply button.
*You can use any option of them provided in first option(a) also using the shared data source which is having credential saved into report server.
Once you have done with above you will be able to create subscription.
Cheers Sunil Gure -
Replacement for obsolete field groups in ECC 6
Hi ,
I am working in a upgrade project from ecc4.7 to ecc6
So i am finding difficulties for
replacing FIELD groups.
FIELD-GROUPS : HEADER, DETAIL.
INSERT : w_EBAN_TMP-EKORG
w_EBAN_TMP-EKGRP
w_EBAN_TMP-BANFN "Requisition Number
INTO HEADER.
INSERT w_EBAN_TMP-EBELN "Purchase Order Number
w_EBAN_TMP-EKORG "Purchase Org.
w_EBAN_TMP-EKGRP "Purchase Group
w_EBAN_TMP-BEDAT "Purchase Order Creation Date
w_EBAN_TMP-BADAT "Requisition Creation Date
w_EBAN_TMP-ESTKZ "(Manually or MRP)
w_EBAN_TMP-MATNR "Part number
w_EBAN_TMP-BANFN "Requisition Number
w_EBAN_TMP-BADAT "PO Creation Date
w_EBAN_TMP-NAME1 "Vendor Name
TOT "used to get the avg
TOTAL05 " <= 05 days
TOTAL10 " <= 10 days
TOTAL15 " <= 15 days
TOTAL20 " <= 20 days
TOTAL25 " <= 25 days
TOTAL30 " <= 30 days
TOTAL31 " >= 31 days
VALUE05
VALUE10
VALUE15
VALUE20
VALUE25
VALUE30
VALUE31
VIAMAN "Created Manually
VIAMRP "Created via MRP
w_EBAN_TMP-URGENT "Urgent mark "AB25385
INTO DETAIL.
WHILE ,IN EXTENDED SYNTAX CHECKING A MESSAGE IS GIVING THAT .
" " FIELD-GROUPS ARE NO LONGER USED.
The current ABAP command is obsolete
Field groups cannot be created in the OO context.
Internal Message Code: FIELD-GROUPS 000
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON) ""Extract from [Type Definitions and Data Declarations|http://help.sap.com/abapdocu_70/en/ABENABAP_OBJECTS_DIFF_TYPES_DATA.htm]
No Definition of Field Groups in Methods
The statement FIELD-GROUPS is not allowed in methods.
Error message in methods if the following syntax is used:
METHOD ...
FIELD-GROUPS fg.
ENDMETHOD.
Reason:
An [extract dataset|http://help.sap.com/abapdocu_70/en/ABENEXTRACT_DATASET_GLOSRY.htm] currently exists only as a global object of the [main program|http://help.sap.com/abapdocu_70/en/ABENFRAME_PROGRAM_GLOSRY.htm]. Therefore the field groups can only be defined globally in the main program. However, the definition of the field group structure, which is enerated at runtime by the statement INSERT ... INTO fg, can also be executed in methods.
(SCI is "picky")
Regards,
Raymond -
Hi All,
The current ABAP command is obsolete Field Group.
Field groups cannot be created in the OO context.
How to replace Field groups with some other statement.
Thank you.....Hi All,
The current ABAP command is obsolete Field Group.
Field groups cannot be created in the OO context.
How to replace Field groups with some other statement.
Thank you..... -
DFSR Error - The Replication Group Cannot Be Found
In the DFS Management console when I view entries under the Replication node of the tree I am seeing three entries with red X's as icons. When I click on one of these an error is displayed...'The replication group cannot be queried. The replication
group cannot be found'. I would like to delete these bad entries. How can this be accomplished?
Thanks in advance for your help,
Terry
twahlHi,
You may also click on the bad replication groups, select Delete to remove them and click New Replication Group to create new replication groups.
For more information regarding DFS management, please refer to the following Microsoft TechNet article:
DFS Step-by-Step Guide for Windows Server 2008
http://technet.microsoft.com/en-us/library/cc732863(WS.10).aspx
Regards,
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
How to get a group created in the OD into ical and EDIT it ?
hello,
We would like to use iCal instead of web service to view and edit a group's calendar created in the OD/Repertory (like places or ressources)..
Viewing is ok by adding the calendar's group link using alt+command S (my iCal is in french so I give you the shortcut)....
So how do we edit a calendar's group under iCal (like places or ressources) ?
Thank youHi, you might want to read this thread: http://discussions.apple.com/thread.jspa?messageID=6049520
Good news is there is a work around.. Bad news is it is sloppy at best. This should have been supported from day 1. I seriously hope they come out with a fix. -
Different field groups in the different account groups
Dear IT Experts,
I´m working on restructuring authorization in roles concerning the IC and TP customers.
The goal of this changes is be able to have different field groups in the different account groups (TP and IC), for give you some more detail a good example can be, the same AMS user should be able to change general data and sales views for TP customers but for IC he should only be allowed to change the sales views, however when the changes are made in the roles they are being ignored because as far as I could check the system does not have as a rule that the field groups are or can be dependent from the account group...
I can give you a clear example:
Role A
F_KNA1_AEN -> VGRUP = 10-16
F_KNA1_GRP -> ACTVT = 01, 02, 03
F_KNA1_GRP -> KTOKD = INTR
Role B
F_KNA1_AEN -> VGRUP = 16
F_KNA1_GRP -> ACTVT = 01, 02, 03
F_KNA1_GRP -> KTOKD = THIR
Despite it looks fine, the system is not validating the account group with the correspondent field group in each role, so the field groups that the system use is unique, it means it the content of the object F_KNA1_AEN in total independently of used account group!
So my question is, can we apply any other object that makes the field group being directly depending of the account group, as we can see for example activities for each account group having something similar for field group and account group?
Can someone please explain me step-by-step how I can do this work even if by another method?
I´m quite new on this issues and I really need your wisdom to find a solution for this.
Many thanks
KatjiaHi Manoj
The debate is each inidividual business unit has defined different account groups for the same vendor in their respective systems.
The question is : What is the best practice-- Should we keep Vendor account group as main table field and define Vendors with one unique account groups OR we maintain the account group in qualified table each pointing to different business unit.
In my opinion this is going to be very complex solution. Ideally we need to define all the Harmonization rules before syndicating data to different target systems.
Is this possibel that the same vendor record which is existing as vendor of different account groups in different systems have same set of attributes. If yes then enabling the remote key for Account group Lookup field is one option and defining a unique Account group 'AG" (which is mapped to say AG1 from remote system1, AG2 from remote system2 and so on..)..
Managing this via Qualified table will be very complex and not advisabel. As Rajesh also mentioned Account Group in MDM should be considered as Global attribute and all such harmonization rules should be defined in your project. AG1=AG2=AG in above exmaple.
Hope this clarifies.
Thanks-Ravi -
Function group cannot be processed
Hi All,
I have added a new field to an already created custom table. when trying to regenerate the table maintenance generator i get an information message "*function group cannot be processed*". The reason being that the function group is inactive. I tried to activate that function group. But then found that there were some errors because of which i couldn't activate it . it showed that an Include report was not found. That include is reserved for function group includes. What do i do to solve this problem.
Edited by: Herwin Wilmet Dsouza on Dec 10, 2009 7:58 AMHi,
The best thing to do when you add a custom field in the custom table is to degenerate the TMG, the View and then activate the Table using SE14 (Database utility) and then from the View again use the TMG to generate the Maintainance Views.
Yes, this is a lengthy process but at least this is good as it will ensure that the Function Group is activated and the views will work properly.
Note : If you have added your own logic or code in the TMG for any additional functionality you need to take a backup of the code or all the relevant objects (e.g. Include Reports,etc) as once you do a new generation of the same function groups this will be over written.
Hope this helps.
Thanks,
Samantak. -
Need help to modify a report written using Field-Groups Concept. - Part1
Hello ABAP Experts,
I need your help to modify the following report with following requirement as I have least knowledge
about the field-group concept. Thats is the reason, I am pasting the whole code. As it is part of our
production requirement. I really appreciate your help, If its sent modifying the code required.
Modification required in the report.
To allow the sales representatives to see billed shipments and open orders for the current month.
1) Selection Screen Changes:
u2022 Add selection by Sales group and Customer group
u2022 Add sort by: 3. Ship-to / Material
u2022 Add another selection box
[ ] Open Orders and Shipments with the current month
2) For the new selection box, subtotal sales quantity and delivery quantity.
If delivered, make the sales quantity zero in the subtotal
Current report displays, in Selection Screen
Sales org:
Person Name:
Material:
Plant:
Sales Office:
Ship to Name:
Ship to Number:
Sorts Report by : 1. Person Name 2. Material
Check Boxes : 1. Open Orders 2. Delayed Orders.
report zorder LINE-SIZE 170
LINE-COUNT 58
MESSAGE-ID zv
NO STANDARD PAGE HEADING.
TABLES:
cdhdr, "Change Doc Header
cdpos, "Change Doc Item
kna1, "Customer master
likp, "Delivery Header
lips, "Delivery Item
*lips, "Delivery Item
zvbpa_lfa1, "Vendor Master
makt, "Material Desc
t001w, "Plant
tvkbt, "Sales Office
tvko, "Sales Organizations
vbak, "Sales Header
vbap, "Sales Item
zvvbak, "Sales Hdr - Time calc
vbup, "Item status
vbep, "Sales Schedule Line
vbfa, "Flow documents
vbpa, "Partners
vbrk, "Billing Header
vbrp. "Billing Item
SELECT-OPTIONS:
s_vkorg FOR vbak-vkorg OBLIGATORY,
s_ernam FOR vbak-ernam,
s_matnr FOR vbap-matnr,
s_werks FOR vbap-werks,
s_vkbur FOR vbak-vkbur,
s_name1 FOR kna1-name1,
s_kunnr FOR kna1-kunnr.
SELECTION-SCREEN ULINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(49) text-c20.
PARAMETERS: p_sort TYPE n DEFAULT '1'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 19(40) text-022.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 19(40) text-023.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 19(40) text-024.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN COMMENT 19(40) text-070.
SELECTION-SCREEN ULINE.
SELECTION-SCREEN BEGIN OF BLOCK b20 WITH FRAME.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS:p_open AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN COMMENT 5(48) text-072.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS:p_delay AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN COMMENT 5(48) text-073.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b20.
DATA:
vbeln(11), "Document number
cancel_dt TYPE d, "Cancellation Date
BEGIN OF tabkey, "Tabkey
mandant LIKE sy-mandt,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
END OF tabkey,
name1_sp1 LIKE lfa1-name1, "Sales Carrier Name
name1_sp2 LIKE lfa1-name1, "Delivery Carrier Name
datum-1 TYPE d, "Current Dt Less 1
datum-14 TYPE d, "Current Dt Less 14
datum-90 TYPE d, "Current Dt Less 90
rpt_hdr1(170), "Report Header 1
rpt_hdr2(170), "Report Header 2
rpt_hdr3(170), "Report Header 3
cb_hdr1(170), "Control Break Header 1
line_pos1 TYPE i, "Line Print Position HDR1
line_pos2 TYPE i, "Line Print Position HDR2
line_pos3 TYPE i, "Line Print Position DET2
status, "Order Status
open, "Open Order
delayed VALUE 'D', "Delayed Order
v_comp(30). "Company Text Field
DATA: v_flagh2. " Flag for header 2 & 3
DATA: ls_comwa LIKE vbco6. "Structure for flow information
DATA: t_vbfa_tab TYPE STANDARD TABLE OF vbfa WITH HEADER LINE."Itab
for flow information
data: g_trans_id type vttk-tdlnr. "get transport id from flow
information
data v_sales_org_cpimex type vkorg value '3300'.
FIELD-GROUPS:
header,
order.
INSERT
status "Status
vbak-vkbur "Sales Office
vbak-ernam "Created By
kna1-kunnr "Customer
kna1-name1 "Customer Name
vbap-matnr "Material
vbap-werks "Plant
vbep-lddat "Load Dt
vbap-vbeln "Sales Document
INTO header.
INSERT
kna1-ort01 "City
kna1-regio "Region
likp-traid "Transport ID
lips-vbeln "Delivery Document
lips-ntgew "Net Wt
lips-gewei "Unit of Weight
vbap-kwmeng "Order Qty
vbap-vrkme "Sales Unit
vbak-bstnk "Customer PO
vbak-erdat "Sales Create Dt
vbak-ihrez "PO Release
vbak-vdatu "Req Delivery Dt
vbak-vzeit "Req Delivery Time
vbfa-vbeln "Goods issue doc
vbrk-vbeln "Billing Document
name1_sp1 "Sales Carrier
name1_sp2 "Delivery Carrier
INTO order.
INITIALIZATION.
AT SELECTION-SCREEN.
IF NOT p_sort BETWEEN 1 AND 2.
MESSAGE e022 WITH p_sort.
ENDIF.
* Report 1 or more of cancelled, delayed or open
IF p_open IS INITIAL AND
p_delay IS INITIAL.
MESSAGE e023.
ENDIF.
START-OF-SELECTION.
* Load Company Name
WRITE 'XYZ INC'(000) TO v_comp.
* Calculate Date Range
datum-1 = sy-datum - 1.
datum-14 = sy-datum - 14.
datum-90 = sy-datum - 90.
* Compose Parameter Header
PERFORM parm_hdr.
** Compose Report Header
v_flagh2 = 1.
PERFORM data_selection.
END-OF-SELECTION.
* Determine Sort
CASE p_sort.
WHEN 1.
SORT BY status vbak-ernam kna1-name1 kna1-kunnr
vbep-lddat vbap-vbeln.
WHEN 2.
SORT BY status vbap-matnr vbap-werks vbep-lddat
vbap-vbeln.
ENDCASE.
LOOP.
AT NEW status.
CASE status.
WHEN delayed.
WRITE 'Delayed Orders'(061) TO rpt_hdr1.
WHEN OTHERS.
WRITE 'Open Orders'(062) TO rpt_hdr1.
ENDCASE.
NEW-PAGE.
ENDAT.
AT NEW vbak-ernam.
IF p_sort = 1.
CLEAR cb_hdr1.
WRITE 'CAA:'(064) TO cb_hdr1.
WRITE vbak-ernam TO cb_hdr1+5.
NEW-PAGE.
ENDIF.
ENDAT.
AT NEW vbap-matnr.
IF p_sort = 2.
CLEAR makt.
SELECT SINGLE * FROM makt
WHERE spras = sy-langu AND
matnr = vbap-matnr.
CLEAR cb_hdr1.
WRITE 'Material:'(042) TO cb_hdr1.
WRITE vbap-matnr TO cb_hdr1+10.
WRITE makt-maktx TO cb_hdr1+21.
NEW-PAGE.
ENDIF.
ENDAT.
AT NEW vbap-werks.
AT order.
RESERVE 3 LINES.
SKIP 1.
NEW-LINE.
* Indicate new open item
WRITE vbap-vbeln TO vbeln.
* Find Transport ID
* Fill the structure LS_COMWA
ls_comwa-mandt = sy-mandt.
ls_comwa-vbeln = vbap-vbeln.
CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
EXPORTING
comwa = ls_comwa
TABLES
vbfa_tab = t_vbfa_tab.
IF sy-subrc EQ 0.
READ TABLE t_vbfa_tab WITH KEY vbtyp_n = '8'.
IF sy-subrc EQ 0.
SELECT SINGLE tdlnr INTO g_trans_id
FROM vttk WHERE tknum = t_vbfa_tab-vbeln.
CONDENSE g_trans_id.
ENDIF.
ENDIF.
IF vbak-erdat >= datum-1.
vbeln+10 = 'N'.
ENDIF.
CASE p_sort.
WHEN 1.
WRITE 1 vbak-vkbur.
WRITE 8 kna1-name1.
WRITE 44 vbeln.
WRITE 56 vbap-matnr.
WRITE:
75 vbap-kwmeng LEFT-JUSTIFIED,
vbap-vrkme,
100 vbak-bstnk,
vbak-ihrez,
134 vbak-vdatu,
vbak-vzeit,
154 vbep-lddat.
WRITE 166 vbap-werks.
NEW-LINE.
WRITE:
5 kna1-ort01,
41 kna1-regio.
IF name1_sp2 IS INITIAL.
WRITE:
45 name1_sp1,
ELSE.
WRITE 45 name1_sp2.
IF name1_sp1 = name1_sp2.
WRITE ' '.
ELSE.
WRITE '*'.
ENDIF.
ENDIF.
IF vbak-vkorg = v_sales_org_cpimex .
WRITE 81 g_trans_id.
ELSE.
WRITE 81 likp-traid.
ENDIF.
WRITE:
102 lips-vbeln,
115 lips-ntgew NO-ZERO LEFT-JUSTIFIED,
lips-gewei,
140 vbfa-vbeln,
152 vbrk-vbeln.
WHEN 2.
WRITE 1 vbak-ernam.
WRITE 14 vbak-vkbur.
WRITE 21 kna1-name1.
WRITE 57 vbeln.
WRITE:
69 vbap-kwmeng LEFT-JUSTIFIED,
vbap-vrkme,
92 vbak-bstnk,
vbak-ihrez,
126 vbak-vdatu,
vbak-vzeit,
146 vbep-lddat.
WRITE 162 vbap-werks.
NEW-LINE.
WRITE:
5 kna1-ort01,
41 kna1-regio.
IF name1_sp2 IS INITIAL.
WRITE:
45 name1_sp1,
ELSE.
WRITE 45 name1_sp2.
IF name1_sp1 = name1_sp2.
WRITE ' '.
ELSE.
WRITE '*'.
ENDIF.
ENDIF.
IF vbak-vkorg = v_sales_org_cpimex .
WRITE 81 g_trans_id.
ELSE.
WRITE 81 likp-traid.
ENDIF.
WRITE:
102 lips-vbeln,
115 lips-ntgew NO-ZERO LEFT-JUSTIFIED,
lips-gewei,
140 vbfa-vbeln,
152 vbrk-vbeln.
ENDCASE.
ENDAT.
ENDLOOP.
* FORM PARM_HDR *
FORM parm_hdr.
WRITE 'Program selections'(101) TO rpt_hdr1.
WRITE 'Sign'(102) TO rpt_hdr1+29.
WRITE 'Option'(103) TO rpt_hdr1+34.
WRITE 'From'(104) TO rpt_hdr1+41.
WRITE 'To'(105) TO rpt_hdr1+77.
ENDFORM. "PARM_HDR
* FORM RPT_HDR *
FORM rpt_hdr.
CASE p_sort.
WHEN 1. "When sort by CAA
WRITE 1'SOff'(066).
WRITE 8'Customer'(009).
WRITE 44'Sales Doc'(010).
WRITE 56'Material'(031).
WRITE 75'Sales Qty'(011).
WRITE 100'Customer PO'(012).
WRITE 134'Req.Del.Dt & Tm'(014).
WRITE 154'Load Dt'(015).
WRITE 166'Plnt'(016).
NEW-LINE.
WRITE 5'City'(017).
WRITE 41'Reg'(069).
WRITE 45'Carrier'(018).
WRITE 81'Transport ID'(019).
WRITE 102'Dlvry Doc'(021).
WRITE 115'Dlvry Qty'(025).
WRITE 140'PGI Doc'(026).
WRITE 152'Billng Doc'(027).
WHEN 2. "When sort by Material
WRITE 1'Created By'(008).
WRITE 14'SOff'(066).
WRITE 21'Customer'(009).
WRITE 57'Sales Doc'(010).
WRITE 69'Sales Qty'(011).
WRITE 92'Customer PO'(012).
WRITE 126'Req.Del.Dt & Tm'(014).
WRITE 146'Load Dt'(015).
WRITE 162'Plnt'(016).
NEW-LINE.
WRITE 5'City'(017).
WRITE 41'Reg'(069).
WRITE 45'Carrier'(018).
WRITE 81'Transport ID'(019).
WRITE 102'Dlvry Doc'(021).
WRITE 115'Dlvry Qty'(025).
WRITE 140'PGI Doc'(026).
WRITE 152'Billng Doc'(027).
ENDCASE.
ENDFORM. "RPT_HDR
INCLUDE zrpthdri.
WRITE:
/ rpt_hdr1.
ULINE.
IF v_flagh2 <> 0.
PERFORM rpt_hdr. "Write secondary header
ULINE.
* Control Break Header
WRITE / cb_hdr1.
ENDIF.
Continued in Part-2
Thanks a ton in advance.
Mythili Sharma
Edited by: Mythili sharma on Mar 30, 2009 3:32 AM
Edited by: Rob Burbank on Mar 30, 2009 10:46 AMHello ABAP Experts,
I need your help to modify the following report with following requirement as I have least knowledge about the field-group concept. Thats is the reason, I am pasting the whole code. As it is part of our production requirement. I really appreciate your help, If its sent modifying the code required.
Modification required in the report.
To allow the sales representatives to see billed shipments and open orders for the current month.
1) Selection Screen Changes:
u2022 Add selection by Sales group and Customer group
u2022 Add sort by: 5. Ship-to / Material
u2022 Add another selection box
[ ] Open Orders and Shipments with the current month
2) For the new selection box, subtotal sales quantity and delivery quantity.
If delivered, make the sales quantity zero in the subtotal
Current report displays, in Selection Screen
Sales org:
Person Name:
Material:
Plant:
Sales Office:
Ship to Name:
Ship to Number:
Sorts Report by :
1. Person Name
2. Material
3. Plant
4. Sales Office
Check Boxes :
1. Open Orders
2. Delayed Orders
3.Cancelled Orders
PLEASE DOWNLOAD THE COMPLETE REPORT FROM THE FOLLOWING LINK
<< Link removed >>
It would be a great help, If the program is modified according to the requirement and snd it back through send space and send link, even if u send the necessary changes to be done in the report is also appreciable.
Thanks a ton in adanvce
Mythili
I wanted to close this thread as I could not put my question in a proper format. So please reply in the new thread which is posted.
Edited by: Mythili sharma on Mar 30, 2009 2:16 PM
Edited by: Rob Burbank on Mar 30, 2009 4:24 PM -
PCUI error: Field group could not be read completely
Hello,
I am trying to remove some fields from the Sales Data tab in the Sales Orders application CRMD_BUS2000115. I have changed field groups before, noth in CRM 4.0 and CRM 5.0, but in this case, I always get this error.
By going into debugging mode (tracelevel set to 2222) I determined the main field group to be SLO_SALES, with lots of smaller reference groups below. Whenever I change one of the reference groups and try to generate the layout of SLO_SALES I get the error "Field group could not be read completely". I even reverted all changes by emptying all the entries from the reference groups so that my c-tables are empty, but I still get the error. All field groups below this one yield the error "No field group selected in blueprint table", so I cannot build those either.
Has anybody else tried to change the contents of that application in that tab?
Regards
ThomasHi Thomas,
Everytime you do changes in the reference group the entries in table 'CRMC_FIELDGRP' changes. So you will have to go to this table check entries for the main feild group 'SLO_SALES' in your case and then change entries for this feildgroup in CRMC_BLUEPRINT_C. The idea ia that the data should be consistent/same in both the places.
Hope this helps you.
Regards,
Hetal.
Maybe you are looking for
-
Please, can anybody help? I am using a Windows phone. It is a samsung Focus S Smartphone operating windows 7.5....My computer is running Windows XP. I can use Zune just fine but Itunes does not recognize my phone whatsoever! I cant get help from Appl
-
Unable to scan doc's using my HP M1536 dnf
I'm facing some new issue using HP laserjet M1536dnf printer & Scanner, in my office number of systems are there, i can able to give print and scan from all systems accept one system i tried so many settings and troubleshoot's but no use its not work
-
Message Mapping of type ABAP Class not being shown
Hi all, I have been trying to follow the given blog: /people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi Even after doing the changes mentioned in the blog, i do not see the ABAP Class in the list of Message Mapping types.
-
Application Credential and Policy Migration
Hi, I'm trying to accomplish this: http://www.oracle.com/technology/products/jdev/tips/muench/credmig111100/index.html What is APPWORKSPACEDIR? The document does not provide any info how it's defined. Is this the folder under AdminServer/tmp/_WL_user
-
Scrap entry for in QA32 confirmation screen.
we r making entry of scrap in QA32 tcode wiith inspection lot origin 03 -production. when we r confirming the yield as well scrap in the same Tcode QA32 as for first time the scrap qty was 1 . then we r chking the CO11 screen the scra qty appering is