‎2007 May 09 2:15 PM
Hi,
I have BAPI_PROMO_CREATE function module created cloned Z fm as Z_BAPI_PROMO_CRATE.
I have to pass custom fileds in to this cloned fm those fields are offer number,offer type,Discount amount,promotion label print indicator,page,space,pictured article indicator.
I created structure for those Fields is ZPROMO.
I am not able to identify where can i pass these fields in the Cloned BAPI function module how can i proceed.
What logic can i enhance?where can i do it?
How can i proceed?
What logic can i do?
Can anyone help regarding this/
Early reply is highly appriciable.
Regards,
Chow.
‎2007 May 09 4:30 PM
Create Append structure for one of the BAPI Structure which suits for your requirement.
Then write the Program logic with ur function module to update diffrent custom database tables.
Reward Points
Thanks
Seshu
‎2007 May 10 6:57 AM
Hi Seshu,
Can you give an exmpale of code how can i update different custom fields in the database(to write in the Function module)?
Regards,
Chow.
‎2007 May 11 8:21 AM
Hi Chow,
First ZPROMO should be a transparent table not a structure.
In Z_BAPI_PROMO_CRATE table tab provide ZPROMO. Inside the source code tab.
Loop at ZPROMO.
-
Logic
.
.
Endloop.
Get back if you have any problem.
Reward if helpful.
Younus.