cancel
Showing results for 
Search instead for 
Did you mean: 

Where is the Free Item field from a Purchase Order stored?

Former Member

The field is on the ME23 screen but not in EKPO.

Table Name RM06E

Field Name UMSON

Data Element UMSON

Screen Field RM06E-UMSON

I've found references on OSS to EKPO-UMSON but this doesn't exist: we're on SAP_APPL 500 0009 SAPKH50009 for Logistics and Accounting.

Thanks,

Matt.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member

IT'S NOT A DATABASE FIELD BUT A 'CALCULATED' FIELD AT RUN=TIME!

Deep in BAPI_PO_CHANGE is the code;

IF pot-repos EQ space AND pot-pstyp NE pstyp-kons AND

pot-pstyp NE pstyp-umlg.

pot-umson = 'X'.

ENDIF.

The pos values are from EKPO, the pstyp- values are constants 2(Consignment) and 7(Stock Transfer) from T163.

The Call Stack was;

11 SAPLMEPO FORM LESEN_BELEG

10 SAPLMEPO FORM BESTELLUNG_LESEN

9 SAPLMECOM1 FORM BESTELLUNG_LESEN

8 SAPLMECOM1 FUNCTION MEPO_DOC_READ

7 CL_PO_HEADER_HANDLE_MM========CP METHOD PO_READ

6 SAPL2012 FORM INIT_HANDLER_SERVER

5 SAPL2012 FUNCTION BAPI_PO_CHANGE

bztoy
Participant
0 Kudos

Thank you so much.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi,

I have been searching this issue too. The solution is in include MM06EO0R_RM06E-UMSON, the coding is:

MODULE RM06E-UMSON OUTPUT.

IF EKPO-REPOS EQ SPACE AND EKPO-EBELP NE SPACE.

RM06E-UMSON = 'X'.

ELSE.

RM06E-UMSON = ' '.

ENDIF.

ENDMODULE.

Regards,

Eduardo

Former Member
0 Kudos

hi,

if i want to display the free items also , then where should i modify the code.

please tell

thanks in advance,

Dastagiri.

yann_bouillut
Active Contributor
0 Kudos

Hi Matt,

In my ECC 6.0 this field is stored in a structure (MEPO1211) and not in table EKPO.

Kind regards,

Yann

Former Member
0 Kudos

Thanks for pressing F1>Technical Information on the field in ME23N.

Yes, on the ME23N field you are looking at MEPO1211-UMSON, but the question is which Database is that Selected from/stored in?

I'll check the BAPI myself.

yann_bouillut
Active Contributor
0 Kudos

-

Message was edited by: Yann Bouillut