CreateFromData
You use this method to create a promotion. Promotions that were planned in another R/3 system or a non-SAP system can be created in the system using this method. In the R/3 information system, for example, you can define an exceptionthat selects the articles and sites for a promotion. You can assign
this exception to a workflow task, which calls the method to create thepromotion. As of Release 4.6, workflow task 'PROMO_CREATE' is provided for this. In addition to header data for the promotion, you can create articledata, themes and site groups. You cannot use this method to create
promotion assortment modules and assign these to site groups. Also, youcannot carry out subsequent processing steps such as price activation or allocation table generation with this method. You can perform a test run for the method, which means that no data is saved to the database.
NotesThe authorization for authorization object S_TCODE for transaction WAK1 is checked. The promotion type assigned to the promotion must be created in Customizing for the promotion. The method performs all the necessary consistency checks, and returns
all messages as a return table. The return values and their meanings can be found in the parameter documentation. The key fields used by the method are described in the parameters.
|