Program terminated error after entering sold to party no. in sales order

hello friends,
                  can any help me, i was doing the topic of user exit for pre-defined sold to party using v45a0002 in cmod and i wrote a program for include 'if sy-uname= 'sapuser'.
message e000(0) with ' you are not authorised to create so'
endif
while activating i got error msg 'The last statement is not complete (period missing)."  & i have saved inspite error
after i tried create a order
program terminated error after entering sold to party no. in sales order
so i have deactivated the project created in cmod & deleted the project inspite i am getting the program terminated error
i am sending total error plz reply quickly urgent friends
Runtime Errors         SYNTAX_ERROR
Date and Time          19.04.2008 17:51:58
ShrtText
Syntax error in program "SAPLXVVA ".
What happened?
Error in ABAP application program.
The current ABAP program "SAPLVKMP" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
In program "SAPLXVVA ", the following syntax error occurred
in the Include "ZXVVAU04 " in line 5:
"The last statement is not complete (period missing)."
Author and last person to change the Include are:
Author "SAPUSER "
Last changed by "SAPUSER "
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "SAPLXVVA ".
You can also perform the syntax check from the ABAP/4 Editor.
If the problem persists, proceed as follows:
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
Error analysis
In program "SAPLXVVA ", the following syntax error occurred:
"The last statement is not complete (period missing)."
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "640"
Application server....... "mtpl7"
Network address.......... "192.100.10.1"
Operating system......... "Windows NT"
Release.................. "5.1"
Hardware type............ "2x Intel 801586"
Character length......... 8 Bits
Pointer length........... 32 Bits
Work process number...... 0
Short dump setting....... "full"
Database server.......... "MTPL7"
Database type............ "ORACLE"
Database name............ "ERP"
Database owner........... "SAPERP"
Character set............ "English_United State"
SAP kernel............... "640"
Created on............... "Nov 4 2004 23:26:03"
Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version......... "OCI_920_SHARE "
Patch level.............. "43"
Patch text............... " "
Supported environment....
Database................. "ORACLE 8.1.7.., ORACLE 9.2.0.."
SAP database version..... "640"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory usage.............
Roll..................... 8112
EM....................... 8362368
Heap..................... 0
Page..................... 122880
MM Used.................. 4229224
MM Free.................. 995472
SAP Release.............. "640"
User and Transaction
Client.............. 800
User................ "SAPUSER"
Language key........ "E"
Transaction......... "VA01 "
Program............. "SAPLVKMP"
Screen.............. "SAPMV45A 4701"
Screen line......... 16
Information on where terminated
The termination occurred in the ABAP program "SAPLVKMP" in
"SD_DETERMINE_KKBER".
The main program was "SAPMV45A ".
The termination occurred in line 0 of the source code of the (Include)
program " "
of the source code of program " " (when calling the editor 00).
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
0
SY-TABIX
1
SY-DBCNT
1
SY-FDPOS
4
SY-LSIND
0
SY-PAGNO
1
SY-LINNO
8
SY-COLNO
1
SY-PFKEY
U
SY-UCOMM
SY-TITLE
Create Standard Order kb: Overview
SY-MSGTY
E
SY-MSGID
VP
SY-MSGNO
106
SY-MSGV1
BUS2032
SY-MSGV2
SY-MSGV3
SY-MSGV4
Active Calls/Events
No.   Ty.          Program                             Include                             Line
Name
13 FUNCTION     SAPLVKMP                            LVKMPU41                               91
SD_DETERMINE_KKBER
12 FUNCTION     SAPLVKMP                            LVKMPU41                               91
SD_DETERMINE_KKBER
11 FUNCTION     SAPLV09B                            LV09BU30                              148
SD_PCHECK_PAYER_IN_CREDITAREA
10 FUNCTION     SAPLV09B                            LV09BU26                              296
SD_PARTNER_EXECUTE_CHECKS
9 FUNCTION     SAPLV09B                            LV09BU25                               57
SD_PARTNER_CHECK_BEFORE
8 FUNCTION     SAPLV09A                            LV09AU26                              342
SD_PARTNER_SINGLE_MODIFY
7 FORM         SAPLV09A                            LV09AF39                              176
PARTNER_SELECTION
6 FUNCTION     SAPLV09A                            LV09AU29                              820
SD_PARTNER_DETERMINATION
5 FUNCTION     SAPLV05E                            LV05EU01                              654
VIEW_KUAGV
4 FORM         SAPMV45A                            MV45AF0K_KUAGV_SELECT                  40
KUAGV_SELECT
3 FORM         SAPMV45A                            MV45AF0A_AUFTRAGGEBER_PRUEFEN          46
AUFTRAGGEBER_PRUEFEN
2 FORM         SAPMV45A                            MV45AF0K_KUNDEN_PRUEFEN               454
KUNDEN_PRUEFEN
1 MODULE (PAI) SAPMV45A                            MV45AI0K_KUNDEN_PRUEFEN                15
KUNDEN_PRUEFEN
Chosen variables
Name
Val.
No.      13 Ty.          FUNCTION
Name  SD_DETERMINE_KKBER
I_KKBER_KNVV
2222
0000
I_KKBER_T001
8888
3333
8888
I_KKBER_TVTA
2222
0000
I_KUNNR
7000000000
3333333333
7000000000
I_SPART
SM
54
3D
I_VKORG
T000
5333
4000
I_VTWEG
S4
53
34
XVBAK
00000000000000            000000000000000000000000         00000000
2222222222222333333333333332222222222223333333333333333333333332222222223333333322222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
E_KNVV_FLG
2
0
RC
0
0000
0000
XVBKD[]
Table[initial]
XVBPA[]
Table IT_1743[2x542]
FUNCTION=SD_PCHECK_PAYER_IN_CREDITAREADATA=LVT_CREDIT_XVBPA
Table reference: 275
TABH+  0(20) = 70A2883B388BC43B0000000013010000CF060000
TABH+ 20(20) = 020000001E020000FFFFFFFF04910100D82F0000
TABH+ 40( 8) = 02000000C1248400
store        = 0x70A2883B
ext1         = 0x388BC43B
shmId        = 0     (0x00000000)
id           = 275   (0x13010000)
label        = 1743  (0xCF060000)
fill         = 2     (0x02000000)
leng         = 542   (0x1E020000)
loop         = -1    (0xFFFFFFFF)
xtyp         = TYPE#000209
occu         = 2     (0x02000000)
access       = 1     (ItAccessStandard)
idxKind      = 0     (ItIndexNone)
uniKind      = 2     (ItUniqueNon)
keyKind      = 1     (default)
cmpMode      = 2     (cmpSingleMcmpR)
occu0        = 1
collHash     = 0
groupCntl    = 0
rfc          = 0
unShareable  = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId  = 0
gcKind       = 0
isUsed       = 1
>>>>> Shareable Table Header Data <<<<<
tabi         = 0x28C1883B
pghook       = 0x00000000
idxPtr       = 0x00000000
refCount     = 1     (0x01000000)
tstRefCount  = 0     (0x00000000)
lineAdmin    = 2     (0x02000000)
lineAlloc    = 2     (0x02000000)
store_id     = 690   (0xB2020000)
shmIsReadOnly = 0     (0x00000000)
>>>>> 1st level extension part <<<<<
regHook      = 0x00000000
hsdir        = 0x00000000
ext2         = 0x28A4883B
>>>>> 2nd level extension part <<<<<
tabhBack     = 0x109C883B
delta_head   = 000000000000000000000000000000000000000000000000000000000000000000000000
pb_func      = 0x00000000
pb_handle    = 0x00000000
I_KKBER
2222
0000
FCODE_KOMM_LIEF_MENGE_SICH
MOD2
44432222222222222222
DF420000000000000000
SYST-REPID
SAPLVKMP
5454544522222222222222222222222222222222
310C6BD000000000000000000000000000000000
%_SPACE
2
0
FCODE_KONFIGURATION1
POKO
54442222222222222222
0FBF0000000000000000
CREDIT_CHECK
2222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000
SY-REPID
SAPLVKMP
5454544522222222222222222222222222222222
310C6BD000000000000000000000000000000000
SAV_BUKRS
SS00
5533
3300
CHAR_
2
0
%_DUMMY$$
2222
0000
AUTOMO_VOLVO
08
33
08
SPACE
2
0
FCODE_ABRUF_GENERIEREN
PABG
54442222222222222222
01270000000000000000
XVBRK
00000000          0000000
2222222222222222222222222222222222222222222222223333333322222222223333333222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
KOPGR_LIEFERPLAN
LL
4422
CC00
FCODE_ZUSAETZE_FAB
PFZU
54552222222222222222
06A50000000000000000
FCODE_REPARATUR
PREP
55452222222222222222
02500000000000000000
XVBKD
000000                                                 #####0000000000       ####
2222222222222333333222222222222222222222222222222222222222222222222200000333333333322222220000
000000000000000000000000000000000000000000000000000000000000000000000000C000000000000000000000
FCODE_GEFAHRGUT
KGGP
44452222222222222222
B7700000000000000000
I_KKBER_HELP
2222
0000
T001
800SS00SRIYA TEXTILES           HYDERABAD                IN INR  EINT 10K41      0000050495DE1
3335533554542545544452222222222245445444422222222222222224424452244452334332222223333333333443
800330032991045849C530000000000089452121400000000000000009E09E20059E4010B410000000000050495451
FCODE_STOFFBERICHTE
IEHS
44452222222222222222
95830000000000000000
T001-BUKRS
SS00
5533
3300
No.      12 Ty.          FUNCTION
Name  SD_DETERMINE_KKBER
I_KKBER_KNVV
2222
0000
I_KKBER_T001
8888
3333
8888
I_KKBER_TVTA
2222
0000
I_KUNNR
7000000000
3333333333
7000000000
I_SPART
SM
54
3D
I_VKORG
T000
5333
4000
I_VTWEG
S4
53
34
XVBAK
00000000000000            000000000000000000000000         00000000
2222222222222333333333333332222222222223333333333333333333333332222222223333333322222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
E_KNVV_FLG
2
0
RC
0
0000
0000
XVBKD[]
Table[initial]
XVBPA[]
Table IT_1743[2x542]
I_KKBER
2222
0000
XVBKD
000000                                                 #####0000000000       ####
2222222222222333333222222222222222222222222222222222222222222222222200000333333333322222220000
000000000000000000000000000000000000000000000000000000000000000000000000C000000000000000000000
I_KKBER_HELP
2222
0000
No.      11 Ty.          FUNCTION
Name  SD_PCHECK_PAYER_IN_CREDITAREA
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_CHECKTYPE
I
4
9
FIF_MSGTYPE
E
4
5
FIF_NRART
KU
45
B5
FIF_PARGR
TA
5422
4100
FIF_PARNR
7000000000
3333333333
7000000000
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_RTYPE
0003
3333
0003
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FRF_MESSAGES
0
0000
0000
FRF_MESSAGE_COUNT
0
0000
0000
LVF_KKBER2
2222
0000
LVF_KUNNR
7000000000
3333333333
7000000000
SYST-REPID
SAPLV09B
5454533422222222222222222222222222222222
310C609200000000000000000000000000000000
LVF_KURGV2
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
SY-MSGV4
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
SY-MSGV2
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
FIS_SDORGDATA-SPART
SM
54
3D
FIS_SDORGDATA-VKORG
T000
5333
4000
FIS_SDORGDATA-VTWEG
S4
53
34
%_O_SD_PARTNER_CONTEXT-HEX_0004
1
0
LVT_CREDIT_XVBPA
Table IT_1743[2x542]
LVF_KKBER1
2222
0000
GCS_HERTAB
ABCDEFG
24444444
01234567
%_DUMMY$$
2222
0000
SY-SUBRC
0
0000
0000
LVF_BEFORE_PARVW
2222
0000
No.      10 Ty.          FUNCTION
Name  SD_PARTNER_EXECUTE_CHECKS
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_BEFORE
2
0
FIF_CHECKTYPE
I
4
9
FIF_DIALOG
2
0
FIF_MSGTYPE_TO_EXEC
E
4222
5000
FIF_NRART
KU
45
B5
FIF_PARGR
TA
5422
4100
FIF_PARNR
7000000000
3333333333
7000000000
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_RTYPE
0003
3333
0003
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FRF_MESSAGES
0
0000
0000
FRF_MESSAGE_COUNT
0
0000
0000
LVF_ALL_PREDECESSORS_SUCCEEDED
X
5
8
FALSE
2
0
GS_MARKED_PARTNERS
222222222222
000000000000
LVT_CHECKCALLSTACK
Table IT_1515[21x52]
FUNCTION=SD_PARTNER_EXECUTE_CHECKSDATA=LVT_CHECKCALLSTACK
Table reference: 219
TABH+  0(20) = E8C3863B0000000000000000DB000000EB050000
TABH+ 20(20) = 1500000034000000F00000000491010058090000
TABH+ 40( 8) = 15000000C1248000
store        = 0xE8C3863B
ext1         = 0x00000000
shmId        = 0     (0x00000000)
id           = 219   (0xDB000000)
label        = 1515  (0xEB050000)
fill         = 21    (0x15000000)
leng         = 52    (0x34000000)
loop         = 240   (0xF0000000)
xtyp         = TYPE#000033
occu         = 21    (0x15000000)
access       = 1     (ItAccessStandard)
idxKind      = 0     (ItIndexNone)
uniKind      = 2     (ItUniqueNon)
keyKind      = 1     (default)
cmpMode      = 2     (cmpSingleMcmpR)
occu0        = 1
collHash     = 0
groupCntl    = 0
rfc          = 0
unShareable  = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId  = 0
gcKind       = 0
isUsed       = 1
>>>>> Shareable Table Header Data <<<<<
tabi         = 0x90BF863B
pghook       = 0x00000000
idxPtr       = 0x00000000
refCount     = 0     (0x00000000)
tstRefCount  = 0     (0x00000000)
lineAdmin    = 21    (0x15000000)
lineAlloc    = 21    (0x15000000)
store_id     = 595   (0x53020000)
shmIsReadOnly = 0     (0x00000000)
>>>>> 1st level extension part <<<<<
regHook      = Not allocated
hsdir        = Not allocated
ext2         = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack     = Not allocated
delta_head   = Not allocated
pb_func      = Not allocated
pb_handle    = Not allocated
LVS_CHECKCALLSTACK_WA
80000018BUS2030   SD_PCHECK_PAYER_IN_CREDITAREA   XX
3333333345533332225455444445545455445454445454422255
80000018253203000034F03853BF01952F9EF325494125100088
GT_MARKED_FOR_DEL_PARTNERS
Table[initial]
LVS_CHECKCALLSTACK_WA-FUNCNAME
SD_PCHECK_PAYER_IN_CREDITAREA
545544444554545544545444545442
34F03853BF01952F9EF32549412510
GC_NO_ACTION
2
0
GC_NEW_PARTNER
I
4
9
GVC_PARTNER_CONTEXT
CONTEXT_X_SD_PARTNER_CONTEXT            fò####################################################
44454555555455455445544454552222222222226F0000000000000000000000000000000000000000000000000000
3FE4584F8F34F0124E52F3FE4584000000000000620000000000000000000000000000000000000000000000000000
GC_ERROR
E
4
5
GC_PROCESSMODE_DIALOG
D
4
4
LVF_MSGTYP
E
4
5
BUFFER_FULL_FILLED
F
4
6
POS_NUL
000000
333333
000000
BUFFER_PARTITIAL_FILLED
P
5
0
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GCS_PARTNER_ROLETYPES
0001000200030004000500060007000800090010001100120013NONE
33333333333333333333333333333333333333333333333333334444
0001000200030004000500060007000800090010001100120013EFE5
GCS_PARTNER_TYPE
KUAPLIPE
45454454
B510C905
LVF_RTYPE
0003
3333
0003
GCS_PARTNER_CALL_BACK_EVENTS
CHANGE    DELETE    NEW
444444222244445422224452222222
381E75000045C5450000E570000000
%_PRINT
000                                                                                0 ##
2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GCF_INITIAL_PARTNER
0
32
00
GCF_CALLER_TRANSPORT
T
5
4
TPACHECKRELATION
0000000000
2223333333333
0000000000000
GC_APPL_LOG
SDBFPD
54445422222222222222
34260400000000000000
SY-REPID
SAPLV09B
5454533422222222222222222222222222222222
310C609200000000000000000000000000000000
GVC_PARTNER_CONTEXT-B0007-PARVW
RG
54
27
No.       9 Ty.          FUNCTION
Name  SD_PARTNER_CHECK_BEFORE
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_BEFORE
2
0
FIF_CHECKTYPE
I
4
9
FIF_DIALOG
2
0
FIF_NRART
KU
45
B5
FIF_PARGR
TA
5422
4100
FIF_PARNR
7000000000
3333333333
7000000000
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_RTYPE
0003
3333
0003
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FRF_MESSAGES
0
0000
0000
FRF_MESSAGE_COUNT
0
0000
0000
LS_STATISTICS
########################4   ################
00000000000000000000000032220000000000000000
00000000000000000000000040000000000000000000
No.       8 Ty.          FUNCTION
Name  SD_PARTNER_SINGLE_MODIFY
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_BOKRE
2
0
FIF_CLEAR_APPL_LOG
X
5
8
FIF_DIALOG
2
0
FIF_HARD_DELETION
2
0
FIF_HISTUNR
00
33
00
FIF_HZUOR
00
33
00
FIF_INITIAL_VALUE
X
5
8
FIF_KNREF_PARNR
2222222222
0000000000
FIF_KUNNR_NEW
7000000000
3333333333
7000000000
FIF_KUNNR_OLD
2222222222
0000000000
FIF_LISTPROCESSING
2
0
FIF_MANUAL_ADDRESS
2222222222
0000000000
FIF_MANUAL_ADDRESS_ORIGIN
2
0
FIF_NO_CPD_DIALOG
2
0
FIF_NO_DIALOG
2
0
FIF_NO_MESSAGES
2
0
FIF_PARGR
TA
5422
4100
FIF_PARTIAL_NEW_DETERMINATION
2
0
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_PRFRE
2
0
FIF_VKORG
2222
0000
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FEV_ACTION_DONE
I
4
9
FRF_LOG_COUNT
0
0000
0000
SYST-REPID
SAPLV09A
5454533422222222222222222222222222222222
310C609100000000000000000000000000000000
GVT_LOCAL_CALL_BACK_MEMORY[]
Table[initial]
%_SPACE
2
0
SY-REPID
SAPLV09A
5454533422222222222222222222222222222222
310C609100000000000000000000000000000000
LVF_ACTION_TODO
I
4
9
GC_UPD_PARTNER
U
5
5
%_VIASELSCR
0
4
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GCS_PARTNER_ROLETYPES-SHIP_TO
0002
3333
0002
LVF_NRART
KU
45
B5
LVF_KUNNR_NEW
7000000000
3333333333
7000000000
GCS_ADDRESS_GROUP
SD01CA01
54334433
34013101
GCF_APPL_TABLE_SD
VBUK
5454222222
625B000000
LVF_ROLETYPE
0003
3333
0003
RSJOBINFO
00000000000000                                  ####
222222222222222222222222222222223333333333333322222222222222222222222222222222220000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000
LVF_MESSAGE_COUNT
0
0000
0000
%_DUMMY$$
2222
0000
GCF_ADDRESS_TYPE_CONT_PERSON
3
3
3
No.       7 Ty.          FORM
Name  PARTNER_SELECTION
TVTA
000
222222222222222222222222222222222333222222222222222
000000000000000000000000000000000000000000000000000
TPAER
00
22222222222222332222
00000000000000000000
LVS_XVBPA
000000RG7000000000          0000000000000000000000050510
2222222222222333333543333333333222222222233333333333333333333333333332222222222222222222222222
0000000000000000000277000000000000000000000000000000000000000000505100000000000000000000000000
LVF_PARNR
7000000000
3333333333
7000000000
PIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
PIC_OBJECTTYPE
BUS2032
4553333222
2532032000
PIF_NO_DIALOG
2
0
PIF_PARGR
TA
5422
4100
LVF_PARVW
RG
5422
2700
PIF_POSNR

Hi Kartik,
Could you please be more clearer as to how do you want me to proceed so that this syntax error stops bothering me while creating a standard order thru TCode VA01.Also what do you mean by "well comment the code in the include and activate the include"
I created a projet in CMOD and than added the enhancement  V45A0002.The components shown as EXIT_SAPMV45A_002(Predefined sold to party when making the standard order),i double click on the exit and entered into the function module.After that i double clicked on the include ZXVVZU04 and entered in and wrote E_KUNNR=100171
While activating i got error msg 'The last statement is not complete (period missing)." & i have saved inspite the error .After that i tried to create a order and program terminated error came after entering sold to party no. in sales order
so now i have deactivated the project which i created in CMOD & deleted the project also inspite of this i am getting the program terminated error while making the order
I would be great ful if somebody helps me *** out of this syntax error.
Thanks
Rishi

Similar Messages

  • Change the Sold to Party(SP) in sales order in change mode

    Hi,
    Is it possible to change the Sold to Party(SP) in sales order in change mode?
    If yes then How??
    Regards
    Somnath

    Hi somnath,
    It is very much possible to change the sold-to-party in the change mode of Sales order(VA02).
    Goto VA02-->enter the sale order number.
    Press enter.
    In the overview screen if you change the sold-to-party then every thing will be redetermined(Taxes and pricing procedure etc...).These will be determined from CMr etc.
    You cannot change the sold-to-party at the partners tab that is present in the Header details.
    It will be greyed out.
    If you change the sold-to-party at the overview screen as suggested earlier it will not apply to the item.
    You are also going to see this message while changing.
    And finally save the document.
    Regards,
    Krishna.

  • Report for Sold to Party code against Sales order number

    Hi,
            Is there any standard report to take out the Sold to Party code against Sales order number as i have the sales order number.
    I don't want to use Tables ,so pls tell standard report if any.

    Dear   Monty garg.
    You can use u201CVA05Nu201D to find the sales orders which have been created against for the particular customer/sold to party.
    Please let me know if any further clarifications pertinent to this.
    Thanks&Regards
    Raghu.k

  • Default sold to party coming in Sales order

    Hi,
    Whenever i am trying to create sales order the system automatically purpose a default number in the sold to party field.And there is no such customer master record maintained for this number.After deleting this number then i can able to create sales order.
    How to resolve it??
    Regards
    Jyoti

    Hi
    i think there is a user exit so that u r getting default sold to party
    It seems user exit V45A0002 is applied
    Go to transaction CMOD
    Create a project called ZVA01
    Choose the Enhancement assign radio button and press the Change button
    In the first column enter V45A0002 Predefine sold-to party in sales document.
    Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
    Press Save Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.
    Now the function module is displayed. Double click on include ZXVVAU04 in the function module
    Insert the following code into the include: E_KUNNR = ''.
    If there is any value After E_KUNNR remove it
    Activate the include program. Go back to CMOD and activate the project.
    Goto transaction VA01 and craete a salesorder.
    OR ELSE YOU CAN DEACTIVATE THE USER EXIT
    regards

  • How to validate Sold to party while creating sales order

    Hi All,
    I need to validate the sold to party which is entered when a order is created.
    I able to read the Partner no using the FM u2018CRM_ORDER_READ_OWu2019, but how can I check if this partner number has u2018sold to partyu2019 function assigned.
    Thanks & Regards
    Shanthi

    Hi Shanti,
    There is a little twist in the validation that you intend to do to meet your business requirement. I will provide you with the Sap help link also. Have a look at this and you will understand the same.
    [Partner Function|http://help.sap.com/saphelp_sm40/helpdata/EN/3c/92eceb484a11d5980800a0c9306667/content.htm] - Come to very end. Here there is a pictorial representation of how you can map a Partner function with the Business Partner Master Data. The system also maps in the similar way.
    The Database tables which might be of help to you are BUT050 - Business Partner Relationship Category,  CRMC_PARTNER_PFT - Definition of Partner Function Types. The rest you need to follow your own logic. I guess this will be enough to help you to get started. Let me know if you need any more inputs.
    Hope this helps.
    Thanks,
    Samantak.

  • Mutiple sold to party in one sales order???

    Hi,
    Is it possible for one sales order have mutiple sold-to party???
    If yes, how to do the split when in billing process for those mutiple sold-to parties?
    Thank you.

    Hoo laa,
    Do the following
    In Customizing for Sales and Distribution, choose Sales > Sales Documents > Scheduling Agreements with Delivery Schedules > Maintain planning delivery sched. instruct./splitting rules > Maintain Delivery Schedule Splitting Rules.
    Enter a name for your splitting rule.
    Enter a split share in the weekdays that you require for the forecast delivery schedule split.
    Define how the system reacts when schedule lines falls on a holiday.
    Specify how the system rounds schedule line quantities when generating a planning delivery schedule.
    Assign splitting rule ranges to an instruction.
    Choose Sales > Sales Documents >Scheduling Agreements with Delivery Schedules > Maintain planning delivery sched. instruct./splitting rules > Assign Delivery Schedule Splitting Rules.
    In the dialog box, specify for which instruction you are entering a splitting rule. Then enter a splitting rule and specify its ranges in weeks or months.

  • Error while entering product in Transactions- Opportunity and sales orders

    Hello Friends,
    I am facing a problem while entering products in Create opportunity screen with message no: COM_PRODUCT_SETTINGS001. I get the error as below.
    Product ID is longer than the Customizing setting allows
         Message no. COM_PRODUCT_SETTINGS001
    Diagnosis:
        The product ID 000000000000003115 contains more than 18 characters, that
        is, it is longer than the length defined in Customizing.
    I tried changing the "Product output format and storage form" to maximum  of 40 characters and tested it, the error still persists.
    Though I created some opportunities with same product ids before, I only face this issue after system has been updated with some latest patches. Is this issue anything to with updated patches?
    Appreciate your help on this.
    Regards,
    Suresh

    Hi Harshit,
    Thanks for the Relpy.
    I did search relevant notes, but could  not find anything related to CRM 7.0 version.
    Regards,
    Suresh

  • Please enter sold-to party or ship-to party USING BAPI_SALESORDER_CREATEFRO

    Hello Guys,
    Im having a hard time in inserting the data using BAPI_SALESORDER_CREATEFROMDAT2.
    The return error is Please enter sold-to party or ship-to party  how can i solve this?whats the reason  behind this?
    The return error are :
       |V4                  |219   |Sales document  was not changed        
       |VP                  |112   |Please enter sold-to party or ship-to pa
       |V4                  |219   |Sales document  was not changed        
    Please help. Will reward points to those helpful one.
    Thanks in advance.
    aVaDuDz
    This is my sample code.
    *& Report  Z_ORDER_CREATE_SPA_HBR
    REPORT  z_order_create_spa_hbr.
    Parameters
    PARAMETERS: p_order LIKE vbak-vbeln.
    We need to create a new order number P_New from an existing order
    *P_order
    linked to an existing quotation P_quote
    Tables
    TABLES: vbak,
            vbap,
            vbkd. "Sales Document: Business Data
    Data and internal table
    DATA:  order_header_in1       LIKE bapisdhd1.
    DATA:  order_header_intx      LIKE bapisdhd1x.
    DATA : salesdocument1         TYPE bapivbeln-vbeln.
    DATA : return2                TYPE bapiret2.
    DATA:  order_partners1        TYPE bapiparnr  OCCURS 0 WITH HEADER LINE.
    DATA:  order_items_in1        TYPE bapisditm  OCCURS 0 WITH HEADER LINE.
    DATA:  order_items_in1x       TYPE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA:  order_schedules_in1    TYPE bapischdl  OCCURS 0 WITH HEADER LINE.
    DATA:  order_schedules_in1x   TYPE bapischdlx OCCURS 0 WITH HEADER LINE.
    DATA : return1                TYPE bapiret2   OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
      PERFORM order_header_in.
      PERFORM ORDER_PARTNERS.
      PERFORM order_schedules_in.
      PERFORM ORDER_ITEMS_IN.
      PERFORM call_function.
    *& Form call_function
    text
    --> p1 text
    <-- p2 text
    FORM call_function .
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
        EXPORTING
       SALESDOCUMENTIN               = P_new
        order_header_in               = order_header_in1
      ORDER_HEADER_INX              = order_header_intX
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
      IMPORTING
        salesdocument                 = salesdocument1
      TABLES
        return                        = return1
        order_items_in                = order_items_in1
      ORDER_ITEMS_INX               = ORDER_ITEMS_IN1X
        order_partners                = order_partners1
        order_schedules_in            = order_schedules_in1
      ORDER_SCHEDULES_INX           = ORDER_SCHEDULES_IN1X
      ORDER_CONDITIONS_IN           =
      ORDER_CONDITIONS_INX          =
      ORDER_CFGS_REF                =
      ORDER_CFGS_INST               =
      ORDER_CFGS_PART_OF            =
      ORDER_CFGS_VALUE              =
      ORDER_CFGS_BLOB               =
      ORDER_CFGS_VK                 =
      ORDER_CFGS_REFINST            =
      ORDER_CCARD                   =
      ORDER_TEXT                    =
      ORDER_KEYS                    =
      EXTENSIONIN                   =
      PARTNERADDRESSES              =
      IF NOT salesdocument1 IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait   = 'X'
          IMPORTING
            return = return2.
      ELSE.
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      ENDIF.
    ENDFORM.                    "call_function
    *&      Form  ORDER_HEADER_IN
          text
    -->  p1        text
    <--  p2        text
    FORM order_header_in .
      order_header_in1-doc_type   = 'ZMCH'.
      order_header_in1-sales_org  =  '2000'.
      order_header_in1-distr_chan =  '20'.
      order_header_in1-division   =   '30'.
      order_header_in1-incoterms1 = 'FH'.
      order_header_in1-sales_off  = '3102'.
      order_header_in1-sales_grp = '301'.
      order_header_in1-ORD_REASON = 'Cost Center RelevanT'.
      order_header_in1-SALES_DIST  = '230144'.
      order_header_in1-PURCH_DATE = '07/31/2008'.
      order_header_in1-PURCH_NO_C = 'UPLOAD2-TEST'.
      APPEND order_items_in1.
    ENDFORM.                    " ORDER_HEADER_IN
    *&      Form  order_schedules_in
          text
    -->  p1        text
    <--  p2        text
    form order_schedules_in .
    order_schedules_in1-req_date     = sy-datum + 20.
      order_schedules_in1-req_qty      = vbap-kwmeng.
      APPEND order_schedules_in1.
    endform.                    " order_schedules_in
    *&      Form  ORDER_PARTNERS
          text
    -->  p1        text
    <--  p2        text
    form ORDER_PARTNERS .
      order_partners1-partn_role         = 'PH'.
      order_partners1-partn_numb         = '1200038'.
       APPEND order_partners1.
    endform.                    " ORDER_PARTNERS
    *&      Form  ORDER_ITEMS_IN
          text
    -->  p1        text
    <--  p2        text
    form ORDER_ITEMS_IN .
    order_items_in1-ITM_NUMBER = 1.
    order_items_in1-MATERIAL ='300040'.
    order_items_in1-TARGET_QTY = 1.
    order_items_in1-SALES_UNIT = 'MON'.
    APPEND order_items_in1.
    endform.                    " ORDER_ITEMS_IN

    Hi AVA MARIE TRINIDAD.
    Pass QUOTATION_PARTNERS-ITM_NUMBER = '0000000'.
    And pass customers like this.
    QUOTATION_PARTNERS-PARTN_NUMB = '1000000'.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
         INPUT         = QUOTATION_PARTNERS-PARTN_NUMB
      IMPORTING
        OUTPUT        = QUOTATION_PARTNERS-PARTN_NUMB

  • On Yahoo Mail...and ONLY Yahoo Mail..I get a 404 error after entering my user name and password. This doesn't happen with IE, just Firefox, and just Yahoo Mail. Yahoo was absouletly no help whatsoever; can you solve the mystery? Thanks

    On Yahoo Mail...and ONLY Yahoo Mail..I get a 404 error after entering my user name and password. This doesn't happen with IE, just Firefox, and just Yahoo Mail. I tried uninstalling and reinstalling FF; no change. Yahoo was absolutely no help whatsoever; can you solve the mystery? Thanks

    HI Emmet,
    thanks so much for your posts back. I really appreciate it and yes that does help to know that you could not get it working.
    I did have some success, in removing the SSL Authentication checkbox in the smtp server settings - I found that this allowed my friend to be able to send mail from the mail app via his sbcglobal (yahoo) account.
    So that did help but of course the messages do not have ssl encryption and I'm not sure how big a deal that is for an individual. He is able to receive mail but unless the SSL authentication box is unchecked, he cannot send.
    i hope that helps anyone out there also!
    Thanks also for the tip about sparrow - yes I have heard of it and it is very popular, he may end up using that in the end.    
    Thanks again, much appreciated.
    Felix    

  • Petstore error after entering the store

    I deployed the Petstore app without error to RI. After initially installing the tables, I receive the following error after entering the store:
    Oops! Your request cannot be completed. The server got the following error.
    com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureException
         at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getSCCEJB(ModelManager.java:130)
         at com.sun.j2ee.blueprints.petstore.control.web.ShoppingClientControllerWebImpl.(ShoppingClientControllerWebImpl.java:65)
         at com.sun.j2ee.blueprints.petstore.control.web.RequestProcessor.processRequest(RequestProcessor.java:75)
         at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doProcess(MainServlet.java:111)
         at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
         at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)
         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
         at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144)
         at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
         at java.lang.Thread.run(Thread.java:484)
    At this point I have no idea where to look. Any thoughts out there?
    TIA,
    Larry Molter
    Digital Fusion, Inc.

    I solved this by rebuilding the petstore application and deploying the petstore.ear from %JPS_HOME%\src\petstore\build. Even though I got warnings during the deployment, the application seems to run fine.
    Oh, well...

  • Sold-to party 1000003 and sales area PECC/10/02 (for ZWEB) are incompatible

    Hello,
    We're configuring SAP CRM 7.0 ISA with ERP Sales Order.
    After login into ERP webshop, the system shows the error:
    "Sold-to party 1000003 and sales area PECC/10/02 (for ZWEB) are incompatible"
    I've already checked the following:
    1) In Shopadmin: Combination of sales Area and Doc type in Webshop- IT's OK;
    2) In CRM System: Catalog used has the right sales area combination- IT's OK;
    3) In ECC System: If that document (ZWEB) is alowed to that sales area- IT's OK;
    Does anyone can help with that??
    Thanks & Regards,
    Paulo Pela

    Hello Developer,
    Yes, I've checked the combinations of webshop(In Shopadmin) and Product Catalog.(Sales Area) 
    All of them are compatible.
    Hey DJ,
    When you say: u201Cthe first entry maintained in the USAPPLREF tableu201Du2026.in our case, there are 2 entries for my user (PPELA3). The first one is for object type BUS1006001 and object key nr° 23263-my contact person, linked to sold-to nr° 1000003), which is the employee that I 've created in the ISAUSERADMIN.
    The second entry is with object type KNA1 with object key nr° 1000003 (which is the sold-to).
    Those are the only entries for my user in this table.
    Does this sequence have the influence described by you? Is that what you want to say?
    Other point: Does the REFERENCE CUSTOMER is important for the B2B scenario? (Our case) Since I thought it was important just for B2C scenarios, It was the same number in SHOPADMIN Webshop creation.
    In the meantime, I will create a new reference customer and change the webshop parameters.
    Thanks for your inputs.
    Regards,
    Paulo Pela

  • Sold to Party information in Service order cleared automatically

    Hi,
    I need a clarification.In my case Service Order getting generated from Sales Order.
    Before saving the sales order,in the generated Service order(under schedule lines), Iam seeing the Sold-to-Party is populated automatically.
    After saving the order,when I open the Service order, Sold-To -Party field is blank.
    Why system is clearing the Sold-To-Party infor in Service order upon saving of sales order.pl suggest me.
    Regards
    SB

    Hi Pete,
    No.If I enter the STP in change mode of Service Order,its accepting without any issues.
    One more information is some times in Sales Order, Service Order will not get generated due to credit limit failure.In VKM3 , if I process the same  sales Order,then Service Order gets generated and in this case STP information is there.
    Means,
    If the service order gets generated from Sales Order,STP info is not there in SO even though its appearing before saving of Sales order.
    If the Service Order gets generated outside the sales orders(in VKM3),STP information is there.
    I have checked with my Technical guys....No exits in place.....any settings in Sales Order-Service Link is there for this behaviour.
    Regards
    SB

  • Ship To Party issue in Sale Order

    Hi,
    when i trying to choose another ship to party on header of a sales quotation . system is giving me error
    "Top node 0011000560 for ship-to 0011000845 not maintained or ship-to is not valid"
    I have maintained the 2nd code as ship to party in customer master of the 1st.
    Please advice.
    Ankur
    Edited by: Lakshmipathi on Jun 3, 2011 12:07 PM
    Please use the subject effectively

    Dear Ankur,
                  I hope you created a new ship to party in new account group,now what you have to do is assain this ship to party no to your customer (sold to party) change mode,sales area tab there in partner functions there menction one more SH and give the ship to party no and save the customer master.Then while you crating the quatation or sale order once you enter the sold to party system will show the pop up to select the ship to party then select the related ship to party.
    Thanks and Regardds
    Vinayk

  • Changing ship to party address in sales order

    Hi All,
    We have a scenario herein in sales order, the ship to party  address is copied from some other ship to party address. Put simply if the ship to party in sales order 1 is A, the address of A will be copied from ship to party B. The ship to party B is in sales order 2.  The ship to party in sales order 1 will remain A only but the address is copied from B ship to address
    i just need to know where this kind of development must have been done. i.e the include program, exit etc.
    i am trying to see exit  EXIT_SAPLV09A_001, but i could not see it in se38?
    regards
    sachin

    Hi,
    In first place why you want to have such a requirement. Why can't you have the correct address in the Ship to Party master record in the XD01 and assign correct ship to party at the sales order line item, so that correct address flows to the sales order line item.
    Eg:
    Sold to Party A
    Ship to Party A & Ship to Party B (Both are assigned in the Partner tab of Sold to Party A)
    Ship to Party A has Address A & Ship to Party B  has Address B (Ship to Party B was created with Account Group SHIP TO)
    On the sales order line item, change the ship to party to Ship to Party B
    So that you have correct address in the relevant line item.
    As per your requirement, you have to have a Z table to keep the logic between hip to Party & relevant address.
    If not, check below link for all User Exits in SD>
    https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
    Find a correct one for your requirement.
    Best regards,
    Anupa

  • Ship to party address in sales order header

    Hi
    We changed the ship to party address at the header level and new address number got generated and updated the table VBPA.
    We need to revert the address so that the original address number of the ship to party should be updated in the table VBPA.
    Eg : Ship to party address number -  123
    During the creation of the sales order,  123 is updated in VBPA.
    We changed the address of the ship to party at header level and new addess number 963 got generated for the changed address and updated in the table VBPA.
    Now we need to revert the changes so that original address number 123 should get updated in VBPA.
    Please help us to resolve this issue.
    Thanks in Advance
    Shaju

    HI Shaju,
    This is not SAP standard, but a trick we learned and we have used successfully.
    Go to the change mode of sales order. Delete the ship-to and press enter. It will give you a warning, still press enter. If its very compulsory then put some other ship to party and then press enter. DO NOT save the sales order.
    There will be a lot of re-determinations, let them happen.BUT DO NOT save the sales order. Once all the re-detereminations happen. Delete the new ship-to and put in the old one. ANd you will have the old shipt-to with the oroiginal address and address number.
    Now save the sales order.
    The logic is when you put in the new ship-to then it re-determines everything including the address number. And then when you put in the old one, it will do one more round of re-determination and will copy the address number from customer master. Thus you get the original address.
    Hope this helps,
    Abhishek

Maybe you are looking for

  • Members of the Smart List aggregated in the FR report

    I have a Hyperion Planning 9.3.1 application where one of the scenarios has SmartList associated with it. The SmartList is used on one of the forms, where accounts are in the rows and scenarios are in the columns. First value in the SmartList is "Yes

  • Add (name of bill-to-party )column in f-58 (form: F110_IN_AVIS)

    Hi, I'd like to ask ..how to show the name of Bill-to-party (add column) in the form F110_IN_AVIS in f-58 I'm confuse about it. i just know REGUP-XBLNR is the invoice no...that i can trace the bill-to-party no and trace name. but should I need to wri

  • File names in Windows NT and UNIX

    I have an application I made using Java 1.1.8 for AIX 4.2.1 ( IBMs UNIX). I develope on Windows NT using JDeveloper ( from Oracle). My problem is that I need to access files in my code. My code will run both on Windows and Unix, but the file director

  • What type of tv?

    I'm planning on getting one to use as a tv as well as an external display and I'd just like your opinions on what would be best with my MacBook Pro. Thanks! MacBook Pro 15" 2.33 GHz C2D 2GB RAM   Mac OS X (10.4.9)   30GB iPod Video

  • Witholding Tax on Rebate Credit Memo

    Hello SD gurus, Anyone has an idea on how I could deduct witholding tax on my rebate settlement credit memo? Thanks in advance. Rose