on 04-04-2006 7:08 PM
I am using BBP_CUF_BADI to display my customer screen on the Shopping Cart Item Screen. How do I pass data to my custom screen? I would like to display my CUF fields, I would like the data from the standard fields on the Shopping Cart line item. Any help would be appreciated.
Hi Jagathi,
To use the BBP_CUF_BADI you have to:
-Define your own Function Group (FG)
-Create your specific screen at its flow logic in the FG
-Create 2 Function modules in the FG:
---You'll use the first to send data to the screen FG from the method PUT_DATA of the BADI
---You'll use the second to get data from the screen FG to the BADI (method PUT_DATA of the BADI)
Hope I'm clear
Regards.
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jagathi,
You'll name the FM as you want.
The pupose of these 2 FM is to exchange data between the BADIs methods and the Function Group (with global data of the FG).
The 1st FM is to be called from the PUT_DATA method of the BADI, to send data to the Function Group (FG global data): for example items and/or header and iv_mode, ...
The 2nd FM is to be called from the GET_DATA method of the BADI to get the result of the subscreen (CUF changes).
Hope you'll get it all.
Vadim
Vadim,
Really appreciate your explanation. I was able to get it to work. Had some more questions, probably you figured them out already
1. In the PUT_DATA method how do I know whether this is a new item or the user is changing existing item? I need this to know when to assign the value from is_item to screen and when not to do it.
2. In the GET_DATA method how do we know which screen is calling, i.e. What if we had multiple customer screens?
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.