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 when creating sales order

Former Member
0 Likes
1,668

Dear Friends,

When I am creating sales order after entering order quantity field value in item table giving dump error.



INCLUDE LV03VF0B.

INCLUDE LV03VFB4 inside below code trigger error.

PERFORM VVBBD_AUFBAUEN USING WA_AVBBD

                                    WA_AVBBD-APOMOBILE

                                    DA_SUBRC

                                    DA_UPDKZ

                                    DA_VVBBD_TABIX

                                    0.

1 ACCEPTED SOLUTION
Read only

former_member191569
Active Participant
0 Likes
1,455

Hello Praveen,

checked this program in other systems.

The weird thing in your code is the final parameter 0, it should not be there.

The call should be:

PERFORM VVBBD_AUFBAUEN USING WA_AVBBD

                                    WA_AVBBD-APOMOBILE

                                    DA_SUBRC

                                    DA_UPDKZ

                                    DA_VVBBD_TABIX.


Hope it helps.

7 REPLIES 7
Read only

former_member192050
Participant
0 Likes
1,455

Hi Praveen,

Check with the data declarations of that actual and formal parameters are same or not

Regards

Sathish

Read only

Former Member
0 Likes
1,455

Hi

In my system that perform is called in this way:

      PERFORM VVBBD_AUFBAUEN USING AVBBD

                                   AVBBD-APOMOBILE

                                   DA_SUBRC

                                   DA_UPDKZ

                                   DA_VVBBD_TABIX.

So there isn't the 0 as last input parameter:

it's a standard program, so you should check if somebody has changed it or try to check some notes

Max

Read only

former_member191569
Active Participant
0 Likes
1,456

Hello Praveen,

checked this program in other systems.

The weird thing in your code is the final parameter 0, it should not be there.

The call should be:

PERFORM VVBBD_AUFBAUEN USING WA_AVBBD

                                    WA_AVBBD-APOMOBILE

                                    DA_SUBRC

                                    DA_UPDKZ

                                    DA_VVBBD_TABIX.


Hope it helps.

Read only

0 Likes
1,455

Thanks David

Read only

Former Member
0 Likes
1,455

In Form Routine VVBBD_AUFBAUEN there are only 5 number of parameters and in Perform statement passed 6 number of parameters.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,455

Did someone try to implement an OSS note (*) recently or are you involved in an upgrade project, check the include thru version management ?

Regards,

Raymond

(*) e.g.  1899656 - During delivery creation with HUs inconsistencies or 1850090 - Optimization for construction of requirements. (which changed number of parameters in the form, first note added a paremeter second removed it to correct first note...)



Read only

Former Member
0 Likes
1,455

Hi,

I have checked include "LV03VFB4" in that subroutine there is no formal parameter as '0'  please check it once how that additional parameter is appearing on your code.

PERFORM VVBBD_AUFBAUEN USING AVBBD

                                    AVBBD-APOMOBILE

                                    DA_SUBRC

                                    DA_UPDKZ

                                    DA_VVBBD_TABIX.

       IF DA_SUBRC = 0.

         AVBBD-TABIX_BD       = DA_VVBBD_TABIX.

         MODIFY AVBBD.

       ENDIF.






Thanks,

Mallikarjuna