So far this has failed for me. Ive had the most success using savedata instead of save replica. When i use savereplica i see you have to use different bapiheader and table references and these include the field FUNCTION. (Example bapiheader-function) i see for header you are using UPD and the other fields are set to INS. So this is to say you want to update the master record and then insert additional for the other areas? I must say the documentation for this FM said nothing about this. Only reason i knew anything is because of your example. Am i correct in my thinking as to why you are using UPD and INS?
↧