Application Development 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: 

MIGO dump error with DYNPRO_FIELD_CONVERSION error

Former Member
0 Kudos

Dear Friends,

placed a coding in Goods Receipt Purchase Order (MIGO)
to update the Qty in UnE when edited in Quanity tab qty in Unit of Entry
its working fine for 2nd value but not for the first as well as last value.

the coding below works fine but i get into a sbort dump with DYNPRO_FIELD_CONVERSION.
Have placed coding as well as similar findings in other threads.
kindly help me in this.

Runtime Errors         DYNPRO_FIELD_CONVERSION
Date and Time          05.11.2012 12:42:59


Short text
     Conversion error
What happened?
     The current screen processing action was terminated since a situation
     occurred where the application could not continue.
     This is probably due to an error in the ABAP program or in the current
     screen.

What can you do?
     Note which actions and input led to the error.
     For further help in handling the problem, contact your SAP administrator.
     You can use the ABAP dump analysis transaction ST22 to view and manage
     termination messages, in particular for long term reference.
Error analysis
     The program has been interrupted and cannot resume.
     Program "SAPLMIGO" attempted to display fields on screen 0200.
     An error occurred during the conversion of this data.
How to correct the error
     There was a conversion error in the output of fields to the screen.
     The formats of the ABAP output field and the screen field may not match.
     Some field types require more space on the screen than in the ABAP
     program. For example, a date output field on the screen requires two
     more characters than the corresponding field in the ABAP program. When
     the date is displayed on the screen, an error occurs resulting in this
     error message.


               Screen name.............. "SAPLMIGO"
               Screen number............ 0200
               Screen field............. "GOITEM-ERFMG"
               Error text............... "FX015: Sign lost."
Other data:
               " "

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.


i searched for the above error in SCN. some thread suggested to sap oss notes.
which i found was used  in sap system already.
sapnote_0000740797
sapnote_0000821922
sapnote_0001132009


http://scn.sap.com/thread/132678
The above thread suggest me to do change go_item-erfmg definition and change the last position to V
like ___.___.___.___V
(how can i approach this any idea.)

CODE:
data: wa_goitem type goitem,
     locstlnr type mast-stlnr,
     locmenge type stpo-menge,
     locqty type GOITEM-ERFMG.
break con_abap2.
loop at pt_goitem into wa_goitem.
  if wa_goitem-EXPAND = '@3T@'.
    clear locqty.
    clear locstlnr.
    CLEAR LOCMENGE.
    locqty = wa_goitem-erfmg.
    select single  stlnr from mast into  locstlnr where matnr = wa_goitem-matnr.
  elseif wa_goitem-depth ne 0.
    select single menge from stpo into locmenge where  stlnr = locstlnr and IDNRK = wa_goitem-matnr.
      if locmenge is not initial.
        wa_goitem-erfmg = locmenge * locqty.
        modify pT_goitem from wa_goitem transporting erfmg.
      endif.
   endif.
   clear wa_goitem.
endloop.


Thanks
Sankaresh S

1 ACCEPTED SOLUTION

basarozgur_kahraman
Contributor
0 Kudos

Hi Sankaresh,

In screen painter, choose goitem-erfmg properties and check "With sign" in Dict Tab.

3 REPLIES 3

basarozgur_kahraman
Contributor
0 Kudos

Hi Sankaresh,

In screen painter, choose goitem-erfmg properties and check "With sign" in Dict Tab.

0 Kudos

Hi Basar,

Thanks for ur immediate reply,

its asking for access key.do we have other solution for this.

Thanks

Sankaresh S

0 Kudos

HIii,

       Yes this is due to - sign and access key is required for make changes as described by basar simple try to avoid -ve value i.e. - -ve sign .... multiply that value with -1 i.e ( - 10 * -1 ) .