Timesheet_Approval

Hi All,
I created ZBAPI for timesheet approval. In the ZBAPI i am changing  the status  of record 20 to 30(Approved) and madifying the database table .I am not coded for generating document number(belnr).
So please help what is the code for generating document number. is there any function module for it.

Hi,
Firstly you need to check whether the change document flag is set for the corresponding data element in the Dictionary for the fields whose changes are to be logged. This is necessary so that the object-specific function modules can identify which field of the defined object should be entered in the change document during logging
Then go to SCDO
- > Create
->Fill the change Doc Object with Name (Z****)
-> save
-> Then you can find the Name in the list below
-> Z****
--> Click on Generate Update Program
--> A dialogu box is display Enter the Function Group  Click generate and save you find the Function Module Associated to it.
Then Need to call that function Module trough Report program
Hope this will be help
Thanks
Kalyan.b

Similar Messages

Maybe you are looking for

  • How do I transfer a downloaded offline website from my macbook pro to an ipad2?

    I want my sales team to use an ipad2 to sell and present our products.  I have a website built that fully works offline which is our catalog.  Now I want to transfer that website from my macbook pro onto a 'master ipad' so I can then sync up the othe

  • How to check the analysis of material determination in sales order

    hi, We are trying to create a sale order with material determination. Material determination analysis is on. After  switching this on  while adding a new line item, in an existing sales order, we are able to do analysis as the system itself takes us

  • Custom XMP Panels in Framemaker

    Is it possible to modify the fields that are shown in the File Info screen within Framemaker? I would like to add new fields that are specific to my workflow. This is possible in other Adobe applications such as Illustrator and Acrobat. It does not s

  • PLD - Company Details on PO's, Sales Orders, etc. printing blank space

    Hello, I am onsite at a client and I am designing the print layout of all their marketing documents. In the company details section, their is a field called "Block"... This is left blank because I have nothing to put there. Because this field is blan

  • NRA withholding for payments to Foreign vendors

    Hi I would like to discuss with configurators from other US companies as to how they have implemented NRA withholding. In particular, how they handle varying tax rates for certain countries under tax treaties. Thanks Deepa