SAP Reports / Programs | Sales and Distribution | POS Interface(SD-POS) SAP SD

MWPUKF04 SAP ABAP INCLUDE - Form Routines POS Simulation







MWPUKF04 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MWPUKF04 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MWPUKF04. "Basic submit
SUBMIT MWPUKF04 AND RETURN. "Return to original report after report execution complete
SUBMIT MWPUKF04 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: XAUTH_NO = ?...(XAUTH_NO
Selection Text: V_VTWEG = Distrib. chnl
Selection Text: V_SATNR = Gen. material no.
Selection Text: V_MATNR = Ad. media
Selection Text: V_LIFNR = Vendors
Selection Text: V_FILIA = Plants
Selection Text: V_ARTNR = Item
Selection Text: V_AKTHE = Theme
Selection Text: VTWEG = ?...(VTWEG)
Selection Text: VONKONTO = Account number
Selection Text: VKORG = Sales organization
Selection Text: VKONT = From account
Selection Text: USNAM = Changed by
Selection Text: TXT20 = TXT20
Selection Text: S_VTWEG = Distrib. chnl
Selection Text: S_SATNR = Gen. materal no.
Selection Text: S_NET_LE = Net margin <=
Selection Text: SPART = Division
Selection Text: NAME1 = Name 1
Selection Text: MABER = Dunning area
Selection Text: KTOPL = Chart of accounts
Selection Text: KOART = Account type
Selection Text: KKBER = Credit control area
Selection Text: GJAHR = ?...(GJAHR)
Selection Text: FUNCL = ?...(FUNCL)
Selection Text: FNAME = ?...(FNAME)
Selection Text: EKORG = ?...(EKORG)
Selection Text: DYNCL = ?...(DYNCL)
Selection Text: DATUM = From change date
Selection Text: CALLD = ?...(CALLD)
Selection Text: BUKRS = Company codes
Selection Text: BELNR = ?...(BELNR)
Selection Text: BANKS = ?...(BANKS)
Selection Text: BANKL = ?...(BANKL)
Title: Form Routines POS Simulation
Title: Form Routines POS Simulation
Text Symbol: T05 = Change document
Text Symbol: T04 = Overview





Text Symbol: T03 = Deletions
Text Symbol: T02 = Entries
Text Symbol: 311 = Promotion:
Text Symbol: 310 = Display prices and margins for promtion &
E ThemesSS_ARTNR Material no.SS_AUF_GE Mark-up % rate >=SS_AUF_LE


INCLUDES used within this REPORT MWPUKF04

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

POS_EDI_STATUS_READ call function 'POS_EDI_STATUS_READ' exporting docnum = g_idoc_out-docnum langua = sy-langu importing descrp = g_idoc_out-descrp statva = g_idoc_out-statva status_error = g_idoc_out-error changing status = g_idoc_out-status exceptions idoc_not_found = 01 valence_not_found = 02 description_not_found = 03.

POS_EDI_STATUS_READ call function 'POS_EDI_STATUS_READ' exporting docnum = g_idoc_in-docnum langua = sy-langu importing descrp = g_idoc_in-descrp statva = g_idoc_in-statva status_error = g_idoc_in-error changing status = g_idoc_in-status exceptions idoc_not_found = 01 valence_not_found = 02 description_not_found = 03.

POS_SA_IDOC_NUM_COMPRESS call function 'POS_SA_IDOC_NUM_COMPRESS' exporting docnum = g_idoc_in-docnum importing compressed = g_idoc_in-comnum.

WRITE_MESSAGE_NEW call function 'WRITE_MESSAGE_NEW' exporting msgid = msgid msgno = msgno msgty = t_wplst-fehlertyp msgv1 = t_wplst-parameter1 msgv2 = t_wplst-parameter2 msgv3 = t_wplst-parameter3 msgv4 = t_wplst-parameter4 msgv5 = ' ' importing messg = g_message.

KNA1_SINGLE_READ call function 'KNA1_SINGLE_READ' exporting kna1_kunnr = g_filiale importing wkna1 = kna1 exceptions others = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MWPUKF04 or its description.