on 11-18-2010 9:38 AM
Hi all
I need to pick the value KONP-KBETR based on the input customer number. actualy conditionrecord is maintained on the bases of customer number, material pricing group.so i have to pick the value KBETR but in the table KONP only Condition record number and Sequential number of the condition are key fields. pls give me some logic to fitch the data from KONP. Pls Help me
Thanks in advance
Regards,
Nagesh N
HI
you can get the value of KBETR
From VBAK or VBAP table get the value of KNUMH/KNUMV and pass this VBAK-KNUMh or VBAP-KNUMV into table
KONV then you can get the KBETR for the required KSCHL condition type.
regards
Prashanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From VBRK table get VBRK - KNUMV based on your requirment (say for customer)
Make sure in your select statement, you should nto select invoice type PROFORMA INVOICE and S1 documents and also F2 invoices which are marked as cancelled
Pass this KNUMV to KONV table and field KNUMV and here you will get the required details
we ahve developed such reports and we are getting values from VBRP table and ask ABAPer to delet duplicate entries of Invoice
pass theas einvoice nos to VBRK and delet the invoices which are canceleld, Proforma invoice, and S1 invoices (just make sure you should not celect invoices which are cancelled/reversed/proforma)
and then apply the logic earlier explained
Hello,
the link between Sales Document and table KONP is the key-field "NoCondRec.Batch" (KNUMH): you have this field available on table VBAP for instance.
Hope to be useful.
Best regards,
Andrea
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.