in f-02 transaction the requirement is the first buzei to be triggered based on Receipt/Paid indicator. Receipt indicator is A and Paid indicator is B.
If indicator is A select SHKZG as S and if indicator is B select SHKZG as H.
The second buzei to be triggered based on 1st BUZEI item SHKZG. If first BUZEI, SHKZG is H, the 2nd BUZEI SHKZG should be S for KOART, D and if first BUZEI, SHKZG is S, the 2nd BUZEI SHKZG should be H for KOART, D.
how to resolve using bapi BAPI_ACC_DOCUMENT_POST .
thanks in advance