Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

In XI mapping, how to get number from a number_range object in SAP R/3

HI All,

I have a scenario where I need to read a Number_range object in SAP R/3 or ABAP XI and retreive the current number.

I need to use this number during the message mapping.

(I read about JCO and RFC, but am a little confused about how-to and what is the correct approach)

Just to let you know, I do not want to pass this number in the original IDOC coming from IDOC, so I need this lookup.


In MM, make a call to SAP.

Get the latest number from SNRO( number-range object)

Use this number in mapping.

Any help pointers, greatly appreciated.

Many thanks


Former Member
Former Member replied

Hi Shrin,

Believe i havent used RFC_READ. Just copy the code and write you FM in the code snippet which i had mentioed you.

Make sure to declare the same import and export parameters as UDF's input and output parameters.



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question