Re: group by in internal table
Dear Maryam, You can use COLLECT statement for the functionality you need. I have also made a demo program for COLLECT statement. Please find it below. REPORT ZOM_DEMO.types: BEGIN OF ty_data, val1...
View ArticleRe: link between coep and cosp
COSS (as COSP) are "Totals" table, so why would you join COEP (detail ) and COSS (total) If you have COEP record then COSP record don't carry much information. Actually only records of COSS that do not...
View ArticleRe: a way to archive data from a database table?
Maybe you don't need archiving, performance will not decrease if you have something in the key (or in the index) that give you quickly the information of the set of data. If you have a field for each...
View ArticleRe: 2 Select Queries into 1
Try using a subquery, this way: SELECT fld2 fld3 INTO TABLE it_tab FROM table1 WHERE fld1 = ( SELECT fld1 FROM table1 WHERE fld2 = some_value1 ). []'sHeber
View ArticleRe: a way to archive data from a database table?
Archiving (in its formal definition) is only relevant when the data crosses it's legal retention horizon. This just doesn't sound like a candidate for formal archiving. Neal
View ArticleRe: Mandatory fields in VAP1
Hi Edwin, Unfortunately during create transaction only last-name is mandatory (hard coded, not customizable with any table). However in our system the Initials are ready for input even during the...
View ArticleRe: IDOC conversion rules not triggering
Have a look at following link. http://help.sap.com/saphelp_di46c2/helpdata/en/f9/c3075cac7d11d39460005004580996/frameset.htm Not exactly your scenario but may prove helpful. If you check in...
View ArticleRe: Parallel processing validation
Hi Thomas, Yes, there is a mistake in that, I am correcting the logic. Will post when done. thanks.
View ArticleRe: IDOC conversion rules not triggering
If want to debug and check the issue Set break point in Main Program SAPLBD11Source code of LBD11F12FORM IDOC_CONVERT_FIELDS Before function call CALL FUNCTION 'IDOC_SEGMENT_TRANSLATE'
View ArticleRe: 2 Select Queries into 1
Indeed. So, you can't do it with exactly one select statement since you cannot retrieve fld1 from a single record and use it as a WHERE condition. If you have broader WHERE conditions, you can try...
View ArticleRe: a way to archive data from a database table?
Hi Maria, It sounds to me as some tables in FI module (for instance BSID and BSAD, BSIK and BSAK, where you have open items for vendors/customer and after some processes -payments, for instance- is...
View ArticleRe: Move column positions of radio button.
I'm not sure if I understand the requirement fully, but is it as simple as change the position 5 to 1? SELECTION-SCREEN BEGIN OF BLOCK b3 .SELECTION-SCREEN COMMENT 1(15) text-004 FOR FIELD p_depend...
View ArticleRe: Parallel processing validation
Please be careful with that value, it should be the number of available DIA work processes minus a reserve for other stuff that is going on in your system.Good practice is to call SPBT_INITIALIZE and...
View ArticleRe: Issue with ABAP statement to read data from table
Hi Tom, Give a select statement as below to CDHDR table select * from cdhdr into table Itab where OBJECTID like '%9000006169%'. Now you have itab with records required, I a case where you have...
View ArticleRe: How to increase fixed value range in domain level
If available values are actually greater than domain length, increase domain length (only customer field, don't change standard SAP fields), else this is an inconsistency. Or give shorter codes and...
View ArticleRe: link between coep and cosp
COSS, COSP are always linked to CO object with OBJNR. But there you work on cost centers, so there is cost center OBJNR (CSKS-OBJNR) but other objects carry the cost center (e.g. Cost Center/Activity...
View ArticleRe: Customer/Vendor Ledger Reports
Search and display BTE documentation in BERE (Publish&Subscribe) and BERP (Process) you will see a sample FM that you have to copy. Then in FIBF create a product, and attach your copied FM to BTE...
View ArticleRe: Regarding DP91 net value calculation
Sorry, this depends on your Customizing (sources, etc.) there is no absolute answer. There are multiple answers in my current system : can be a calculation from actual cost, a quotation or a price...
View ArticleRe: How to increase fixed value range in domain level
Hello Hemanth, I am not sure why you are using values of type char with length more than 10 chars, Ideally the value which would be manipulated would be different to what would you show to users. So...
View Article