Application Development and Automation 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: 
Read only

Urgent

Former Member
0 Likes
1,065

HI All..

How to Create a Internal table inside the SmartForm.

Thanks .

Karan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,021

hi

1) click on the global definitions on the initial screen of the smartforms.

2) u wil see a global data tab where u can enter ur variable name/itab

3) give the type assignment[ type of or type table of].

4) then in associated type, give the type of ur itab.

thus u can declare itab in smartforms

feel free to ask doubts

reward if helpful

regards

mano

in global definition under types tab

declare like this.

types : g_mara like standard table of mara initial size 0.

under global data tab

say

G_MARA type g_mara.

w_mara type mara.

here g_mara is internal table

and w_mara is work area

7 REPLIES 7
Read only

Former Member
0 Likes
1,021

in global definition under types tab

declare like this.

types : g_mara like standard table of mara initial size 0.

under global data tab

say

G_MARA type g_mara.

w_mara type mara.

here g_mara is internal table

and w_mara is work area

Read only

Former Member
0 Likes
1,021

In Global Settings - >Global Definitions -> types. Here u can define the internal table

Read only

Former Member
0 Likes
1,022

hi

1) click on the global definitions on the initial screen of the smartforms.

2) u wil see a global data tab where u can enter ur variable name/itab

3) give the type assignment[ type of or type table of].

4) then in associated type, give the type of ur itab.

thus u can declare itab in smartforms

feel free to ask doubts

reward if helpful

regards

mano

Read only

Former Member
0 Likes
1,021

hi

other way is

rightclick on the window where the internal table is gonna be used. then fellow the path

create-flow logic-programlines.

here u can declare ur itab as u do it in normal report program..

it wil be local to that window.

reward if helpful

regards

mano

Read only

Former Member
0 Likes
1,021

Hi,

Goto Global Definations and in that goto tab Types and in that you can create an internal table as you do in any report programme.

reward if helpful.

rega

Read only

Former Member
0 Likes
1,021

1. What are the different Processes in HR?

2. How is SAP HR Module different from Other Modules?

3. Why do we have ABAP HR specifically?

4. What is an Infotype?

5. What is a Subtype?

6. What are the Number Ranges of Infotypes?

7. What are the Objects/ Programs / Structures Related to a Single Infotype?

8. What are the different Time Constraints?

9. What are the Include Structures in a PAnnnn Table?

10. What are the fields in PAKEY?

11. Name Some Fields of PSHD1

12. What is the Use of SEQNR in the PAKEY?

13. Which Time Constraint Records have relevance for SEQNR?

14. Give Example of usage of OBJPS

15. Explain the different Structures available in HR.

16. What are Q Structures?

17. What are the LDBs available in HR?

18. What are the Advantages of using an LDB?

19. How does the Selection screen of the LDB get attached to the main program?

20. What is a Report Category?

21. Where are the Report Categories stored?

22. What is the feature of MODE N in INFOTYPES command?

23. How would you programmatically fetch the Infotype Records for a PERNR?

24. Is GET PERNR a LOOP?

25. What is the difference between LOOP ENDLOOP and PROVIDE ENDPROVIDE?

26. Explain the Concept of Partial Periods

27. What is the difference between Data Selection Period & Person Selection Period?

28. How do you initialize the LDB Selection Screen to by default Select TODAY?

29. What is the Node you need to call in PNPCE?

30. How do you check the Validity of an Infotype in a Partial Period?

31. What are the different Macros available for PA Infotype Processing?

32. Where are the general HR Macros stored?

33. How do you determine the Country grouping of an Employee when you know the Employee?

34. Where are the Source Codes of the Macros stored?

35. What is the Function Module to Get the HIRE Date of an Employee?

36. What are the Function Modules to Lock and Unlock an Employee for Data Changes?

37. What are the Parameters to be passed to HR_INFOTYPE_OPERATION?

38. How do you lock an Employee for Master Data Changes?

39. What is a Repetitive Structure? How do you evaluate it?

40. How would you fetch the HIRE DATE of an Employee?

41. How do you update and retrieve data from a Cluster?

42. What are the main fields in a Cluster?

43. What would be the KEY Structure in SRTFD?

44. What does GET PAYROLL Event Do?

45. What does the GET PERNR LATE Event Do?

46. What are the main differences between PNP & PNPCE?

47. What is the FM to fetch the RGDIR records of an Employee?

48. Explain the Fields in RGDIR.

49. What is the FM to get the previous record of a particular record in RGDIR?

50. How do you populate the Secondary Tables related to a record of RGDIR?

51. What are the main fields of RT?

52. What are the fields ITXEX and REFEX in PSHD1 used for?

53. What are the different objects used in OM?

54. What is the Transaction code for the Tool to maintain OM Data?

55. What are External Objects?

56. What are the main fields in HRP1001?

57. Explain the fields PLVAR and ISTAT

58. Why is data stored redundantly in both Orders in HRP 1001?

59. Which Tables will have TABNR field?

60. How do you fetch the infotype 1002 data for an object?

61. What is the main node in PCH?

62. What are the main fields of structure OBJEC?

63. Do all HRP Tables have the same key structure?

64. What is the FM to fetch the Manager Position?

65. Which FM do you use to read a HRP Infotype data for an Object? What are its parameters?

66.

Read only

Former Member
0 Likes
1,021

Hi,

In the FORM DEFINITIONS,

there will be one TAB "TYPES".

Under that you can declare the Internal Table as same as in REPORT.

Regards

Sandeep REddy