cancel
Showing results for 
Search instead for 
Did you mean: 

To assign smartform for bid invetation to transaction type of BidInvitation

Former Member
0 Kudos

Hi friends!

Could you tell me if it is possible assign output format(BBP_BID_INVITATION) for bid invetation to transaction type of Bid Invitation?

Thanks.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

You need to implement the BADI BBP_OUTPUT_CHANGE_SF

There you can implement the logic that you need for your business process, for example:

You have different transaction types for BID INVITATION (ZXX1, ZYY1, ZWW1) and you want to use different smartforms for each one, then you need

1. Create the different smartforms with the transaction SMARTFORMS (for the bid invitation you can make a copy from the standar smartform BBP_BID_INVITATION which includes the structures and tables for the bid invitation then you don´t need to create a complete smartform)

2. Implement the BADI BBP_OUTPUT_CHANGE_SF with the transaction se18 or se19 or SPRO --> Supplier Relationship Management --> Cross aplication Basic Data --> Business Ad Ins (BadIs) --> Document Output --> Change Forms for document Output.

there you need to implement your own Ligic, use the method and parameters as i mention below.

Method: CHANGE_FORMS

Parameter: CV_SMARTFORM

Parameter: CV_SMARTFORM_MAIL

Parameter:CV_SUBJECT_MAIL

Code Example:

DATA: wa_header_bid TYPE bbp_pds_header.

  • For getting the document

CALL FUNCTION 'BBP_PROCDOC_GETDETAIL'

EXPORTING

i_guid = iv_guid

  • i_object_id =

i_object_type = iv_object_type

IMPORTING

e_header = wa_header_bid.

IF iv_object_type = 'BUS2200' Bus for the Bid Invitation

IF wa_header_bid-process_type = 'ZXX1'.

cv_smartform = 'smartform name 1'.

cv_smartform_mail = 'text body for the email 1'.

cv_subject_mail = 'text subject for the mail 1'.

ELSEIF wa_header_bid-process_type = 'ZYY1'.

cv_smartform = 'smartform name 2'.

cv_smartform_mail = 'text body for the email 2'.

cv_subject_mail = 'text subject for the mail 2'.

ELSEIF wa_header_bid-process_type = 'ZWW1'.

cv_smartform = 'smartform name 3'.

cv_smartform_mail = 'text body for the email 3'.

cv_subject_mail = 'text subject for the mail 3'.

ENDIF.

ENDIF.

That's all

pedro_santos6
Contributor
0 Kudos

Hi,

Just go to this way:

Supplier Relationship Management --> SRM Server --> Cross-Application Basic Settings --> Set Output Actions and Output Format --> Define Actions for Document Output

Rgs,

Pedro Marques

Former Member
0 Kudos

This is the default smartform available when the purchaser or bidder clicks on download preview.

and goes in mail also to bidder as an attachment.

What do you mean by assigning to trans type?

BR

Dinesh

Former Member
0 Kudos

For example, transaction type BID to smartform1, RFPM to smartform2, RFPS to smartform3.

former_member183819
Active Contributor
0 Kudos

Hi

Yes. in go to Smartforms tcode and form name BBP_BID_INVITATION

In SPRO

Set output actions and output format

Define actions for document output

Bid invitation

Reagrds

Muthu