Screen Field

Hello,
I added a manufacturer part number in the item level of the shopping cart and I did it so by adding the fields in the two structures INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITEM_CSF_SC. Now I can see this field in the shopping cart. When I enter a manufacturer part number in this field I shud populate the product in the item level based on the number entered in this manufactuer part field. For that I had did the BADI implementation in BBP_DOC_CHANGE_BADI and did the code as follows in BBP_SC_CHANGE
METHOD if_ex_bbp_doc_change_badi~bbp_sc_change.
  DATA lv_matnr type matnr.
  DATA wa_item TYPE bbp_pds_sc_item_icu.
  data ws_item type BBPS_SC_ITEM_BADI.
  LOOP AT it_item INTO wa_item.
    IF wa_item-zmro_item1 NE ' '.
      CALL FUNCTION 'Z_RFC_MANUPN'
        DESTINATION 'CLNT134'
        EXPORTING
          mfpnr = wa_item-ZMRO_ITEM1
        IMPORTING
          matnr = lv_matnr.
      wa_item-product = lv_matnr.
      IF lv_matnr NE ' '.
        MODIFY it_item FROM wa_item TRANSPORTING product.
      ENDIF.
    ENDIF.
  ENDLOOP.
ENDMETHOD.
Now when I try to run this It results in anerror. Can any one tell  me what is the error. The error is of type..<b> The exception 'CX_BBP_PD_ABORT' was raised, but it was not caught anywhere
  along
the call hierarchy.</b>
Please help me..
Viky

ATUL,
Here is the dump Details..
Runtime Errors         UNCAUGHT_EXCEPTION
Exception              CX_BBP_PD_ABORT
Date and Time          04/30/2007 22:36:08
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_BBP_PD_ABORT' was raised, but it was not caught anywhere
along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program 'SAPLBBP_PDH' has to be
terminated.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_BBP_PD_ABORT', was not caught and
therefore caused a runtime error.
The reason for the exception is:
Übernehmen
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UNCAUGHT_EXCEPTION" "CX_BBP_PD_ABORT"
"SAPLBBP_PDH" or "LBBP_PDHU08"
"BBP_PD_ABORT"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "NGCNSW01"
Network address...... "192.168.206.199"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "NGCNSW01"
Database type..... "MSSQL"
Database name..... "DS1"
Database user ID.. "ds1"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Nov 13 2006 00:10:30"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "SQL_Server_8.00 "
Patch level. 85
Patch text.. " "
Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory consumption
Roll.... 16192
EM...... 16759360
Heap.... 0
Page.... 770048
MM Used. 12705920
MM Free. 4050144
User and Transaction
Client.............. 150
User................ "CONTRACT01"
Language Key........ "E"
Transaction......... "BBPSC02 "
Program............. "SAPLBBP_PDH"
Screen.............. "SAPLBBP_SC_UI_ITS 2000"
Screen Line......... 44
Information on Caller ofr "HTTP" Connection:
Plug-in Type.......... "HTTP"
Caller IP............. "10.1.30.240"
Caller Port........... 8000
Universal Resource Id. "/sap/bc/gui/sap/its/bbpsc02/~flNUQVRFPTI3ODMyLjAwOC4wNi
4wMQ=="
Information on where terminated
Termination occurred in the ABAP program "SAPLBBP_PDH" - in "BBP_PD_ABORT".
The main program was "SAPLBBP_SC_UI_ITS ".
In the source code you have the termination point in line 73
of the (Include) program "LBBP_PDHU08".
Source Code Extract
Line
SourceCde
43
44
READ TABLE lt_callstack INTO ls_callstack2 INDEX 4.
45
CONCATENATE   '/' ls_callstack2-eventtype
46
ls_callstack2-eventname ls_callstack2-progname
47
INTO lv_msgarg3 SEPARATED BY space.
48
49
CALL FUNCTION 'BBP_ALERT_INTERNAL_OT'
50
EXPORTING
51
msgid   = gc_msgid_bbp_pd
52
msgno   = 047
53
msgarg1 = lv_msgarg1
54
msgarg2 = lv_msgarg2
55
msgarg3 = lv_msgarg3.
56
57
MESSAGE ID gc_msgid_bbp_pd TYPE c_msgty_i NUMBER iv_msg_no
58
WITH ls_callstack1-eventtype
59
ls_callstack1-eventname
60
ls_callstack1-progname.
61
62
rollback work.
63
64
get the messages from the application log
65
TRY.
66
CALL FUNCTION 'BBP_PD_LOG_GET_MESSAGES'
67
TABLES
68
e_messages = lt_messages.
69
CATCH cx_bbp_pd_abort.
70
REFRESH lt_messages.
71
ENDTRY.
72
>>>>>
RAISE EXCEPTION TYPE cx_bbp_pd_abort EXPORTING
74
worked_on_document = lv_guid
75
t100_msgid = gc_msgid_bbp_pd
76
t100_msgno = iv_msg_no
77
t_appl_log_messages = lt_messages.
78
79
ENDFUNCTION.
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
0
SY-TABIX
1
SY-DBCNT
1
SY-FDPOS
40
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SC_CHECK
SY-TITLE
Shop in 3 Steps
SY-MSGTY
S
SY-MSGID
BBP_PD
SY-MSGNO
008
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO
0
SY-DATUM
20070430
SY-UZEIT
223608
SY-XPROG
SAPLSCSMROUTE
SY-XFORM
CONVERSION_EXIT
Active Calls/Events
No.   Ty.          Program                             Include                             Line
Name
13 FUNCTION     SAPLBBP_PDH                         LBBP_PDHU08                            73
BBP_PD_ABORT
12 FORM         SAPLBBP_PD                          LBBP_PDF0P                             10
ABORT
11 FORM         SAPLBBP_PD                          LBBP_PDF3G                             81
BUDGET_SC_CHECK
10 FORM         SAPLBBP_PD                          LBBP_PDF1C                            782
PROCDOC_CROSS_CHECKS
9 FORM         SAPLBBP_PD                          LBBP_PDF10                            265
PROCDOC_DB_CHECK
8 FORM         SAPLBBP_PD                          LBBP_PDF0Q                             77
PROCDOC_CHECK
7 FUNCTION     SAPLBBP_PD                          LBBP_PDU05                             17
BBP_PROCDOC_CHECK
6 FUNCTION     SAPLBBP_PD_SC                       LBBP_PD_SCU07                          11
BBP_PD_SC_CHECK
5 FORM         SAPLBBP_SC_APP                      LBBP_SC_APPF55                         11
SC_CHECK
4 FUNCTION     SAPLBBP_SC_APP                      LBBP_SC_APPU02                        236
BBP_SC_APP_EVENT_DISPATCHER
3 FORM         SAPLBBP_SC_UI_ITS                   LBBP_SC_UI_ITSF05                      37
APP_EVENT_HANDLER
2 FORM         SAPLBBP_SC_UI_ITS                   LBBP_SC_UI_ITSF02                      32
SC_EVENT_DISPATCHER
1 MODULE (PAI) SAPLBBP_SC_UI_ITS                   LBBP_SC_UI_ITSI01                       3
SC_EVENT_DISPATCHER
Chosen variables
Name
Val.
No.      13 Ty.          FUNCTION
Name  BBP_PD_ABORT
IT_MESSAGE
Table[initial]
IV_MSG_NO
001
333
001
000
000
C_IS_CONTACT_PERSON
BUR001
455333
252001
000000
000000
LT_MESSAGES
Table IT_15839[1x1002]
FUNCTION=BBP_PD_ABORTDATA=LT_MESSAGES
Table reference: 899
TABH+  0(20) = 10F69157FE07000050D36E57FE07000000000000
TABH+ 20(20) = 83030000DF3D000001000000EA030000FFFFFFFF
TABH+ 40(16) = 04970000003B000001000000C1248401
store        = 0x10F69157FE070000
ext1         = 0x50D36E57FE070000
shmId        = 0     (0x00000000)
id           = 899   (0x83030000)
label        = 15839 (0xDF3D0000)
fill         = 1     (0x01000000)
leng         = 1002  (0xEA030000)
loop         = -1    (0xFFFFFFFF)
xtyp         = TYPE#000300
occu         = 1     (0x01000000)
access       = 1     (ItAccessStandard)
idxKind      = 0     (ItIndexNone)
uniKind      = 2     (ItUniqueNon)
keyKind      = 1     (default)
cmpMode      = 2     (cmpSingleMcmpR)
occu0        = 1
groupCntl    = 0
rfc          = 0
unShareable  = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId  = 0
gcKind       = 0
isUsed       = 1
isCtfyAble   = 1
>>>>> Shareable Table Header Data <<<<<
tabi         = 0x00BE4157FE070000
pgHook       = 0x0000000000000000
idxPtr       = 0x0000000000000000
shmTabhSet   = 0x0000000000000000
id           = 10628 (0x84290000)
refCount     = 1     (0x01000000)
tstRefCount  = 0     (0x00000000)
lineAdmin    = 1     (0x01000000)
lineAlloc    = 1     (0x01000000)
shmVersId    = 0     (0x00000000)
shmRefCount  = 2     (0x02000000)
>>>>> 1st level extension part <<<<<
regHook      = 0x0000000000000000
collHook     = 0x0000000000000000
ext2         = 0xB0548057FE070000
>>>>> 2nd level extension part <<<<<
tabhBack     = 0xE0902C57FE070000
delta_head   = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func      = 0x0000000000000000
pb_handle    = 0x0000000000000000
SYST-REPID
SAPLBBP_PDH
5454445554422222222222222222222222222222
310C220F04800000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
%_DUMMY$$
2222
0000
0000
0000
SY
######################(##################################################### #####ÿ#####XC####
00000000000000000000002000000000000000E0000000002000000000000000000000000000208000F000BF540000
00001010000000000000108010001000000000A000000000C030100000000000000000000000000000F0000F830100
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000BF000000
000000000000000000000000000000000000003000000000100000000000000000000000000000000000009F00000C
%_EXCP
5000A000
1000E000
LV_GUID
22222222222222222222222222222222
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
GC_MSGID_BBP_PD
BBP_PD
44555422222222222222
220F0400000000000000
00000000000000000000
00000000000000000000
No.      12 Ty.          FORM
Name  ABORT
%_DUMMY$$
2222
0000
0000
0000
No.      11 Ty.          FORM
Name  BUDGET_SC_CHECK
LT_BUDGET_LINES
########DS1CLNT150
000000004534445333222222222222222222222222
000000004313CE4150000000000000000000000000
000000000000000000000000000000000000000000
000000000000000000000000000000000000000000
C_DATA_SOURCE_PO
0SRM_TD_PO
355455455422222222222222222222
032DF44F0F00000000000000000000
000000000000000000000000000000
000000000000000000000000000000
LT_ITEM_PR-BE_LOG_SYSTEM
DS1CLNT150
4534445333
4313CE4150
0000000000
0000000000
%_SPACE
2
0
0
0
C_INVOICE
BUS2205
4553333222
2532205000
0000000000
0000000000
C_CONTACT
0007
3333
0007
0000
0000
LV_OWN_LOGSYS
DS1CLNT100
4534445333
4313CE4100
0000000000
0000000000
C_A_OR_TRANS_CHA
ORAU
4545
F215
0000
0000
C_A_LA_PUBLISH
LAPU
4455
C105
0000
0000
C_A_CTR_RENEW_FINISH
CTRF
4554
3426
0000
0000
GC_OBJECTNAME_REPORTING
CL_CRM_REPORT_EXT_ACTIVITY_H  CL_CRM_REPORT_SET_APPOINTMENT CL_CRM_REPORT_SET_APPOINT_I   CL_C
4454545545455545554454545554224454545545455554554554445444524454545545455554554554445542224454
3CF32DF250F24F584F13496949F8003CF32DF250F24F354F100F9E4D5E403CF32DF250F24F354F100F9E4F90003CF3
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
C_DATA_SOURCE_PO_ACC
0SRM_TD_PO_ACC
355455455454442222222222222222
032DF44F0FF1330000000000000000
000000000000000000000000000000
000000000000000000000000000000
IT_ORGDATA[]
Table IT_15324[0x124]
FUNCTION-POOL=BBP_PDFORM=PROCDOC_CROSS_CHECKSDATA=LT_ORGDATA[]
Table reference: 906
TABH+  0(20) = 0000000000000000D0248157FE07000000000000
TABH+ 20(20) = 8A030000DC3B0000000000007C000000FFFFFFFF
TABH+ 40(16) = 047E00006032000010000000C1248001
store        = 0x0000000000000000
ext1         = 0xD0248157FE070000
shmId        = 0     (0x00000000)
id           = 906   (0x8A030000)
label        = 15324 (0xDC3B0000)
fill         = 0     (0x00000000)
leng         = 124   (0x7C000000)
loop         = -1    (0xFFFFFFFF)
xtyp         = TYPE#000254
occu         = 16    (0x10000000)
access       = 1     (ItAccessStandard)
idxKind      = 0     (ItIndexNone)
uniKind      = 2     (ItUniqueNon)
keyKind      = 1     (default)
cmpMode      = 2     (cmpSingleMcmpR)
occu0        = 1
groupCntl    = 0
rfc          = 0
unShareable  = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId  = 0
gcKind       = 0
isUsed       = 1
isCtfyAble   = 1
>>>>> Shareable Table Header Data <<<<<
tabi         = Not allocated
pghook       = Not allocated
idxPtr       = Not allocated
shmTabhSet   = Not allocated
id           = Not allocated
refCount     = Not allocated
tstRefCount  = Not allocated
lineAdmin    = Not allocated
lineAlloc    = Not allocated
shmVersId    = Not allocated
shmRefCount  = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook      = 0x0000000000000000
collHook     = 0x0000000000000000
ext2         = 0x3098C957FE070000
>>>>> 2nd level extension part <<<<<
tabhBack     = 0x209BD757FE070000
delta_head   = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func      = 0x0000000000000000
pb_handle    = 0x0000000000000000
IT_ORGDATA
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.
22200000000000000002222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000
SY-REPID
SAPLBBP_PD
5454445554222222222222222222222222222222
310C220F04000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
C_SUBTYPE_IV
IV
45
96
00
00
LT_ITEM_PR-GUID
9#Ä# y#F¼#_#²íÏÆ
31C02704B850BECC
9F420986C2F32DF6
C_SUBTYPE_IV_OLD
22
00
00
00
C_OFF
2
0
0
0
C_CFR_QUEUEID
CFR
445
362
000
000
SY-SUBRC
0
0000
0000
SYST-REPID
SAPLBBP_PD
5454445554222222222222222222222222222222
310C220F04000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
C_XMLDISPATCHER
XDP
545
840
000
000
LT_ITEM_PR
############CONTRACT01  ####CONTRACT01  BUS2121001FF                                      #
2223C20B5BC07144445544533220714444554453322455333333344222222222222222222222222222222222222229
0009408CF2F20043FE42134010020043FE42134010025321210016600000000000000000000000000000000000000F
000107480EC0522000000000000052200000000000000000000000000000000000000000000000000000000000000B
000F29623D6003C000000000000003C000000000000000000000000000000000000000000000000000000000000001
LT_BUDGET_LINES-TARGET_OBJECT
2222222222
0000000000
0000000000
0000000000
C_DATA_SOURCE_BIDDER
0SRM_TD_BIDDER
355455454444452222222222222222
032DF44F2944520000000000000000
000000000000000000000000000000
000000000000000000000000000000
C_A_AUCTIONING
AUGO
4544
157F
0000
0000
C_A_CS_TEMPLATE
SCVO
5454
336F
0000
0000
No.      10 Ty.          FORM
Name  PROCDOC_CROSS_CHECKS
LT_LIMIT[]
Table IT_15323[0x342]
FUNCTION-POOL=BBP_PDFORM=PROCDOC_CROSS_CHECKSDATA=LT_LIMIT[]
Table reference: 898
TABH+  0(20) = 0000000000000000605B6E57FE07000000000000
TABH+ 20(20) = 82030000DB3B00000000000056010000FFFFFFFF
TABH+ 40(16) = 047E00000032000010000000C1308001
store        = 0x0000000000000000
ext1         = 0x605B6E57FE070000
shmId        = 0     (0x00000000)
id           = 898   (0x82030000)
label        = 15323 (0xDB3B0000)
fill         = 0     (0x00000000)
leng         = 342   (0x56010000)
loop         = -1    (0xFFFFFFFF)
xtyp         = TYPE#000252
occu         = 16    (0x10000000)
access       = 1     (ItAccessStandard)
idxKind      = 0     (ItIndexNone)
uniKind      = 2     (ItUniqueNon)
keyKind      = 1     (default)
cmpMode      = 8     (cmpManyEq)
occu0        = 1
groupCntl    = 0
rfc          = 0
unShareable  = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId  = 0
gcKind       = 0
isUsed       = 1
isCtfyAble   = 1
>>>>> Shareable Table Header Data <<<<<
tabi         = Not allocated
pghook       = Not allocated
idxPtr       = Not allocated
shmTabhSet   = Not allocated
id           = Not allocated
refCount     = Not allocated
tstRefCount  = Not allocated
lineAdmin    = Not allocated
lineAlloc    = Not allocated
shmVersId    = Not allocated
shmRefCount  = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook      = 0x0000000000000000
collHook     = 0x0000000000000000
ext2         = 0x400C5457FE070000
>>>>> 2nd level extension part <<<<<
tabhBack     = 0x404BD257FE070000
delta_head   = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func      = 0x0000000000000000
pb_handle    = 0x0000000000000000
LT_LIMIT
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1. ####     ########
2220000000000000000000020000222220000000022222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000C0000C000000000000000000000000000000000000000000000000000000000000000000
L_HEADER
########1000000257SHC 20070430CONTRACT01 04/30/2007 22:33             EDS1CLNT150SRM_SE 550
2229EFF90CA33333333335442333333334445544533233233233332333332222222222222445344453335545542333
000F93834F510000002573830200704303FE4213401004F30F2007022A33000000000000054313CE415032DF350550
000B2D44B7100000000000000000000000000000000000000000000000000000000000000000000000000000000000
0001090E4F700000000000000000000000000000000000000000000000000000000000000000000000000000000000
LV_SC_BUDGET_CHECK
X
5
8
0
0
SY-XPROG
SAPLSCSMROUTE
5454545454554222222222222222222222222222
310C333D2F545000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
C_PRINTCONVERSION
PCO
544
03F
000
000
%_PRINT
000                                                                                0###
2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
LT_ITEM[]
Table IT_15322[1x5848]
FUNCTION-POOL=BBP_PDFORM=PROCDOC_CROSS_CHECKSDATA=LT_ITEM[]
Table reference: 904
TABH+  0(20) = 903A9757FE070000900E2D57FE07000000000000
TABH+ 20(20) = 88030000DA3B000001000000D8160000FFFFFFFF
TABH+ 40(16) = 047E0000502D000002000000C1308401
store        = 0x903A9757FE070000
ext1         = 0x900E2D57FE070000
shmId        = 0     (0x00000000)
id           = 904   (0x88030000)
label        = 15322 (0xDA3B0000)
fill         = 1     (0x01000000)
leng         = 5848  (0xD8160000)
loop         = -1    (0xFFFFFFFF)
xtyp         = TYPE#000227
occu         = 2     (0x02000000)
access       = 1     (ItAccessStandard)
idxKind      = 0     (ItIndexNone)
uniKind      = 2     (ItUniqueNon)
keyKind      = 1     (default)
cmpMode      = 8     (cmpManyEq)
occu0        = 1
groupCntl    = 0
rfc          = 0
unShareable  = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId  = 0
gcKind       = 0
isUsed       = 1
isCtfyAble   = 1
>>>>> Shareable Table Header Data <<<<<
tabi         = 0xD01CD857FE070000
pgHook       = 0x0000000000000000
idxPtr       = 0x0000000000000000
shmTabhSet   = 0x0000000000000000
id           = 10300 (0x3C280000)
refCount     = 0     (0x00000000)
tstRefCount  = 0     (0x00000000)
lineAdmin    = 2     (0x02000000)
lineAlloc    = 2     (0x02000000)
shmVersId    = 0     (0x00000000)
shmRefCount  = 1     (0x01000000)
>>>>> 1st level extension part <<<<<
regHook      = 0x0000000000000000
collHook     = 0x0000000000000000
ext2         = 0xA026C957FE070000
>>>>> 2nd level extension part <<<<<
tabhBack     = 0xE03AD257FE070000
delta_head   = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func      = 0x0000000000000000
pb_handle    = 0x0000000000000000
LT_ITEM
############CONTRACT01  ####CONTRACT01  BUS2121001FF                                      #
2223C20B5BC07144445544533220714444554453322455333333344222222222222222222222222222222222222229
0009408CF2F20043FE42134010020043FE42134010025321210016600000000000000000000000000000000000000F
000107480EC0522000000000000052200000000000000000000000000000000000000000000000000000000000000B
000F29623D6003C000000000000003C000000000000000000000000000000000000000000000000000000000000001
LT_ACC[]
Table IT_15320[0x816]
FUNCTION-POOL=BBP_PDFORM=PROCDOC_CROSS_CHECKSDATA=LT_ACC[]
Table reference: 905
TABH+  0(20) = 0000000000000000C007B557FE07000000000000
TABH+ 20(20) = 89030000D83B00000000000030030000FFFFFFFF
TABH+ 40(16) = 047E0000302F000010000000C1308001
store        = 0x0000000000000000
ext1         = 0xC007B557FE070000
shmId        = 0     (0x00000000)
id           = 905   (0x89030000)
label        = 15320 (0xD83B0000)
fill         = 0     (0x00000000)
leng         = 816   (0x30030000)
loop         = -1    (0xFFFFFFFF)
xtyp         = TYPE#000237
occu         = 16    (0x10000000)
access       = 1     (ItAccessStandard)
idxKind      = 0     (ItIndexNone)
uniKind      = 2     (ItUniqueNon)
keyKind      = 1     (default)
cmpMode      = 8     (cmpManyEq)
occu0        = 1
groupCntl    = 0
rfc          = 0
unShareable  = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId  = 0
gcKind       = 0
isUsed       = 1
isCtfyAble   = 1
>>>>> Shareable Table Header Data <<<<<
tabi         = Not allocated
pghook       = Not allocated
idxPtr       = Not allocated
shmTabhSet   = Not allocated
id           = Not allocated
refCount     = Not allocated
tstRefCount  = Not allocated
lineAdmin    = Not allocated
lineAlloc    = Not allocated
shmVersId    = Not allocated
shmRefCount  = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook      = 0x0000000000000000
collHook     = 0x0000000000000000
ext2         = 0xE0147957FE070000
>>>>> 2nd level extension part <<<<<
tabhBack     = 0x109AD757FE070000
delta_head   = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func      = 0x0000000000000000
pb_handle    = 0x0000000000000000
LT_ACC
##################0000      ########                                   0000000000
2220000000000000000003333222222000000002222222222222222222222222222222222233333333332222222222
00000000000000000000C0000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
LT_ACC_ACTVAL[]
Table IT_15321[0x152]
FUNCTION-POOL=BBP_PDFORM=PROCDOC_CROSS_CHECKSDATA=LT_ACC_ACTVAL[]
Table reference: 908
TABH+  0(20) = 00000000000000004062D257FE07000000000000
TABH+ 20(20) = 8C030000D93B00000000000098000000FFFFFFFF
TABH+ 40(16) = 047E0000903E000010000000C1308001
store        = 0x0000000000000000
ext1         = 0x4062D257FE070000
shmId        = 0     (0x00000000)
id           = 908   (0x8C030000)
label        = 15321 (0xD93B0000)
fill         = 0     (0x00000000)
leng         = 152   (0x98000000)
loop         = -1    (0xFFFFFFFF)
xtyp         = TYPE#000319
occu         = 16    (0x10000000)
access       = 1     (ItAccessStandard)
idxKind      = 0     (ItIndexNone)
uniKind      = 2     (ItUniqueNon)
keyKind      = 1     (default)
cmpMode      = 8     (cmpManyEq)
occu0        = 1
groupCntl    = 0
rfc          = 0
unShareable  = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId  = 0
gcKind       = 0
isUsed       = 1
isCtfyAble   = 1
>>>>> Shareable Table Header Data <<<<<
tabi         = Not allocated
pghook       = Not allocated
idxPtr       = Not allocated
shmTabhSet   = Not allocated
id           = Not allocated
refCount     = Not allocated
tstRefCount  = Not allocated
lineAdmin    = Not allocated
lineAlloc    = Not allocated
shmVersId    = Not allocated
shmRefCount  = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook      = 0x0000000000000000
collHook     = 0x0000000000000000
ext2         = 0x90262A57FE070000
>>>>> 2nd level extension part <<<<<
tabhBack     = 0x409DD757FE070000
delta_head   = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func      = 0x0000000000000000
pb_handle    = 0x0000000000000000
LT_ACC_ACTVAL
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.   ################################
0000000000000000000000000000000000002220000000000000000000000000000000022222
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000C000C000C000C000C000C000C000000C000C000C000C000C000C000C000C00000
LT_PARTNER[]
Table IT_15325[0x4212]
FUNCTION-POOL=BBP_PDFORM=PROCDOC_CROSS_CHECKSDATA=LT_PARTNER[]
Table reference: 920
TABH+  0(20) = 000000000000000070E32C57FE07000000000000
TABH+ 20(20) = 98030000DD3B00000000000074100000FFFFFFFF
TABH+ 40(16) = 047E0000C02F000002000000C1308001
store        = 0x0000000000000000
ext1         = 0x70E32C57FE070000
shmId        = 0     (0x00000000)
id           = 920   (0x98030000)
label        = 15325 (0xDD3B0000)
fill         = 0     (0x00000000)
leng         = 4212  (0x74100000)
loop         = -1    (0xFFFFFFFF)
xtyp         = TYPE#000240
occu         = 2     (0x02000000)
access       = 1     (ItAccessStandard)
idxKind      = 0     (ItIndexNone)

Similar Messages

  • Unable to capture screen fields in eCATT

    Problem description 1 : Unable to capture screen fields in eCATT
    Recording using SAP GUI Method.
    Problem description 2 :Unable to capture Tab controls while recording
    in eCATT using SAP GUI Method.
    Thaks for any suggestion you could provide me and once again for your courtesy attention.
    Regards,
    Eric Monteiro

    Hi Phani,
    Please try below code:
    *data declaration for reading values given by user in the selection screen field.
      DATA: BEGIN OF i_tab OCCURS 0.
              INCLUDE STRUCTURE rsselread.
      DATA: END OF i_tab.
      MOVE: 'LOGSYS' TO i_tab-name,
            'P' TO i_tab-kind. u201CP For parameter
      APPEND i_tab.
      MOVE: 'GP_SIMVE' TO i_tab-name,
            'P' TO i_tab-kind. u201CCheck if field is Parameter
      APPEND i_tab.
    *move program name and screen number into local variable.
      l_prog = sy-repid. u201C(Try by directly passing program name also)
      l_dynnr = sy-dynnr. u201C(Try by directly passing Screen number also)
    *calling function module to get the value given by user.
      CALL FUNCTION 'RS_SELECTIONSCREEN_READ'
        EXPORTING
          program     = l_prog
          dynnr       = l_dynnr
        TABLES
          fieldvalues = i_tab.
    Hope this should slove your issue.
    Thanks & Regards,
    Gaurav.

  • How to create a F4 help for a report selection screen field

    hi,
    can any one guide me to create F4 help for a field in a selection screen in a report program,plz give me a sample code

    hi,
    Here are the following ways
    1.with the help of match code objects we can create the F4 Functionality for Field.
    Syntax is :
    PARAMETERS: p_org LIKE t527x-orgeh MATCHCODE OBJECT zorg.
    2. One more thing is we can do it with Search Help's also.
    3. Even we can do it HELP Views also.
    Help Views:
    You have to create a help view if a view with outer join is needed as selection method of a search help
    The selection method of a search help is either a table or a view. If you have to select data from several tables for the search help, you should generally use a database view as selection method. However, a database view always implements an inner join. If you need a view with outer join for the data selection, you have to use a help view as selection method.
    All the tables included in a help view must be linked with foreign keys. Only foreign keys that have certain attributes can be used here. The first table to be inserted in the help view is called the primary table of the help view. The tables added to this primary table with foreign keys are called secondary tables.
    The functionality of a help view has changed significantly between Release 3.0 and Release 4.0. In Release 3.0, a help view was automatically displayed for the input help (F4 help) for all the fields that were checked against the primary table of the help view. This is no longer the case in Release 4.0.
    As of Release 4.0, you must explicitly create a search help that must be linked with the fields for which it is offered (see Linking Search Helps with Screen Fields ).
    Existing help views are automatically migrated to search helps when you upgrade to a release higher than 4.0.
    A help view implements an outer join, i.e. all the contents of the primary table of the help view are always displayed. You therefore should not formulate a selection condition for fields in one of the secondary tables of the help view. If records of these secondary tables cannot be read as a result of this selection condition, the contents of the corresponding fields of the secondary table are displayed with initial value.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 15, 2008 3:15 PM

  • Truncation of selection screen field in reports

    Hi,
    Is there any way to avoid truncation of selection screen fields in ABAP reports? For eg, I declare:
    SELECT-OPTIONS: s_test FOR ztest-test_field NO INTERVALS
    The length of this field in the table is 30 chars. However, on displaying the field via selection screen, this gets truncated to around 18 or so. How do I avoid this as I need to display the full length of the field?

    Hi,
    Try this
    Tables : makt.
    select-options maknr for makt-maktx.
    now go to the screen painter of your program in change mode and move the Help buttons first to the Right each. now increasethe length of the Matnr Field length so that they are equal to 40 Char. in your program you have handle the length now if you want to restrict to 18 otherwise it will be ok
    if they don't fit you need incease the Size of the Screen Visible area both in the Screen Painter as well as in the
    Screen Attributes
    You also get an Information Message just ignore that.
    Just open your program in SE80 if you can't go to the screen painter in SE38. the other way just keep this program in Display mode and execute then take F1 help , take Technical Information and double click on the Screen number now go to the Screen Layout and go to Change mode here.
    Regards,
    Shirisha

  • Regarding Search help on selection-screen field

    Hi there,
    I am working on custom tables.
    I have a requirement to maintain search pattern on a selection-screen field.
    selection-screen parameter: p_name which is company name filed from Z table.
    By giving a string like Holl* and by  pressing F4 on the field p_name it has to popup a dialogbox having list of company names starting with Holl.
    Thanks in advance.
    -Tulasi

    Hi
    Go through the link given below :
    How to create a search help for my own fields in selection screen
    F4 search help on report selection screen
    also try :
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'VKORG'
    PVALKEY = ' '
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_VKORG'
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'C'
    TABLES
    VALUE_TAB = T_TABLE1
    FIELD_TAB = field_tab
    RETURN_TAB = RET_TAB
    DYNPFLD_MAPPING = DYN_TAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    With Regards
    Nikunj shah

  • Selection screen field problem

    Hello experts..
    i have a selection screen , in that i have a field   s_bwart for mseg-bwart.
    some times the user will input the data in the field and sometimes he wont. we have fixed movement types combination like
    11-21 , 13-24 , 13-56 , 101-543 , 101-544 etc.
    if the user did not input any thing in the selection screen , i am populating s_bwart in at-selection screen event with all the mvt types. after executing the report when user presses the back button to come to the selection screen, there the s_bwart field is containing all the mvt types in single values ie in the select options screen. So the user dont want that, if he comes back nothing should be there in the selection screen field s_bwart if he has not inputted anything. if he inputs only 11 mvt type then when he comes back after executing the report he should see only 11 in the select screen field ie s_bwart. Please send the replies on how to solve the problem.

    hi,
    in ur program try to display values for users in START-OF-SELECTION event as it triggers after the selection screen displayed for users. if user doesn't give any input then display default values in this event. and also create a variable
    for ex:
    data: ws_flag type c,
             p_value type i.
    after u display default values for users in selection screen assign the flag as ' X '
    ws_flag = 'X'.
    before leaving ur program based on flag try to do like this.
    if ws_flag = ' X '.
        clear s_data. // s_data is the select options for u.
    else.
         s_data = p_value. // the value which user gave in selection screen as i/p.
    endif.
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • Regarding Selection-Screen Field Display

    Hi All,
    I have issues with Selection-Screen field display.
    The Actual issue is i had declared a selection screen field as: <b>s_exgen FOR embk-exgen</b>.
    <b>EMBK-EXGEN</b> is actually <b>20</b> Char length field.
    But in output display it is being shown as <b>18</b> Char field though i can type in all <b>20</b> characters.
    But <b>display</b> restricted to <b>18</b> Characters only.
    Can anybody give me the solution for the same!
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Hi,
    You can decrease the visible length of the field but you can not increase more than database field length. check SAP help on this :
    select-options: s_exgen FOR embk-exgen VISIBLE LENGTH 5.
    ... VISIBLE LENGTH vlen
    Effect
    This addition allows you to shorten the visible length of the corresponding screen field on the selection screen to vlen.
    Variant 2
    SELECT-OPTIONS sel FOR (f).
    Additions as in variant 1.
    Effect
    In this variant, (f) must be a field containing the name of the actual reference field at runtime. The system creates the LOW and HIGH fields as character fields with length 45. However, their appearance on the selection <b>screen is inherited from the reference field whose name is contained in field f at runtime.</b>
    Regards
    Appana

  • Hiding Screen fields in a Report selection screen

    Hi Experts,
    I have a requirement to hide/disable  screen fields in a report selection screen when the user clicks on some radio buttons .
    Here is the scenario,
    1) There are 4 radio buttons four radiobuttons in one group on the selection screen:--  
    Block no:1
    PARAMETER: r_not  TYPE c RADIOBUTTON GROUP a1 DEFAULT 'X'.
    PARAMETER: r_prgs TYPE c RADIOBUTTON GROUP a1.
    PARAMETER: r_remv TYPE c RADIOBUTTON GROUP a1.
    PARAMETER: r_noresp TYPE c RADIOBUTTON GROUP a1.
    2) Based on the user clicking/selecting the radio buttons no.2,3 nad 4 i need to hide some fields in the other selection block
    in the selection screen.The parameters are as follows:
    Block no:2( These fields need to be hidden/disabled)
    PARAMETER: r_occ(3) TYPE c OBLIGATORY DEFAULT '1'.
    PARAMETER: r_and TYPE c RADIOBUTTON GROUP g1.
    PARAMETER: r_or  TYPE c RADIOBUTTON GROUP g1.
    PARAMETER: r_days(3) TYPE c OBLIGATORY DEFAULT '1'.
    Thanks

    Contd.....
    AT SELECTION-SCREEN.
      CASE SSCRFIELDS-UCOMM.   
          "When Customer button is clicked set flag 1
        WHEN 'FC01'.
          L_FLAG = '1'.
          "When Sales Order button is clicked set flag 2
        WHEN 'FC02'. "Sales order
          L_FLAG = '2'.
          "When Execute button is clicked set flag 4
        WHEN OTHERS.
          L_FLAG = '4'.
      ENDCASE.
    AT SELECTION-SCREEN OUTPUT.
    CASE L_FLAG.
        WHEN '1'.  "When Customer button is clicked
          LOOP AT SCREEN.
            "Set the Production and Customer Block as inactive
            IF  SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL3'.
              SCREEN-ACTIVE = '0'.
              MODIFY SCREEN.
            ENDIF.
          ENDLOOP.
        WHEN '2'. "When Sales Order button is clicked
          LOOP AT SCREEN.
            "Set the Production and Customer Block as inactive
            IF  SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL2'.
              SCREEN-ACTIVE = '0'.
              MODIFY SCREEN.
            ENDIF.
          ENDLOOP.
        WHEN '3'.   "When Refresh button is clicked
          LOOP AT SCREEN.
            "Set the all Blocks as active
           IF  SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3' OR SCREEN-GROUP1 = 'BL1'.
              SCREEN-ACTIVE = '1'.
              MODIFY SCREEN.
            ENDIF.
          ENDLOOP.
        WHEN OTHERS."When Execute button is clicked
          "Set the Sales order and Customer Block as inactive
          LOOP AT SCREEN.
            IF  SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3'.
              SCREEN-ACTIVE = '0'.
              MODIFY SCREEN.
            ENDIF.
          ENDLOOP.
      ENDCASE.
    ENDFORM.      

  • Populating the screen field when the cursor moves to that field

    hi every one,
    I want to populate the screen field(MODULE POOL) When the cursor moves to that field.
    So can any one help me out with this.
    EXAMPLE..
    I want to populate 'S10_TOT_PRICE' (Total Price). When the fields like 'S10_PIECES' (Number of Pieces) will be entered. I want to populate 'S10_TOT_PRICE'  without pressing any button on the screen nor when enter is hit. When the field 'S10_PIECES''  will be entered with some value and the cursor moves to 'S10_TOT_PRICE' . The Total Price field should be populated. Please help me out with this.
    THANKS & REGARDS.
    Mahanta.
    POINTS WILL BE REWARDED.

    Sorry but look at this SAP documentation <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/54/0608162d0711d295520000e8353423/frameset.htm">User Actions on Screens</a>
    Extract :
    <i>User Actions on Screens
    There are various ways in which users can interact with screens.
    Filling Input Fields
    Users can enter values in any input field on the screen, or change the value using the mouse, in the case of radio buttons and checkboxes. The contents are placed in the corresponding screen field. Filling an input field does not normally trigger the PAI event. Exceptions to this are Checkboxes and Radio Buttons with Function Codes and input fields with Drop Down Boxes.</i>
    So, i fear that you cannot "take hand" when user fill a numerical field to perform calculations and update the screen.
    Regards

  • Selection screen fields

    Hi,
    I want to group the selection screen fields. where should i group.
    I want to group using the modif Id
    T Y P E S
    TYPES:
    BEGIN OF TYVBAK,
    VBELN TYPE VBAK-VBELN,
    AUART TYPE VBAK-AUART,
    AUDAT TYPE VBAK-AUDAT,
    KUNNR TYPE VBAK-KUNNR,
    NETWR TYPE VBAK-NETWR,
    END OF TYVBAK.
    D A T A      D E C L A R A T I O N S
    DATA:
    STVBAK TYPE TYVBAK,
    ITVBAK TYPE TABLE OF TYVBAK.
    S E L E C T I O N    S C R E E N
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
    SKUNNR FOR STVBAK-KUNNR.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS:
    SVBELN FOR STVBAK-VBELN,
    SAUDAT FOR STVBAK-AUDAT.
    SELECTION-SCREEN END OF BLOCK B2.
    I N I T I A L I Z A T I O N
    *INITIALIZATION.
    FILLING SELECT OPTIONS WITH DEFAULTS
    SKUNNR-SIGN = 'I'.
    SKUNNR-OPTION = 'BT'.
    SKUNNR-LOW    = '1'.
    SKUNNR-HIGH   = '4000000'.
    APPEND SKUNNR.
    T O P   O F  P A G E
    TOP-OF-PAGE.
    WRITE:/1'SALES DOC',12 'DOC TYPE',20 'SALES DATE',32 'NETWORTH',60 'CUSTOMER'.
    *A T   S E L E C T I O N    S C R E E N    O U T P U T .
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'SVBELN-LOW'.
    SCREEN-INPUT = 0.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-NAME = 'SVBELN-HIGH'.
    SCREEN-INPUT = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    where should i group SBVELN and SAUDAT

    Hi
    Instead of SCREEN-NAME use SCREEN-GROUP1 and for your select options give MODIF ID.
    As follows
    SELECTION-OPTIONS: selcrt for dobj MODIF ID MOD1.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    CHECK SCREEN-GROUP1 = 'MOD1.
    SCREEN-REQUIRED = 1.
    MODIFY SCREEN.
    ENDLOOP.
    This is COZ when you use select-options you get TWO fileds on the INPUT screen LOW and HIGH so you have to check for selcrit-low and selctri-high you can avoid all this my assigning a MODIF ID.
    See this sample programs for this
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: pa_file TYPE rlgrap-filename MODIF ID abc,
    pa_lifnr TYPE lfa1-lifnr MODIF ID abc,
    pa_vkorg TYPE vbak-vkorg MODIF ID abc.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: pa_kunnr TYPE vbak-kunnr MODIF ID def.
    SELECT-OPTIONS: s_lifnr FOR gs_lfa1-lifnr MODIF ID def,
    s_date FOR gs_lfa1-erdat MODIF ID def,
    s_augru FOR gs_vbak-augru MODIF ID def,
    s_vbeln FOR gs_vbak-vbeln MODIF ID def.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_upd RADIOBUTTON GROUP g1 USER-COMMAND uc01 DEFAULT 'X'."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-004 FOR FIELD pa_upd.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_rep RADIOBUTTON GROUP g1 ."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-005 FOR FIELD pa_rep.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b3.
    IF pa_rep EQ gc_x.
    LOOP AT SCREEN.
    IF screen-group1 = gc_abc.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_def.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ELSEIF pa_upd EQ gc_x.
    *For Reprocessing
    LOOP AT SCREEN.
    IF screen-group1 = gc_def.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_abc.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    CLEAR pa_upd.
    ENDLOOP.
    ENDIF.
    REPORT zrich_001.
    PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X'
    user-command chk,
    p_rad2 RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_datum1 FOR sy-datum MODIF ID d1,
    s_datum2 FOR sy-datum MODIF ID d2.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF p_rad1 = 'X'
    AND screen-group1 = 'D2'.
    screen-active = '0'.
    ENDIF.
    IF p_rad2 = 'X'
    AND screen-group1 = 'D1'.
    screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP

  • How to schedule the background job using current selection screen field val

    Hello Friends,
    How to schedule the background job using current selection screen field values.
    after completion of the job the spool should be sent as a mail to SAP Inbox.
    Is there any way to create the variant dynamically by reading the current selection screen values.
    Thanks,
    Ravi

    Hi,
    To get the variant details you can use teh following FM.
    'RS_VARIANT_CONTENTS'.
    Regards,
    Ankur Parab

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • F4 Help for the selection screen field

    Hi Gurus,
    I have to display F4 help for a selection screen field. i am using following code:
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
             EXPORTING
                  retfield        = 'CODE'
                  dynpprog        = lw_repid
                  dynpnr          = sy-dynnr
                  VALUE_ORG       = 'S'
             TABLES
                  value_tab       = gi_text
                 field_tab       = li_fields_tab
                  return_tab      = pi_return_tab
             EXCEPTIONS
                  parameter_error = 1
                  no_values_found = 2
                  OTHERS          = 3.
    My internal table gi_emp has two fields CODE & TEXT. When i select 1 particular value, it returns the CODE value in the pi_return_tab table.
    But my requirement is i have to capture the corresponding TEXT value for the Returned CODE. Ex: following is the F4 help being displayed: -
    001    test
    001    test1
    but is i select code 001(First Value), i also need to capture it's corresponding Text value. In return table pi_return_tab i have only Code value.
    Please help me out.
    Note: Based on return code i can't search into the internal table gi_code, because as shown in the example, code has multiple text.

    Sachin,
    I think this is what you need. The following code will return the key and the text (OR any other columns), if both columns are in the selection screen the selected values (both columns) will also be passed to the corresponding parameters. If you only need the text to be in the return table and not passed to the selection screen then set the parameter for text with NO-DISPLAY option.
    REPORT zktest01 .
    DATA :
      BEGIN OF value_tab OCCURS 0,
        field  LIKE e070-trkorr,
        text   LIKE e07t-as4text,
      END OF value_tab.
    DATA: t_fldtab LIKE dfies OCCURS 0 WITH HEADER LINE,
          t_rettab LIKE ddshretval OCCURS 0 WITH HEADER LINE,
          t_dynmap LIKE dselc OCCURS 0 WITH HEADER LINE.
    PARAMETERS : p_field  LIKE value_tab-field,
                 p_text   LIKE value_tab-text. "NO-DISPLAY.
    INITIALIZATION.
      t_fldtab-tabname   = 'VALUE_TAB'.
      t_fldtab-fieldname = 'FIELD'.
      t_fldtab-langu     = 'E'.
      t_fldtab-position  = 1.
      t_fldtab-offset    = 0.
      t_fldtab-fieldtext = 'Key'.
      t_fldtab-reptext   = 'Key'.
      t_fldtab-leng      = 20.
      t_fldtab-intlen    = 20.
      t_fldtab-outputlen = 20.
      t_fldtab-datatype  = 'CHAR'.
      t_fldtab-inttype   = 'C'.
      t_fldtab-headlen   = 20.
      t_fldtab-keyflag   = 'X'.
      t_fldtab-lowercase = ' '.
      APPEND t_fldtab.
      t_fldtab-tabname   = 'VALUE_TAB'.
      t_fldtab-fieldname = 'TEXT'.
      t_fldtab-position  = 2.
      t_fldtab-offset    = 20.
      t_fldtab-fieldtext = 'Text'.
      t_fldtab-reptext   = 'Text'.
      t_fldtab-leng      = 60.
      t_fldtab-intlen    = 60.
      t_fldtab-outputlen = 60.
      t_fldtab-headlen   = 60.
      t_fldtab-keyflag   = ' '.
      t_fldtab-lowercase = ' '.
      APPEND t_fldtab.
      value_tab-field = '101'.
      value_tab-text = 'dddd'.
      APPEND value_tab.
      value_tab-field = '202'.
      value_tab-text = 'aaaa'.
      APPEND value_tab.
      t_dynmap-fldname = 'FIELD'.
      t_dynmap-dyfldname = 'P_FIELD'.
      APPEND t_dynmap.
      t_dynmap-fldname = 'TEXT'.
      t_dynmap-dyfldname = 'P_TEXT'.
      APPEND t_dynmap.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_field.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'FIELD'
                dynpprog        = 'ZKTEST01'
                dynpnr          = '1000'
                dynprofield     = 'P_FIELD'
                value_org       = 'S'
           TABLES
                field_tab       = t_fldtab
                value_tab       = value_tab
                return_tab      = t_rettab
                dynpfld_mapping = t_dynmap
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc EQ 0.
      ENDIF.
    START-OF-SELECTION.
    Jeffrey Satriadi

  • F4 help for screen field

    Hello gurus,
    I have created a custom tab in transaction VF01/VF02 and VF03. In this tab i have added a field on this screen which is supposed to provide F4 help values that are fetched from a Ztable that has been maintained.
    Although the field addition has worked fine but i cant get the F4 help. Any idea how i can achieve this?
    Any help would be appreciated.
    Regards,
    Ritwik Rajkumar

    hi,
    select f1 f2 f3 from <table> into table it .
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'F1'  " a field which you want to get the values from f4_help window
    DYNPPROG ='SY-REPID
    DYNPNR = "1000''
    DYNPROFIELD = 'LV_field'  " this is your screen field
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = it  " it contains list of possible values
    *RETURN_TAB = TMP_RETURN_TAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3.
    regards ,
    anil

  • Screen Fields Not getting Updated with DYNP_VALUES_UPDATE

    Hi All,
    I am using FM DYNP_VALUES_READ to read the screen field values and then modifying those values and passing the modified table to DYNP_VALUES_UPDATE. But the problem is screen fields are not populated with these values . The values I wish to populate are footer values . I am using OO ALV for this wherein I am handling an event for filter of records and accordingly I need to modify my footer. Any Suggestions??
    *&      Form  footer
          Caslculate Total items, number of hits/Miss and percent MSP
    -->  p1        text
    <--  p2        text
    FORM footer .
      CLEAR : io_totitems,
              io_tothit,
              io_totmiss,
              io_permiss.
    IF NOT l_flag EQ 1.
    Get total items
      DESCRIBE TABLE i_outdata LINES io_totitems.
      LOOP AT i_outdata INTO wa_outdata.
      calculate number of hits
        IF wa_outdata-hit_miss  = 'HIT'.
          io_tothit = io_tothit + 1.
        ENDIF.
      calculate number of Miss
        IF wa_outdata-hit_miss  = 'MISS'.
          io_totmiss = io_totmiss + 1.
        ENDIF.
        CLEAR wa_outdata.
      ENDLOOP.
    calculate percent MSP
      io_permiss = ( ( io_totitems - io_totmiss ) / io_totitems ) * 100 .
      IF l_flag EQ 1.
        wa_dynpread-fieldname = 'IO_TOTITEMS'.
        APPEND wa_dynpread TO t_dynpread.
        wa_dynpread-fieldname = 'IO_TOTHIT'.
        APPEND wa_dynpread TO t_dynpread.
        wa_dynpread-fieldname = 'IO_TOTMISS'.
        APPEND wa_dynpread TO t_dynpread.
        wa_dynpread-fieldname = 'IO_PERMISS'.
        APPEND wa_dynpread TO t_dynpread.
        CLEAR wa_dynpread.
        d020s-prog = sy-repid.
        d020s-dnum = sy-dynnr.
        CALL FUNCTION 'DYNP_VALUES_READ'
                EXPORTING
                   dyname               = d020s-prog
                   dynumb               = d020s-dnum
                   translate_to_upper   = 'X'
              REQUEST              = ' '
                TABLES
                   dynpfields           = t_dynpread.
        MOVE io_totitems TO io_totitem.
        CONDENSE io_totitem NO-GAPS.
        MOVE io_tothit TO io_tothits.
        CONDENSE io_tothits NO-GAPS.
        MOVE io_totmiss TO io_totmis.
        CONDENSE io_totmis NO-GAPS.
        MOVE io_permiss TO io_permis.
        CONDENSE io_permis NO-GAPS.
        LOOP AT t_dynpread INTO wa_dynpread.
          CASE: wa_dynpread-fieldname.
            WHEN 'IO_TOTITEMS'.
              wa_dynpread-fieldvalue = io_totitem .
              MODIFY t_dynpread FROM wa_dynpread.
            WHEN 'IO_TOTHIT'.
              wa_dynpread-fieldvalue = io_tothits.
              MODIFY t_dynpread FROM wa_dynpread.
            WHEN 'IO_TOTMISS'.
              wa_dynpread-fieldvalue = io_totmis.
              MODIFY t_dynpread FROM wa_dynpread.
            WHEN 'IO_PERMISS'.
              wa_dynpread-fieldvalue =  io_permis .
              MODIFY t_dynpread FROM wa_dynpread.
          ENDCASE.
          CLEAR wa_dynpread.
        ENDLOOP.
        CALL FUNCTION 'DYNP_VALUES_UPDATE'
          EXPORTING
            dyname               = d020s-prog
            dynumb               = d020s-dnum
          TABLES
            dynpfields           = t_dynpread
          EXCEPTIONS
            invalid_abapworkarea = 1
            invalid_dynprofield  = 2
            invalid_dynproname   = 3
            invalid_dynpronummer = 4
            invalid_request      = 5
            no_fielddescription  = 6
            undefind_error       = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    Get all fotter details in a internal table
    this is used to download footer in Excel
      wa_footer-fldname = 'Total Items '.
      wa_footer-value = io_totitems.
      APPEND wa_footer TO i_footer.
      wa_footer-fldname = 'Number of HIT'.
      wa_footer-value = io_tothit.
      APPEND wa_footer TO i_footer.
      wa_footer-fldname = 'Number of MISS'.
      wa_footer-value = io_totmiss.
      APPEND wa_footer TO i_footer.
      wa_footer-fldname = 'Percentage MISS '.
      wa_footer-value = io_permiss.
      APPEND wa_footer TO i_footer.
      CLEAR wa_footer.
    ENDFORM.                    " footer

    data: t_dynfields1 type table of dynpread with header line.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    dyname = d020s-prog
    dynumb = d020s-dnum
    translate_to_upper = 'X'
    REQUEST = ' '
    TABLES
    dynpfields =  t_dynfields1.
    <b>read table t_dynfields1 index 1</b> “ I hope this is missing
    I will be selecting from a list .
    Because once the value is read we need to update the screen field with that value .
    Here the selected value will be in the first place
    Now
    Your operation is to populate the fields with some variables .
    In the same when I do this there is only one value then
    Im expecting only one entry here …
    LOOP AT t_dynpread INTO wa_dynpread.
    CASE: wa_dynpread-fieldname.
    WHEN 'IO_TOTITEMS'.
    wa_dynpread-fieldvalue = io_totitem .
    MODIFY t_dynpread FROM wa_dynpread.
    WHEN 'IO_TOTHIT'.
    wa_dynpread-fieldvalue = io_tothits.
    MODIFY t_dynpread FROM wa_dynpread.
    WHEN 'IO_TOTMISS'.
    wa_dynpread-fieldvalue = io_totmis.
    MODIFY t_dynpread FROM wa_dynpread.
    WHEN 'IO_PERMISS'.
    wa_dynpread-fieldvalue = io_permis .
    MODIFY t_dynpread FROM wa_dynpread.
    ENDCASE.
    CLEAR wa_dynpread.
    ENDLOOP. */
    Comment this for a while and
    Change the code as
    t_dynfields1-fieldname = ' '. "<--- header name
    t_dynfields1-fieldvalue = ' '."<----val  
    append t_dynfields1.
    t_dynfields1-fieldname = ' '.
    t_dynfields1-fieldvalue = ' '.
    append t_dynfields1.
    t_dynfields1-fieldname = ' '.
    t_dynfields1-fieldvalue = ' '.
    append t_dynfields1.
    And check .
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    dyname = d020s-prog
    dynumb = d020s-dnum
    TABLES
    dynpfields = t_dynfields1.
    regards,
    vijay

  • DYNP_VALUES_UPDATE does not change the value of my screen fields

    Hi,
    I have a screen with a header area and a control with an ALV.
    In my header area i have 2 fields shown as an icon.  These icons should change
    with an event triggered in the ALV (in handle_user_command)
    In handle_user_command I check the values of a column in my ALV - I have 3 possible cases : a green led, a yellow led or a red led.
    When i'm debugging the program, everything seems to be ok.  In my table i see the new values of the icons, but when I see the screen afterwards the old values have not been replaced.  (I also use an refresh of my ALV)
    Any help is welcome!
    THx,
    Helga

    Hi,
    declare the internal table like below:
    DATA: i_fieldvalues TYPE dynpread OCCURS 0 WITH HEADER LINE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR field.
      PERFORM Display_contion_types.
    FORM Display_contion_types.
    Search help for Condition Type
      PERFORM Display_contion_types.
    Update screen fields like below:
    Update Screen Field.
          CLEAR i_fieldvalues[].
          MOVE: 'V_TEXT'         TO i_fieldvalues-fieldname .
          WRITE i_t685-vtext TO i_fieldvalues-fieldvalue .
          APPEND i_fieldvalues.
          CALL FUNCTION 'DYNP_VALUES_UPDATE'
               EXPORTING
                    dyname     = sy-cprog
                    dynumb     = sy-dynnr
               TABLES
                    dynpfields = i_fieldvalues.
    endif
    regards,
    Raja

Maybe you are looking for

  • How to Get Compact View in Calendar Widget?

    When I added the stock iOS Calender widget to Notification Center it showed the compact view of all of my events for the day. Now it shows the current event with a red line going across the screen that displays the current time relative to the event'

  • Java.lang.OutOfMemoryError: PermGen space in OC4J 10.1.3 Standalone

    Hello All, please help me to increase memory. I found many answer how it do on OAS 10.1.3 but I'can't find how it do on OC4J Standalone. I have'n opmn.xml file to increase memory. Please give me advice or solution. Thank you.

  • Working with Sony XDCam,  FCP 7 and a Blackmagic Multibridge Extreme

    I started a project about a year ago shooting with a Sony EX3 and imported all of my footage as XDCam EX 1080 30p mostly using Sony's XDCam transfer software but I also imported some shots using Log and Transfer. The current sequence settings are XDC

  • Query server name where a BLS tran is executed ?

    Hi all, is there a possibility to query the server name where a BLS transaction is executed from within the transaction? Use: The transaction should be able to decide if called on a test server or in production. I am looking for a logic that lets the

  • Restrict Subject Areas

    Hi, I am trying to restrict access to certain subject areas in answers. I would like specific groups/users to have access to certain subject areas. Is this performed in rpd or in answers? Thanks