SlideShare ist ein Scribd-Unternehmen logo
1 von 23
200 7 년  7 월   24 일  최  현  Efficient Database  Programming With  Abap
Page   /16 database Abap program Abap function module ( 자동생성 ) Smart forms activate 서식출력물 Smartform  과  abap program 의 연결 Call function
Page   /16 T-Code : Smartforms 스마트폼명은  Z 로 시작한다
Page   /16
Page   /16 Smartform  의  구현절차 1 .  추출할  data 를 선택한후  ,Navigation tree 에 변수선언 2.  Form Layout  작성 3.  도구를 이용하여  Form  생성 ,[object Object],[object Object],[object Object]
Page   /16 Navigation Tree  Maintenance Screen Form Painter 서식속성   : Form 의 일방 속성과 전반속성을 입력 서식인터페이스 : Form 과  Program 간의  Interface  변수를 입력 전역정의   : Form 내의 사용할 변수를 입력
Page   /16 1 .  추출할  data 를 선택후  Navigation tree 에 변수선언
Page   /16
Page   /16
Page   /16
Page   /16
Page   /16 구조를 살펴보면 해당  Form 을 호출할 프로그램과의  Interface  변수들을 선언한다 . Form interface 에서 정의해주는  Parameter 가 이후에 해당  Smartform 을  ABAP 프로그램에서  Call 할때 사용되는  Function Module  의  patameter 이다 .
Page   /16 LOOP AT  … CALL FUNCTION  funce_mode_name EXPORTING  … INPORTING  … TABLES  … EXCEPTIONS  … ENDLOOP.
Page   /16 Smart form 내에서 사용할 변수를 선언한다 .  특히 프로그램에서  Table 형태로  Interface 된 값을  Form  내에서 사용하려면 그림과 같이  Interface   되는  Table  과 같은 형태의  Structure  ST_TAB1  을  선언해주어야 한다 .
Page   /16 그리고  선언한  STRUCTURE  ( ST_TAB1 )  을 그림과 같이  TABLE 의 내역  ( ITAB )  을 받아 작업해야 한다 .  이 연결작업을  LOOP 노드 를 이용하여 처리할수 있다 .
Page   /16 2. Form layout  작성 이부분은  PPT 보다  SAP 안에서 작성하는것이  더 효과적일것 같습니다 .  먼저 작성하려는 화면을 보겠습니다 .
Page   /16
Page   /16 3.  도구를 사용해  Form  생성 1.Page  2.Windows 3.Loop 4.Template 5.Table 6.command 7.Alternative 8.Program lines 이부분도  SAP 안에서 직접 실행하겠습니다 .
Page   /16 4. 데이터를  Form 에 입력하거나  Logic 에 해당되는 스크립트기술
Page   /16 5.ABAP Program 에서  Smart form 을  Function module call  CALL FUNCTION ‘SSF_FUNCTION_MODULE_NAME’ EXPORTING  FORMNAME  =  P_FORMNAME INPORTING  FM_NAME  =  I_FM_NAME CALL FUNCTION I_FM_NAME EXPORTING  CONTROL_PARAMETERS = GS_CONTROL_PARAMETERS OUTPUT_OPTIONS  = GS_OUTPUT_OPTIONS USER_SETTINGS  = G_USER TABLES ITAB  =  ITAB 1. SMART FORMS  명에 해당하는  Function  module  을 찾아온다 2. 찾은 명으로  Function Module 을  Call 하면 해당되는  Form 으로 출력된다 . Smart forms 명 새로 생성된  Function 명 새로 생성된  Function 명
Page   /16
Page   /16 김홍파선생님께서 경상대의 스마트폼 서식을  올린것입니다 .  회사홈페이지 ABAP/4  资料  / [ 列表程序 ]  경상대  smartform 발표가 끊나고 직접 해보시지 않으면 인츰 잊을것 같은데 이 서식을 직접 해보시면 후에 스마트폼을 만들때 도움이 많이 될거라 생각됩니다 .
※  END

Weitere ähnliche Inhalte

Empfohlen

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Empfohlen (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

7789

  • 1. 200 7 년 7 월 24 일 최 현 Efficient Database Programming With Abap
  • 2. Page /16 database Abap program Abap function module ( 자동생성 ) Smart forms activate 서식출력물 Smartform 과 abap program 의 연결 Call function
  • 3. Page /16 T-Code : Smartforms 스마트폼명은 Z 로 시작한다
  • 4. Page /16
  • 5.
  • 6. Page /16 Navigation Tree Maintenance Screen Form Painter 서식속성 : Form 의 일방 속성과 전반속성을 입력 서식인터페이스 : Form 과 Program 간의 Interface 변수를 입력 전역정의 : Form 내의 사용할 변수를 입력
  • 7. Page /16 1 . 추출할 data 를 선택후 Navigation tree 에 변수선언
  • 8. Page /16
  • 9. Page /16
  • 10. Page /16
  • 11. Page /16
  • 12. Page /16 구조를 살펴보면 해당 Form 을 호출할 프로그램과의 Interface 변수들을 선언한다 . Form interface 에서 정의해주는 Parameter 가 이후에 해당 Smartform 을 ABAP 프로그램에서 Call 할때 사용되는 Function Module 의 patameter 이다 .
  • 13. Page /16 LOOP AT … CALL FUNCTION funce_mode_name EXPORTING … INPORTING … TABLES … EXCEPTIONS … ENDLOOP.
  • 14. Page /16 Smart form 내에서 사용할 변수를 선언한다 . 특히 프로그램에서 Table 형태로 Interface 된 값을 Form 내에서 사용하려면 그림과 같이 Interface 되는 Table 과 같은 형태의 Structure ST_TAB1 을 선언해주어야 한다 .
  • 15. Page /16 그리고 선언한 STRUCTURE ( ST_TAB1 ) 을 그림과 같이 TABLE 의 내역 ( ITAB ) 을 받아 작업해야 한다 . 이 연결작업을 LOOP 노드 를 이용하여 처리할수 있다 .
  • 16. Page /16 2. Form layout 작성 이부분은 PPT 보다 SAP 안에서 작성하는것이 더 효과적일것 같습니다 . 먼저 작성하려는 화면을 보겠습니다 .
  • 17. Page /16
  • 18. Page /16 3. 도구를 사용해 Form 생성 1.Page 2.Windows 3.Loop 4.Template 5.Table 6.command 7.Alternative 8.Program lines 이부분도 SAP 안에서 직접 실행하겠습니다 .
  • 19. Page /16 4. 데이터를 Form 에 입력하거나 Logic 에 해당되는 스크립트기술
  • 20. Page /16 5.ABAP Program 에서 Smart form 을 Function module call CALL FUNCTION ‘SSF_FUNCTION_MODULE_NAME’ EXPORTING FORMNAME = P_FORMNAME INPORTING FM_NAME = I_FM_NAME CALL FUNCTION I_FM_NAME EXPORTING CONTROL_PARAMETERS = GS_CONTROL_PARAMETERS OUTPUT_OPTIONS = GS_OUTPUT_OPTIONS USER_SETTINGS = G_USER TABLES ITAB = ITAB 1. SMART FORMS 명에 해당하는 Function module 을 찾아온다 2. 찾은 명으로 Function Module 을 Call 하면 해당되는 Form 으로 출력된다 . Smart forms 명 새로 생성된 Function 명 새로 생성된 Function 명
  • 21. Page /16
  • 22. Page /16 김홍파선생님께서 경상대의 스마트폼 서식을 올린것입니다 . 회사홈페이지 ABAP/4 资料 / [ 列表程序 ] 경상대 smartform 발표가 끊나고 직접 해보시지 않으면 인츰 잊을것 같은데 이 서식을 직접 해보시면 후에 스마트폼을 만들때 도움이 많이 될거라 생각됩니다 .

Hinweis der Redaktion

  1. N/A000124.Ad.Busines plan toolkit.SYY008.SE