2010 Sep 17 11:42 AM
i am working on a userexit EXIT_SAPLCOIH_010: PM Order: Customer Enhancement for Determination of WBS Element
but i wish to pull in extra data from a structure i have found in the stack trace: SAPLIQS0 / WVIQMEL
is it possible to make this data available for me for my logic?
the exit is called in the order creation within IW51 - create notification, but the fields i need to validate to determine the WBS Element are available on the Notification and not the Order or structure CAUFVD. The order is saved to the database before the notification is committed so i am unable to obtain the data from the DB even though i have the QMNUM from QMEL.
any ideas on how i can import/make/read this table that must be held in memory somewhere?
2010 Sep 17 11:42 AM
2010 Sep 17 11:42 AM
2010 Sep 17 11:56 AM
Thank you Florian
i have looked at the F1 keyword help on "Assign" however maybe i am misinterpreting the help....
The label in name can also have the form (PROG)DOBJ for internal use only, where PROG is the name of an ABAP program and DOBJ is the name of a global data object of this program. If the program PROG is loaded during execution of the statement ASSIGN in the same internalmode as the current program, the data object (PROG)DOBJ is searched for in this program, and the field symbol points to this data object after the object has been successfully assigned.
so i have added....
ASSIGN (SAPLIQS0)WVIQMEL TO <fs>.unfortunately, when i debug the code, it does not give me the desired result.
2010 Sep 17 11:59 AM
oh i always have problems with this syntax as well.
it think it should read
ASSIGN ('(SAPLIQS0)WVIQMEL') TO <fs>.
just be aware of the word DIRTY in the nomencalture use this for READING purposes only, and please NEVER for modifying purpuses or you may get inconsistent data.
Edited by: Florian Kemmer on Sep 17, 2010 1:00 PM
2010 Sep 17 12:01 PM
2010 Sep 17 12:06 PM
I am not sure but maybe function module IQS0_BUFFER_GET can do the trick.