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: 

Smartforms need to generate one DC NO

Former Member
0 Kudos
89

Hi Experts,

I am developed one Delivery challan smartform.

It's working is fine, but the probelm is i am create one ZTABLE with the fields (Date, Delivery Number,Route ,DCNO and CDCNO) while i am execute the smartforms i need to update the DCNO with some number like 1234 with check the condition Delivery no is not euql to space and DC no is space then i need to generate the DC NO .

How to proceed DC NO like 1234 , 1235 1236 like that.

Pls helpme.

Thanks in Advance

purnaneelu

3 REPLIES 3

Former Member
0 Kudos
55

Hi,

Create a new number range object (Transaction SNRO).

Call Function Module NUMBER_GET_NEXT passing the above number range object, each time to get the new number.

Regards

Sabu.

Former Member
0 Kudos
55

hi

These are all the Randon no gene, FM

Please check it ...

RANDOM_AMOUNT

RANDOM_C

RANDOM_C_BY_SET

RANDOM_F8

RANDOM_I2

RANDOM_I4

RANDOM_INITIALIZE

RANDOM_P

RANDOM_TABLE_ENTRY

NUMBER_GET_NEXT

GUID_CREATE

Thanks

Dharma

Former Member
0 Kudos
55

helpful