You also need doc type id. Doc Types are of fix value, for Invoice doc type is 3. Type IDs are like STDINV,SERVINV etc. you could find them in table SOP40200. select DOCID from sop40200 where SOPTYPE=3
↧