simulation date idoc2as2 , to find FA 997
SAP_BTA_Correlation_Sender_Trading_Partner_ID SAP_EDI_REC_Sender_ID 002331536
SAP_BTA_Correlation_Receiver_Trading_Partner_ID SAP_EDI_REC_Receiver_ID 001315704P
SAP_EDI_REC_Group_Control_Number 112
SAP_EDI_SND_Interchange_Control_Number 0000000000460072 (idoc number)
--------------------------------------------------------------------------------------------------------------------------
ISA*00* *00* *ZZ*002331536 *ZZ*001315704P *231208*1420*U*00401*112 *0*P*^~
GS*AR*002331536*001315704P*20231208*142045*112*X*004010~ST*943*00001~
W06*01*0080000434~
N1*MF*WL Gore~
N1*MF*WL Gore~
N1*MF*WL Gore~
N1*MF*WL Gore~
N1*MF*WL Gore~
N1*MF*WL Gore~
N1*MF*WL Gore~
W27*Heavy Air~
W04*45.000*EA~
W03*45.000~
SE*13*112~
GE*1*112~
IEA*1*112~
ISA*00* *00* *ZZ*001315704P *ZZ*002331536 *231208*1420*U*00401*000000112*0*P*^~
GS*FA*001315704P*002331536*20231208*1420*112*X*004010~
ST*997*0001~
AK1*AR*112*004010~
AK2*943*00001~
AK5*A~
AK9*A*1*1*1~
SE*7*0001~
GE*1*112~
IEA*1*000000112~
----------------------------------------------------------------------
MUST take output of group control number : output of as2, 1) can not access from tpm, genarated after mapping object.
2) idoc number can from header,
3) senderid, receiver id, gc, time, are from payload.
4) post iflow ;create datastore. save.(global)
5) pre-iflow: get sender id, receiver id, AK1(ge), AK9(2) sender payload ,
key: sender,receiver,(documenty type): control : idoc number write
get: sender,receiver,(documenty type): control get idoc number; if match, send idoc to sender;
----------------------
<BusinessTransactionActivity>
<AgreementID>${property.Agreement_ID}</AgreementID> af839c2a393a4c6d982b429eac316052
<BusinessTransactionID>${property.Transaction_ID}</BusinessTransactionID>
<BusinessDocumentID>${property.Document_ID}</BusinessDocumentID> Document_ID 3611c9256ccb5d14647d6f5e70eacd4a
<InterchangeControlNumber>${property.SAP_EDI_REC_Interchange_Control_Number}</InterchangeControlNumber> 112
<SenderTradingPartnerID>${property.SAP_TPA_SND_Trading_Partner_ID}</SenderTradingPartnerID>
<ReceiverTradingPartnerID>${property.SAP_TPA_REC_Trading_Partner_ID}</ReceiverTradingPartnerID>
<InterchangeDateTime>${header.SAP_EDI_Interchange_DateTime}</InterchangeDateTime> 2023-12-08T12:20:44
<FunctionalAckRequest>${property.SAP_EDI_REC_Acknowledgement_Request}</FunctionalAckRequest>
</BusinessTransactionActivity>