cancel
Showing results for 
Search instead for 
Did you mean: 

B2B add On tables: Cannot find next state and action for current state

anu_patyath
Explorer
0 Kudos

Hello Experts,

I have a strange error in our testing environment. Everything works in Development environment and I need your help on how we can rectify the error.

When we try to send a DESADV D93A EAN004 message in testing environment I am getting an error "

Cannot find next state and action for current state "B2B,BGM" and segment "GIN" , but in development environment it just works fine. When I check for the reason for the same with help of log files

in test environment it has a line

foundSegmentAction: state = SG15,LIN, segment = GIN, content = BX+1972015, actions = [StateChange] from SG15,LIN to SG10,CPS with segment GIN; [EndElement] with element name G_SG15; [Repeat], fromCache = true
executingAction: action = [StateChange] from SG15,LIN to SG10,CPS with segment GIN
stateChanged: oldState = SG15,LIN, newState = SG10,CPS

whereas in development environment it says

foundSegmentAction: state = SG15,LIN, segment = GIN, content = BX+1972015, actions = [StateChange] from SG15,LIN to SG15,LIN with segment GIN; [StartElement] with element name S_GIN;

GIN segment of the DESADV D93A EAN004 is under SG15 , LIN and SG10 is parent of the SG15.

So as you can see in test environment it is referring to a wrong parent group SG10 and not working . Does anybody got any idea on how to solve this?

Accepted Solutions (0)

Answers (1)

Answers (1)

anu_patyath
Explorer
0 Kudos

Hi Experts,

We were able to resolve it. The trick is to add the entry in B2B_EDI_CTRL_MSG across all environments.

In our case one of our colleagues had added this entry in development environment as part of his development ,but had not done in our test and production system. So when we added the entry across all environments it worked fine.

CTRL_KEY MESSAGETYPE MESSAGEVERSION STATUS_CURRENT SEGMENT STATUS_NEW SEG_ACTION MESSAGESUBVERSION MESSAGEAGENCY

10,000DESADV93ASG15,LINGINSG15,LIN<S_GIN>|C|</S_GIN>EAN004UN

Thanks

Anu