cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Issue

Former Member
0 Kudos

Hi Dear Expert !!

Need ur help here.

I have developed a z report wherein i have many fields in the output structure.

3 fields are amount fields for which iam using two curr fields...for 2 amount field-currency field 1 and for the last amount field-currecny field 2.

All is happening fine when Iam running the report in foreground.

But in background( which is the requirment), it is giving me jitters.

It goes for a dump like,

Structure for my output data table :

TYPES: BEGIN OF gty_final,
ebeln        TYPE ebeln,           "Purchasing Document Number
bukrs        TYPE bukrs,           "Company Code
aedat        TYPE erdat,           "Date on Which Record Was Created
lifnr        TYPE elifn,           "Vendor Account Number
zterm       TYPE dzterm,          "Terms of Payment Key
waers       TYPE waers,           "Currency Key
waers_l       TYPE waers,           "Currency Key  Local
wkurs        TYPE wkurs,            "Exchange Rate
inco1        TYPE inco1,            "Incoterms (Part 1)
zzship_mode  TYPE zzship_mode,     "Mode of Shipment Description
eindt        TYPE eindt,            "Item Delivery Date
psphi(24)   TYPE c,        "Current number of the appropriate project
post1        TYPE ps_post1,         "PS: Short description (1st text line)
name1        TYPE name1_gp,        "Name 1
text1        TYPE text1_052,        "Own Explanation of Term of Payment
udate        TYPE cddatum,        "Creation date of the change document
kwert       TYPE kwert,           "Condition value
zdesc(60)   TYPE c,               "decsription
zlcy        TYPE kwert,           "LCY Value
zpaid       TYPE kwert,           "PAID
zdue_date   TYPE string,          "PAYDUE DT
zbalance    TYPE kwert,           "BALANCE
END OF gty_final.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kinshuk,

What is the reason of dump it is showing?

Are you testing with the same test data in foreground and background? Because it might be possible that for particular data only its dumping in that point which you are using only in background.

And from the screen shot I could say that you are trying to access the field symbol without assigning any value to it or your ls_dep......fieldname have no value.

Regards,

Jyoti Singh

Former Member
0 Kudos

Hi Jyoti,

I am using the exact same data in both foreground and background.

Moreover the report when executed in background wont go for a dump everytime. Sometimes, it succeeds.

Dump says that the variable <l_unit> is protected, so we cannot clear it.

FredericGirod
Active Contributor
0 Kudos

Hi,

I can't see the dump ..

are you sure the dump doesn't not occurs because you are using a custom container instead of a docking container ?

regards

Fred