Application Development 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: 

bapi_alm_notif_create generated number looks odd

Former Member
0 Kudos
165

hi,

   I am using bapi_alm_notif_create to generate notification number by passing material number , serial number and short description along with notification type. But the notification number getting generated is some garbage value (%00000001).can any one tell me y I am facing this issue.

while executing in se37 also I am getting same value please tell me where I am going wrong.

Message was edited by: Matthew Billingham - I've changed your subject to something more meaningful.

1 ACCEPTED SOLUTION

FredericGirod
Active Contributor
0 Kudos
85

Hi,

this carbage value looks like a temporary value for the key. That means, when SAP will save the value, it will used the NUMBER_GET_NEXT function to get the next number available for your object.

After this, the garbage value will be replaced.

do you try to save your data and make a commit ?

regards

Fred

4 REPLIES 4

FredericGirod
Active Contributor
0 Kudos
86

Hi,

this carbage value looks like a temporary value for the key. That means, when SAP will save the value, it will used the NUMBER_GET_NEXT function to get the next number available for your object.

After this, the garbage value will be replaced.

do you try to save your data and make a commit ?

regards

Fred

0 Kudos
85

Ty very much...ur suggestion was helpful.

raymond_giuseppi
Active Contributor
0 Kudos
85

When testing this FM you must use three BAPIs in a test sequence:

  • BAPI_ALM_NOTIF_CREATE
  • BAPI_ALM_NOTIF_SAVE
  • BAPI_TRANSACTION_COMMIT

Also you should change your post title for something more informative

Regards,

Raymond

0 Kudos
85

Raymond Giuseppi wrote:

...

Also you should change your post title for something more informative

Moderator message: what Raymond says. Failure to use a meaningful subject will mean you run the risk of your message being rejected.