SAP ABAP Function Module POS_SA_SET_DOCUMENT_STATUS (POS-Status eines externen Beleges ändern)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷ CRM (Application Component) Customer Relationship Management
⤷ CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷ WPOS (Package) IS-R: POS interface
⤷ CRM (Application Component) Customer Relationship Management
⤷ CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷ WPOS (Package) IS-R: POS interface
Basic Data
Function Module | POS_SA_SET_DOCUMENT_STATUS | POS-Status eines externen Beleges ändern |
Function Group | WPSA | FM for Sales Audit |
Program Name | SAPLWPSA | FM for Sales Audit |
INCLUDE Name | LWPSAU07 |
Parameters
Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
---|---|---|---|---|---|---|---|
Importing | DOCNUM | TYPE | EDIDC-DOCNUM | IDoc of external document | |||
Importing | SEGNUM | TYPE | EDIDD-SEGNUM | Starting segment of external document | |||
Importing | SEGNUM_END | TYPE | EDIDD-SEGNUM | End segment of external document | |||
Importing | STATUS_NEW | TYPE | POSWPSA-STATUS | New status | |||
Importing | STATUS_OLD | TYPE | POSWPSA-STATUS | Previous status | |||
Importing | MESTYP | TYPE | EDIDC-MESTYP | ||||
Importing | SNDPRN | TYPE | EDIDC-SNDPRN | Partnernummer des Absenders | |||
Importing | EXT_OBJID | TYPE | OBJECTCONN-OBJECTID | Number of external document | |||
Importing | INBOUND | TYPE | C | Only set to 'X' for inbound processing | |||
Importing | CHECK_STATUS | TYPE | C | 'X' to check if switching mode allowed | |||
Importing | VERARBEND | TYPE | WPTST-VERARBEND | Last processed segment, see STATUS_OLD | |||
Tables | DOC_STATUS | TYPE | WPUSA_T_DOC_STATUS | Document status, output, for entry see STATUS_OLD | |||
Tables | DOC_REASON | TYPE | WPUSA_T_DOC_REASON | Change reasons, entry | |||
Tables | DOC_CHANGES | TYPE | WPUSA_T_DOC_CHANGES | Change history, entry | |||
Tables | T_EDIDS | TYPE | WPUSA_T_EDIDS | Output, for input see STATUS_OLD | |||
Tables | T_WPTST | TYPE | WPUSA_T_WPTST | Output, for input see STATUS_OLD | |||
Tables | T_WPLST | TYPE | WPUSA_T_WPLST | Output, for input see STATUS_OLD | |||
Exception | CHANGE_NOT_ALLOWED | TYPE | Status change not possible | ||||
Exception | FOREIGN_LOCK | TYPE | IDoc blocked | ||||
Exception | IDOC_NOT_EXIST | TYPE | IDoc does not exist | ||||
Exception | DB_ERROR | TYPE | Database error | ||||
Exception | UNKNOWN_EXCEPTION | TYPE | Unknown exception occurred | ||||
Exception | RANGE_NOT_EXIST | TYPE | No external document from SEGNUM to SEGNUM_END | ||||
Processing Type
Normal Function Module | |
Remote-Enabled Module | BaseXML supported |
Update Module | Start immediately |
Immediate Start, No Restart | |
Start Delayed | |
Coll.run | |
JAVA Module Callable from ABAP | |
Remote-Enabled JAVA Module | |
Module Callable from JAVA |
History
Last changed by/on | SAP | 19970813 |
SAP Release Created in |