cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger delta change in Custom Filed in LO Extractor

alexdc12
Participant
0 Kudos

Hi

We have a custom field in a VBEP append called ZCRD. This has been added to the extract structure for datasource 2LIS_11_VASCL. Whilst extracting data via setup table filling this field is populated, delta changes to schedule lines also populate the field. However if ONLY the ZCRD field is changed within a schedule line and saved a delta update is not being triggered.

I have read through

https://wiki.scn.sap.com/wiki/display/BI/How-to+enhance+LO-Cockpit+DataSources+with+delta-relevant+f... and can see how this works for sales Order header and items but the include ZXMCVU02 doesnt have the ZMCVBEP table being passed into it so i am unsure how i can update the data being sent to the extractor? Has anybody else been able to trigger a delta update on custom field? specifically with the schedule line datasource?

I know if CRM this works well as you just have to mark the field as relevant for BW but in ECC this doesnt seem to be as easy!

Accepted Solutions (0)

Answers (3)

Answers (3)

maggie_yi
Advisor
Advisor
0 Kudos

Good!

Thanks for let me know this.

Maggie

maggie_yi
Advisor
Advisor
0 Kudos

Hi Alex,

So do you mean you've been able to trigger the delta change by yourself?

Thanks and B.R.
Maggie

alexdc12
Participant
0 Kudos

Hi Maggie

Yes that is correct

Thanks

maggie_yi
Advisor
Advisor
0 Kudos

Dear Alex Cruickshank,

Since there's no I_XMCVBEP in function EXIT_SAPLMCS1_002, you can not use this to trigger the delta. You need follow note

1850433 to write code in other exit. You can focus on this point:

" To display a delta, you must make sure that you can determine the status in the user exit before and after the document change. This varies from case to case and depends on which table the field is filled from. For example, you may occasionally have to obtain the information from the internal document tables (such as xvbap and yvbap). Refer to SAP Note 216448 for information on correctly populating the before and after image."

Best regards,

Maggie

alexdc12
Participant
0 Kudos

HI Maggie

I actually found that there was some custom code in a sales order program that was changing the values of this field in the xvbep and yvbep tables which is why the change wasnt being triggered. it looked like redundant code as most of the code in that enhancment has been commented out, removing this code allowed the delta to trigger naturally.

Thansk

Alex