on 10-19-2006 10:15 AM
hi all,
i developing a function module which will create confirmation in srm system and Gr in R/3.
is there any std fm there for this?
i have used one bapi but failed to create confirmation.i dont know whats the error.
please help me.its really urgrent.
thanks
jigs
Hi there,
This can not be done.
Confirmations and Invoices use Idoc technology
Although service confirmations are not created this way but by spooler.
If you were to attempt this you may want to follow how service confirmations are created and use similar tactics. here is some important code places..
SPOOL_ES_CREATE_DO
META_ENTRYSHEET_CREATE
==============================
LBBP_PDF0B
&----
*& Form TRANSFER_GRSE
&----
check whether confirmation needs to be transferred and
trigger transfer of GR or service entry sheet to backend
----
CASE i_be_object_type.
*.. create service entrysheet in backend
WHEN c_b_se.
IF lv_start_cancel EQ c_on.
CALL FUNCTION 'SPOOL_ES_CANCEL'
ELSE.
CALL FUNCTION 'SPOOL_ES_CREATE'
================================
Regards,
Matthew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.