cancel
Showing results for 
Search instead for 
Did you mean: 

delete SFC with leading space

robert_altenstraer
Active Participant
0 Kudos

Hi to everyone...

SAP ME 6.4... Standard Functions..

unfortunally we create a SFC ( via serialization ) with an leading space...

on the DB at Table SFC we have now 2 entries ( with and without leading space ).

At all reports I can see a mix of both SFC´s, and when I want to use the standard ME SFC Delete function... I get always the wrong...

How Can I delete the SFC with leading space ? and be sure, the right one ( without leading space .. ) will be not deleted..

Accepted Solutions (1)

Accepted Solutions (1)

stuarta1
Active Participant
0 Kudos

Robert

As always, by testing it on a test server first. You are into the realms of "no one knows how the system will behave" since it should not be permissible to create an SFC with a leading or trailing space, but the application allowed it. Then, as you found, some activities will strip the space from the input whenever you try to use it.

I tried the archive activity and it worked OK for me, in version 6.1.4.

Stuart

Answers (3)

Answers (3)

robert_altenstraer
Active Participant
0 Kudos

Hi Stuart

sorry for my late reply, ,, meanwhile I tested it in QA and also in Prod System...

well, it works as expected !!!! means when you archive the SFC with leading blank.. it moves really that one to the ODS .

Thanks Robert

robert_altenstraer
Active Participant
0 Kudos

Hi Stuart, thanks for reply..

but how can I be shure that all selects inside of the Activity do really select with space ?

ie.: select * from SFC where handle like ....

Robert

stuarta1
Active Participant
0 Kudos

Try using the Archive activity to move the SFC with a space out of the WIP database and send it to ODS at least.

SFC Delete only marks the status as "deleted" and does not really remove it from the system.

Stuart