SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

PROFASSIGN - error E7-031

Former Member
0 Kudos

Hi there.

Does anyone had the error message E7-031 when using PROFASSIGN migration object?

Thanks in advance.

Gustavo Capra

4 REPLIES 4

Former Member
0 Kudos

Hi:

Check its mandatory keys, which are missing.

Regards

Shashi

0 Kudos

Hi Sashi. Tks for the quick response. Unfortunately I guess it is not that easy... I've gone through many test scenarios. Bellow you have a short description"

Function Module ISU_S_PROFASS_CHANGE:

EXPORTING

X_LOGIKZW = (see test scenarios bellow)

X_PROFILE = (see test scenarios bellow)

X_KEYDATE = 28.10.2009

X_UPD_ONLINE = X

" X_NO_OTHER = space

" X_NO_CHANGE = space

X_NO_DIALOG = (see test scenarios bellow)

" X_OBJ = space

X_AUTO = AUTO (see bellow)

" X_AUTO_REPLACE_EXISTING = space

AUTO structure detail

AUTO_KEY-LOGIKZW = 000000000000456975

AUTO_KEY-PROFILE = 000000000010000237

LOGIKZW = 000000000000456975

PROFROLE = DA15

DATETO = 31129999

TIMETO = 235959

ROLENO = 0001

DATEFROM = 27082009

TIMEFROM = 000000

PROFILE = 000000000010000237

CONTEXTCATEGORY = 00

PROFROLECONTEXT = space

Test scenarios changing fields X_LOGIKZW, X_PROFILE, X_NO_DIALOG:

LOGIKZW + PROFILE + DIA/BTC ==> Results

space + filled + DIA --> OK

space + filled + BTC --> error E7-031

filled + filled + DIA --> OK

filled + filled + BTC --> error E9-870

filled + space + DIA --> OK

filled + space + BTC --> E7-031

Conclusion: The same test data results success in dialog mode, but returns error E7-031 in background mode (no matter if you fill fields logikzw or profile, each at once).

Any suggestion?

Thanks again.

Gustavo Capra

ps: Sorry for the bad english in the very first question ... it should be "Did anyone have error E7-031 ...?".

0 Kudos

Apart from the LOGIKZW and PROFILE make sure your dates are in YYYYMMDD format when you are calling in no dialog mode.

0 Kudos

Hi Srinivas.

Yes. Dates are in the correct format.

Using emigall --> yyyymmdd.

Using se37 editor ---> ddmmyyyy

(Above I'm using se37 editor)

Thanks anyway.

Gus