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

dump error (ASSIGN_BASE_WRONG_ALIGNMENTASSIGN BASE WRONG ALIGNMENT) in ecc 5

0 Likes
1,722

Hi,

I am getting abap dump error (ASSIGN_BASE_WRONG_ALIGNMENTASSIGN BASE WRONG ALIGNMENT) in ecc 5.when it is taking the data from vbap.please suggest me how can I solve this problem.

Thanks

Santosh

1 ACCEPTED SOLUTION
Read only

Former Member
1,420

Hi Santosh,

please read SAP note 1175255 to understand the issue.

Maybe it will help you to solve it, although it is maybe not your SAP Release.

Your issue is probably caused by custom VBAP fields.

Regards,

Klaus

9 REPLIES 9
Read only

alessandroieva
Active Participant
0 Likes
1,420

Hi,

could you attach your code?

thanks,

AI

Read only

0 Likes
1,420

Hi alessandro,

good day.here i am attaching the code.please check it.

Thanks

Santosh

Read only

0 Likes
1,420

Hi,

please check below attachment i have send the code

Thanks

Santosh

Read only

0 Likes
1,420

Hi,

thanks for have attached your code.

what is the program line of the your problem?

AI

Read only

0 Likes
1,420

Hi,

As i checked the dump .it show that it is having problem at

  The current ABAP program "SAPLSDTX" had to be terminated because one of the                   |

|    statements could not be executed. 

159|* output data only if NO_DATA equals space (otherwise the structure                         |

|  160|* information in FIELDS is the only result of the module)                                   |

|  161|IF NO_DATA EQ SPACE.                                                                        |

|  162|                                                                                            |

|  163|DATA: BEGIN OF WORK, BUFFER(30000), END OF WORK.                                            |

|  164|                                                                                            |

|  165|FIELD-SYMBOLS: <WA> TYPE ANY, <COMP> TYPE ANY.                                              |

|>>>>>|ASSIGN WORK TO <WA> CASTING TYPE (QUERY_TABLE).                                             |

|  167|                                                                                            |

|  168|IF ROWCOUNT > 0.                                                                            |

|  169|  ROWCOUNT = ROWCOUNT + ROWSKIPS.                                                           |

|  170|ENDIF.                                                                                      |

|  171|                                                                                            |

|  172|  SELECT * FROM (QUERY_TABLE) INTO <WA> WHERE (OPTIONS).                                    |

|  173|                                                                                            |

|  174|    IF SY-DBCNT GT ROWSKIPS.                                 

I am also attaching the dump error in attachment.Please check it.

Thanks

Santosh

Read only

0 Likes
1,420

Hi,

I unfortunately unable to debug the program

I do not know tell you what the problem is specifically but I found this post:

let me know,

AI

Read only

Former Member
1,421

Hi Santosh,

please read SAP note 1175255 to understand the issue.

Maybe it will help you to solve it, although it is maybe not your SAP Release.

Your issue is probably caused by custom VBAP fields.

Regards,

Klaus

Read only

0 Likes
1,420

Hi Klaus,

Thanks for providing the SAP Note.I have create the function module and it is working fine in ECC 5.I have also tested in the ECC 5 system.

Thanks

Kumar

Read only

Private_Member_124810
Product and Topic Expert
Product and Topic Expert
0 Likes
1,420

Hi Mr.kumar sethi, I had same error too. Can you share how you solved it?