09-15-2015 3:24 PM
I am creating 2 additional line items based on cross company and business area validation and determining GL account for the new additional line item
And it is successfully creating additional line items in the event 0032.
But after going out of this event and moving to SAP standard code and reset all the values from t_fkkopk_new(add. line item table) and making it zero values.
My requirment is : When bundle is created, system should create two line items in one document with different contracts.
Pls help .
09-16-2015 10:25 AM
Hi Kuntal,
Check the following thread-
I guess this would help you in your issue resolution.
Thanks,
Amlan
09-16-2015 11:57 AM
09-18-2015 4:15 PM
What is the FM that you are using for creating the additonal line items?
Thanks,
Amlan
09-24-2015 9:07 AM
09-24-2015 12:14 PM
Hi Kuntal,
FKK_SAMPLE_0032 is the sample FM that SAP has given.
I assume that you have copied it and created a custom one, say, ZFKK_SAMPLE_0032.
I was asking for the FM which you are using to create the additional line items, in the custom FM.
You can use FKK_CREATE_DOC or FKK_GNRLITEM_POST_INTEREST_DOC to post the additional line items in event 0032.
Hope it helps...
Thanks,
Amlan
09-24-2015 12:44 PM
Hi Amlan,
Thnk for replying .
I am using FKK_create_doc .. but it not working.
09-24-2015 1:21 PM
Hi Kuntal,
Is the FM,FKK_CREATE_DOC,throwing any error?
Alternatvely, you can use the FM FKK_COMPLETE_CHARGE_DOCUMENT or FKK_GNRLITEM_POST_INTEREST_DOC to post the additional line items in event 0032.
Hope it helps...
Thanks,
Amlan
05-21-2016 10:08 AM
Hi Amlan,
My requriment was like this ...
Can you pls help me ...
While doing bundling for multiple documents of different contract, single bundle document is getting creating with single line item.
FKK_BUNDLE_CREATE is using to create document
Example :----
I have 5 open credit items (Amt 10 & 20 for Cont A and 15, 25 & 35 for Cont B) When bundled, bundle doc X is creating for amount 105 with contract B(as per the standard logic.).
Our Requirement is :
When bundle is created, system should create two line items in one document with different contracts.
For instance ...
I have 5 open credit items (Amt 10 & 20 for Cont A and 15, 25 & 35 for Cont B) When bundled, bundle doc X should be created with two lines
Line 1 for contract A with value as 30
Line 2 for contract B with value as 75
We have tried event 32 for creating additional lines , but not working.
Kind Regards ,
Kuntal Das
05-31-2016 1:34 PM
Hi Kuntal,
I don't think it will be done by event 0032.
As you have righlty pointed out, during the bundling of items comprising multiple contracts, the corresponding values are inherited from the item with the largest amount in the bundle item..
So in your scenario, the bundled item is populated with contract B.
Check event 0151.The following information are being passed in this event-
The transfer parameterC_FKKOPSF contains the proposed values for specific fields of the new open item. These values can be changed. In the return paramter, E_FKKOPZF, you can specify the additional fields.
Check if the above works, or else you need to do an implicit enhancement in the FM, FKK_BUNDLE_CREATE to cater yuor requirement.
Hope it helps..
Thanks,
Amlan