Skip to Content

SERNR_ADD_TO_LS without 'I' type message

Hello Experts,

When I used function SERNR_ADD_TO_LS to add serial number to DN, there is always popup a message that 'All serial numbers have been entered'. How to cancel the pop-up message?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Aug 06, 2020 at 05:01 AM

    If you set the QUANTITY according to the numer of objects, or even higher, the message will not pop up.

    The parameter I_BAPI would suppress the pop-up of the message. But instead it will pass an error message IO 212 "Exactly &1 serial numbers must be selected (instead of &2)" to the "CO Message Handler". Regarding the message, &1 is the QUANTITY parameter (Number of Serial Numbers/Pieces of Equipment to be Created) that is passed with the FM and &2 is the number of objects (Object List Editing/Serial Numbers). The message comes up, when the QUANTITY parameter is smaller than the number of objects.

    The parameter I_BAPI might also change other logic as well, for instance further serial numbers will be ignored. Test well before production.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.