on 08-05-2009 12:28 PM
hi gurus,
i have a quaery that how to create a returns order with data refering from a a biiling doc.
i have maintained the opy controls but when i try to refer returns from a bill i si showing the runtime error
can any one please tell me how to correctly maintain the copy control for this or any other way to do so .
as in any business process the client is asking for tyhe invoice number to be refer toa returns order.for pricing and other reasons
thanks in advcance
mohit
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you kindly mention the Text Matter coming into the Runtime Error.
Best Regards,
Ankur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello sir ,
this was the error
Runtime Errors PERFORM_TOO_MANY_PARAMETERS
Except. CX_SY_DYN_CALL_PARAM_NOT_FOUND
Date and Time 10.08.2009 13:57:17
Short dump has not been completely stored (too big)
-
-
Short text |
Too many parameters specified with PERFORM. |
-
-
What happened? |
In a subroutine call, there were more parameters than in the |
routine definition. |
Error in the ABAP Application Program |
The current ABAP program "SAPLV45C" had to be terminated because it has |
come across a statement that unfortunately cannot be executed. |
-
-
Error analysis |
An exception occurred that is explained in detail below. |
The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_NOT_FOUND', was |
not caught in |
procedure "RV_DOCUMENT_COPY_ITEM_CHECK" "(FUNCTION)", nor was it propagated by |
a RAISING clause. |
Since the caller of the procedure could not have anticipated that the |
exception would occur, the current program is terminated. |
The reason for the exception is: |
A PERFORM was used to call the routine "BEDINGUNG_PRUEFEN_001" of the program |
"SAPLV45C". |
This routine contains 0 formal parameters, but the current call |
contains 1 actual parameters. |
-
-
Missing RAISING Clause in Interface |
Program SAPLV45C |
Include LV45CU02 |
Row 1 |
Module type (FUNCTION) |
Module Name RV_DOCUMENT_COPY_ITEM_CHECK |
-
-
Trigger Location of Exception |
Program SAPLV45C |
Include LV45CU02 |
Row 20 |
Module type (FUNCTION) |
Module Name RV_DOCUMENT_COPY_ITEM_CHECK |
-
-
Source Code Extract |
-
Line | SourceCde |
-
1 | FUNCTION RV_DOCUMENT_COPY_ITEM_CHECK. |
2 | *"---- |
3 | ""Globale Schnittstelle: |
4 | *" IMPORTING |
5 | *" VALUE(FVBAP) LIKE VBAP STRUCTURE VBAP |
6 | *" VALUE(FVBRP) LIKE VBRP STRUCTURE VBRP |
7 | *" VALUE(FVBUP) LIKE VBUP STRUCTURE VBUP |
8 | *" VALUE(FVCPA) LIKE TVCPA STRUCTURE TVCPA |
9 | *" EXCEPTIONS |
10 | *" NICHT_KOPIEREN |
11 | *"---- |
12 | |
13 | CHECK FVCPA-GRBED > 0. |
14 | STEUERUNG-NUMMER = FVCPA-GRBED. |
15 | VBRP = FVBRP. |
16 | VBAP = FVBAP. |
17 | VBUP = FVBUP. |
18 | VBAK = FVBAK. |
19 | PERFORM (STEUERUNG) IN PROGRAM SAPLV45C USING SY-SUBRC. |
>>>>> | IF SY-SUBRC NE 0. |
21 | RAISE NICHT_KOPIEREN. |
22 | ENDIF. |
23 | |
24 | ENDFUNCTION. |
25 | *eject |
-
Hi
Make the copy control settings as below
Header level
Target SalesDocTyp = RE - Returns Source Bill. Type = F2 - Invoice (F2)
DataT = 052 Billing doc.header Copying requirements = 021 Billing Header
DataT = 103 Bus Data Hdr Billing
DataT = 003 Bill.header partner
Item level
Target SalesDocTyp = RE - Returns Source Bill. Type = F2 - Invoice (F2)
ItemCat Proposal = REN - Standard Item Item Category = TAN - Standard Item
Copying requirements = 303 Always an item
DataT = 153 Item from BillingDoc Pos./neg. quantity = blank
DataT = 104 Bus Data Item Billng Pricing type = D
DataT = 004 Bill.item partner X = Update document flow
Hope this helps you.
Regards
Rajkumar K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can see the reason for runtime error in T Code ST22 (take the help of ABAPer)
you have to take the Billing reference for Returns order. for this maintain the copy controls properly in VTAF with Item categories.
for more settings pls search in forum
Regards,
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.