Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Processing Partner tab in CALL TRANSACTION

ann_kinnear
Explorer
0 Likes
588

Hi,

I'm trying to create a quotation via CALL TRANSACTION (VA21). A number of Partners are loaded automatically but I need to delete one of them (contact person). I've created the appropriate screen flow in BDCDATA table and when the txn is called with mode 'A' the partner is deleted. However when it's called with mode 'N' the partner is not deleted (the quotation is saved successfully with no errors in both cases).

Has anyone come accross this before?

Thanks for any help, Annie

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
504

I hope you used SHDB to record your screens for BDC ?

Sometimes screens in batch & online are not the same.

You may need to position cursor properly before deleting partner.

It may be easier to delete partner in userexit_save_document_prepare (xvbpa, xvbadr).

2 REPLIES 2
Read only

Former Member
0 Likes
505

I hope you used SHDB to record your screens for BDC ?

Sometimes screens in batch & online are not the same.

You may need to position cursor properly before deleting partner.

It may be easier to delete partner in userexit_save_document_prepare (xvbpa, xvbadr).

Read only

0 Likes
504

Hi Siarhei,

thanks for your reply. Yes, I used a recording - I even included all the BDC_SUBSCR entries which are usually not required as well as the BDC_CURSOR.

I've actually sorted it now - there was an error in the BDCDATA table in a part of the screen flow that seemed to be unconnected with the partner screen, and had been working previously, one of the BDC_OKCODE values was entered as 'YES' when it should have been '=YES' .

thanks again for your sugestions.

Annie