Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Re: V_T685A-KFKIV - Condition for inter-company billing

$
0
0

Here is the code of requirement 22 (LV61A022, Inter-company).

* Inter company transaction

form kobed_022.

  sy-subrc = 4.

  check: komp-werks ne space.

  check: komp-fareg na '45'.

  if komk-vbtyp ca vbtyp_fkiv.

    sy-subrc = 0.

    exit.

  endif.

  if komp-kposn ne 0.

    check komp-prsfd ca 'BX'.

    check t001-bukrs ne t001k-bukrs.

  endif.

  sy-subrc = 0.

endform.

* Prestep

form kobev_022.

  sy-subrc = 0.

endform.

 

 

No idea why condition A and B behaves in different ways with this requirement.

 

yu


Viewing all articles
Browse latest Browse all 9164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>