on 03-14-2019 9:12 AM
Hello ABAPer
I want to add following fields in VF05N standard Table.
1) Invoice value=Netvalue+Tax
2) Retention=
VBRK-VBELN fetch the KNUMV and Pass the Value to PRCD_ELEMENTS-KNUMV where in KSCHL=ZRET & Cumulate the Value
for VF05N you can add fields to structure ERPSLS_BILLDOC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i want to add a column in vf05n transaction
Retention=
VBRK-VBELN fetch the KNUMV and Pass the Value to PRCD_ELEMENTS-KNUMV where in KSCHL=ZRET & Cumulate the Value
this is the condition for adding the retention column.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SELECT *
FROM prcd_elements
INTO CORRESPONDING FIELDS OF TABLE it_prcd
WHERE kschl = 'ZRET' .
LOOP AT it_PRCD INTO wa_PRCD.
READ TABLE lrt_doc INTO lrs_doc WITH KEY vbeln = wa_doc-vbeln.
READ TABLE it_doc INTO wa_doc WITH KEY kwert = wa_doc-kwert.
* kschl = 'ZRET'.
IF sy-subrc = 0.
wa_DOC-KWERT = wa_prcd-kwert.
ENDIF.
ENDLOOP .
also i have declare it and wa for prcd and create a stucture.
Please don't create an ANSWER to complete your question or to reply to someone asking for details. ANSWER is reserved for proposing a solution. If you want to add details, please edit your question, or at worst add a Comment by the link right below your question. You also have an option to convert your answer into a comment.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.