Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Disigning Technical Specification

Former Member
0 Kudos

Can any one give me general guidelines in devloping sample report or bdc program

if you have any tutorials or tips material can you people mail me at vijay.malloj@gmail.com

3 REPLIES 3

Former Member
0 Kudos

Check this sample report for BDC

REPORT SAPBC420BDCS_B_DEBI_CT NO STANDARD PAGE HEADING.

&----


*& The report make data transfer *

*& with Call Transaction *

&----


INCLUDE BDCRECXX.

INCLUDE <LIST>.

DATA: BEGIN OF REC,

KUNNR(10), "Customer Number

NAME2(35), "Customer Name

PSTLZ(10), "postal code

TELF2(16). "second telephone number

DATA: END OF REC.

DATA SESSION_FLAG.

PARAMETERS: FILE(50) LOWER CASE.

INITIALIZATION.

INCLUDE SAPBC420X_I_PATH_INCLUDE.

CONCATENATE PATH 'BC420-##-BIFILE' INTO FILE.

START-OF-SELECTION.

  • open file

OPEN DATASET FILE FOR INPUT IN TEXT MODE.

DO.

READ DATASET FILE INTO REC.

IF SY-SUBRC NE 0. EXIT. ENDIF.

PERFORM GENERATE_BDC_DATA.

  • call transaction

PERFORM CALL_TRANSACTION.

REFRESH BDCDATA.

ENDDO.

IF SESSION_FLAG NE SPACE.

  • close session

PERFORM CLOSE_GROUP.

ENDIF.

----


  • FORM CALL_TRANSACTION *

----


  • ........ *

----


FORM CALL_TRANSACTION.

CALL TRANSACTION 'FD02'

USING BDCDATA

MODE 'A'

UPDATE 'S'.

IF SY-SUBRC NE 0.

IF SESSION_FLAG = SPACE.

  • open session

PERFORM OPEN_GROUP.

SESSION_FLAG = 'X'.

ENDIF.

PERFORM BDC_TRANSACTION USING 'FD02'.

WRITE / ICON_RED_LIGHT AS ICON .

WRITE: 'Debitor', REC-KUNNR, TEXT-001.

ELSE.

WRITE / ICON_GREEN_LIGHT AS ICON .

WRITE: 'Debitor', REC-KUNNR, TEXT-002.

ENDIF.

ENDFORM.

&----


*& Form GENERATE_BDC_DATA

&----


  • fill BDC table

----


FORM GENERATE_BDC_DATA.

PERFORM BDC_DYNPRO USING 'SAPMF02D' '0106'.

PERFORM BDC_FIELD USING 'BDC_OKCODE'

'/00'.

PERFORM BDC_FIELD USING 'BDC_CURSOR'

'RF02D-D0110'.

PERFORM BDC_FIELD USING 'RF02D-KUNNR'

REC-KUNNR.

PERFORM BDC_FIELD USING 'RF02D-D0110'

'X'.

PERFORM BDC_DYNPRO USING 'SAPMF02D' '0110'.

PERFORM BDC_FIELD USING 'BDC_OKCODE'

'UPDA'.

PERFORM BDC_FIELD USING 'BDC_CURSOR'

'KNA1-TELF2'.

PERFORM BDC_FIELD USING 'KNA1-NAME2'

REC-NAME2.

PERFORM BDC_FIELD USING 'KNA1-PSTLZ'

REC-PSTLZ.

PERFORM BDC_FIELD USING 'KNA1-TELF2'

REC-TELF2.

ENDFORM. " GENERATE_BDC_DATA

Check these links.

Reports

http://www.sapgenie.com/abap/reports.htm

http://www.allsaplinks.com/material.html

http://www.sapdevelopment.co.uk/reporting/reportinghome.htm

http://www.sapfans.com/forums/viewtopic.php?t=58286

http://www.sapfans.com/forums/viewtopic.php?t=76490

http://www.sapfans.com/forums/viewtopic.php?t=20591

http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.

BDC

http://www.sap-img.com/abap/learning-bdc-programming.htm

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

Regards,

Pavan P.

Former Member
0 Kudos

Hi Vijay,

While designing technical specification you need to mention all the Technical Aspects of program in details. The functional design will help you regarding detailing the technical specs.

A technical design specification is generally prepared as word document covering the following point. it's main purpose is to act an one shot approach in development of that object.

While documenting any Technical design specification cover the followings points and giving details of the same

1. Comments

2. Assumptions

3. Dependencies / Constraints

4. Objects or Transactions Affected

5. Transaction Volume

6. Standards

7. Security, Integrity, and Controls

8. Error Messages

9. Technical Flow Diagram

10. Technical Flow Description

11. Technical Requirements

12. Transport Numbers.

13. Testing Requirements

14. Outstanding Issues

15. Data Mapping

16. Revision History.

This is not exhaustive. You may customize it as it suits you. But you have to make it as detailed as it can.

Below are the link where you can have a very detailed information about the ABAP report program.

http://www.sap-basis-abap.com/sapabap.htm

http://www.basisguru.com/

http://www.erpgenie.com/abap/

Regards,

Samantak

Please rewards points if useful.

Former Member
0 Kudos

Hi Vijay,

If you are satisfied with the answer then close the question with answer marked with rewarding the necessary points.

Thanks,

Samantak.