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

bapi acc document post and validation GGB0

Former Member
0 Likes
1,052

Dear gurus

i have created validation with prerequisite bkpf-blart = KZ then should field xblnr field with specific requirement. i created it in document header level and it works when i post through f-53 or f-02 with doc type KZ.

Then i do posting by BAPI and fill xblnr for doc type = SB but the valdiation (in doc type = KZ) seems work in this doc type too. In record 1 the field XBLNR can be filled with warning, the rest record XBLNR is empty though i have filled it with same record as 1st record.

what should i do?

thanks.

Edited by: tiara astari on Dec 30, 2008 11:44 AM

2 REPLIES 2
Read only

Former Member
0 Likes
694

Did you try posting the same way in F-53 for soc. type "SB"

Read only

Former Member
0 Likes
694

yes, the validation is inactive in doc type SB.

i thought might be my program goes wrong. I change prerequisite in step 2 become prerequisite in step 1 and prerequisite in step 2, the warning of validation is not exist anymore, but still record number 1 which can be filled succesfully.

this problem fixed when i use constants variable to input XBLNR field, not from internal table feeds the bapi.

so temporarily this problem is fixed since the requirement of the field contents CAN BE FILLED through constant variable, still try to look for best solution.

Many thanks