cancel
Showing results for 
Search instead for 
Did you mean: 

Update purchasing group in inforecord

Former Member
0 Kudos
1,273

Hi all

I have a reqmnt to update the inforecord with Pruchasing group.

After searching this community i found that FM

ME_UPDATE_INFORECORD can be used.

But It is not working.

I am providing inforecord number in YEINA

and in YEINE i am providing info num, pur org, plant, esokz and purch grp.

but this doesnot change the purch grp in the info rec.

am i missing anything?

thanks

and points will be awarded for useful ans

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I think you need to include information in both YEINE & XEINE. It uses old and new values so if you use READ_INFO FM and then use UPDATE FM then it should work...Check where-used list of these FM in SAP programs

Former Member
0 Kudos

Thanks Sanjay,

I had tried where used, but no custom program uses it.

and only one std program. so difficult.

Can you provide me the full FM name for read info and update?

I tried F4 it is too vast.

Thanks

Former Member
0 Kudos

ME_READ_INFORECORD

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Pass the following values to the fm;

DATA: BEGIN OF reg_eina.

INCLUDE STRUCTURE eina.

DATA: END OF reg_eina.

Others all Tables:

eina, eine, *eine.

CALL FUNCTION 'ME_UPDATE_INFORECORD' IN UPDATE TASK

EXPORTING

xeina = eina

xeine = eine

yeina = *eina

yeine = *eine

reg_eina = reg_eina.

Regards,

Anji

Former Member
0 Kudos

Hi Anji,

can you tell me which among these table should i fill the valuse?