cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM for simulating transaction code CVD1

Former Member
0 Likes
381

Hi!

I'm new in EHS.

I have to simulate with an ABAP report the transaction CVD1.

Manually we manage to create the shipping order, the "accept" button works well and we can use the "ship immediatly" button. This generate a PDF in the application server.

Now, I try to do the same in an ABAP report.

With FM CVE9_RDO_DOKX_EXPORDS_CREATE i manage to create shipping orders. But i would like now to simulation the "Accept" and the "ship immediatly" buttons.

I found FM CVEC_RDOS_ACCEPT and CVEC_RDOS_SEND but i don't know if these are the right FM And how to use these FM.

Can you help me please?

Thanks,

Laurent.

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_bergemann
Active Contributor
0 Likes

Hello Laurent

by hazard I found this link:

http://se37.com/Fmods/sitemap/fglists/groups%5Cz5CC.html (sorry texts are in german)

Normally function modules are "grouped" together in a function group if they should be used in a "context". Therefore check the assignment of the function modules. Sometimes you will find per function module a useful documentation.

Furthermore I found this link:

http://www.se80.co.uk/sapfms/c/cvec/cvec_rdos_restore.htm

Here you will find e.g. the function module:

CVEC_RDOS_SET_HISTORIC

The transaction CVD1 does have a number of functionalities (search criteria); it seems to be that you try to implement a "subset" of this. Please keep in mind that CVD1 is a "core" transaction regarding the core process of report distribution (EXP_CALL, SD_CALL, SUB_CALL etc. etc. are managed in this transaction) and therefore you solution must fit into this framework which SAP has delivered.

Hope you will be successful in your project.

With best regards

C.B.

Edited by: Christoph Bergemann on Jul 3, 2011 5:30 PM

Former Member
0 Likes

thank you for your answer christoph!

I manage to do what i wanted using:

- CVE9_RDO_DOKX_EXPORDS_CREATE to generate a shipping order

- CVD1_RDOS_READ, CVEC_RDOS_ACCEPT & CVD1_RDOS_SAVE_TO_DB to accept orders

- CVEC_RDOS_SEND & CVD1_RDOS_SAVE_TO_DB to send orders.