Skip to Content
avatar image
Former Member

Dump in custom INCLUDE for RV60AFZZ. XVBRP behaving as a field symbol.

Hi

I am trying to create an invoice list via VF21. After putting the delivery no and on trying to SAVE, i get the dump 'Field symbol has not been assigned yet.' this while accessing the code line.

IF NOT xvbrp IS INITIAL.

I am unable to understand, why is it taking the XVBRP as a field symbol when it is not.

My custom INCLUDE is inside the routine USEREXIT_NUMBER_RANGE of program SAPLV60A.

Can anyone help me how to resolve this.

Thanks in advance.

Harsh

Note: XVBRP is not having any value.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 01, 2017 at 11:30 PM

    At least one function module with the global attribute defines XVBRP as a table parameter in function group V60A. The variable is realized internally by field symbols and is only valid while this function module is called.

    In your case, the user-exit is called from another function module in function group V60A that does not define the variable, so a short dump occurs. I propose to update the user-exit logic to either

    • not depend on this variable, or ,
    • try ASSIGN ('(SAPLV60A)XVBRP') TO <fs> to verify the variable exists, or
    • check the callstack (function module 'SYSTEM_CALLSTACK').

    I hope this helps,

    JNN

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 31, 2017 at 11:18 AM

    So.....what code is in your custom include and what are you trying to assign.

    Are you sure it is this line ? Post the relevant St22 section (the one where the erroneous line is highlighted using >>>>>>>.

    Rich

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2017 at 01:35 PM

    Hi Harsh,

    Generally when it says ABAP Programming error while running a standard SAP process, it usually has something to do with Custom code. Could you please check the 'Short Text', 'What happened?' & 'Error analysis' section above the Source code extract you just pasted in the ST22 transaction for this dump OR maybe if you are trying to check whether table XVBRP is filled or not, try and use XVBRP along with '[]' (Square brackets) so it would be IF NOT xvbrp[] IS INITIAL

    Cheers,
    Vijay

    Add comment
    10|10000 characters needed characters exceeded