SAPLINK Install/Upgrade Issue - CREATE_PFSTATUS Dump

449 views
Skip to first unread message

Adam Majors

unread,
Sep 28, 2017, 11:41:45 AM9/28/17
to XLSX Workbench
I was upgrading from version 3.09 to 4.05 when I got short dump.  If I re-run and break at the error, skip over the 'raise exception' it continues just fine.  I do have to go back and manually add the missing PF_STATUS items.  Is there something missing in the nugg or did I just do something horribly wrong? I've been using this program for over 2 years now, and we love it.

Igor

unread,
Sep 29, 2017, 10:51:22 AM9/29/17
to XLSX Workbench
Hi Adams! 
It seems SAPLINK is working incorrectly in Your system. The nugget is being uploaded into my test system without any dumps. I can`t reproduce this issue.
Best regards, Igor.

mark.va...@gmail.com

unread,
Jan 3, 2019, 7:55:20 AM1/3/19
to XLSX Workbench
I encountered the same problem with a fresh saplink install.
The system in question is an S/4 1709, with sap_basis release 752.0002 and sap_aba release 75c.0002. The exception is being raised becauce function call RS_CUA_INTERNAL_WRITE ended with sy-subrc = 2 (others).

I debugged the FM and found that in form check_adm, there is a check:
*& checks if the ADM data is set
*& (e.g. UDO writes this data empty or with old named codes)
if l_adm-actcode CN ' 0123456789' or
l_adm-mencode CN ' 0123456789' or
l_adm-pfkcode CN ' 0123456789'.
p_not_ok = 'X'.
endif.
In my case, l_adm-actcode contains value X, which I suppose is an old code that is no longer accepted.

So my guess is that (at least internally) the PFSTATUS system has changed in the latest NW version, and Saplink needs to be updated to be compatible with this change.

mark.va...@gmail.com

unread,
Jan 3, 2019, 8:16:44 AM1/3/19
to XLSX Workbench
I solved the problem by replacing
* xadm-actcode = 'X'. " Issues #276
with
xadm-actcode = '00000000000000000001'. " Issues #276

Now the Gui status is created by saplink without manual work. I'm not sure if it's 100% correct, but in the saplink install nugget it says:
<pfstatus_sta CODE="SELOBJ" MODAL="D" ACTCODE="000001" PFKCODE="000001" BUTCODE="0001" INT_NOTE="Standard für allgemeine Listausgabe"/>
So that makes me suspect that actcode 1 should be OK.

Igor

unread,
Jan 3, 2019, 2:59:04 PM1/3/19
to XLSX Workbench
Hi Mark,
SapLink is not my project, I just use it for XLSX Workbench installation. So, if you encountered the problem, contact to SapLink develop team.
But you also can install XLSX Workbench components manually, it is not difficult.
https://sites.google.com/site/sapxlwb/home/eng/install/manually
Reply all
Reply to author
Forward
0 new messages