Application Development and Automation 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: 
Read only

Regarding MIGO

Former Member
0 Likes
729

As I have copied the standard function group MIGO to ZMIGO_FG and made few modifications as per customer requirement,now Iam getting some error in standard include specifying like Object reference is assigned to null in include LMIGOPBO in SAPLMIGO program .Whereas in 4.6C its working fine with same piece of code but in ECC6 its throwing error.

Can any one tell me why its throwing error and how to solve it.??

Thanks in Advance

As I have copied the standard function group MIGO to ZMIGO_FG and made few modifications as per customer requirement,now Iam getting some error in standard include specifying like Object reference is assigned to null in include LMIGOPBO in SAPLMIGO program .Whereas in 4.6C its working fine with same piece of code but in ECC6 its throwing error.

Can any one tell me why its throwing error and how to solve it.??

Thanks in Advance

5 REPLIES 5
Read only

Former Member
0 Likes
689

Dear Gayatri,

Wellcome to SDN,

check the LMIGOPBO in eec6 and compare this two include,some parameter declaration is missing.

Thanks and regards,

Krish...

Read only

0 Likes
689

I have compared both the includes both are same....the error is occuring at method pbo,actually the data is not retained its becoming initial and thats why its throwing error like object reference assigned to null which should not happen so.wheres in 4.6 the value is retained and executing well with same code.

I hope u got my point

Read only

Former Member
0 Likes
689

Hi,

Have u tried with comenting modification u made , is it throwing error or not,

have u compared all the new Fm are same as 4.6c

may be the problem with the code u added mentioned by customer,

Thnaks and regards,

Krish..

Read only

Former Member
0 Likes
689

Hi,

Please go to your TOP include. There you can see a constant " C_REPID ". Here the value given for this constant is " SAPLMIGO", which standard program name. Replace the value given for C_REPID value ( SAPLMIGO ) with your new program name.

Eg: C_REPID type sy-repid VALUE 'ZMIGO'. (In TOP Include)

This will clear your dump issue.

Thanks

Vineel

Read only

0 Likes
689

good ....Thank you vinnel....

I have already done it and worked no giving dump...anywayz thank you very much