We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-log-sd] Auto Add Payment Card to Sales Orders

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by AnFitz
on Jun 10 at 12:25 PM
Mark this reply as helpfulMark as helpful
Funny my coding disappeared as well...hmm:
Second try:

FORM zg11_read_credit_card.
DATA: IT_VCKUN like VCKUN,
V_ZTERM like KNVV-ZTERM,
V_KUNRG like KNVV-KUNNR.
* Use the payer!
SELECT SINGLE KUNN2 from KNVP into V_KUNRG
WHERE VKORG = VBAK-VKORG
AND VTWEG = VBAK-VTWEG
AND SPART = VBAK-SPART
AND KUNNR = VBAK-KUNNR
AND PARVW = 'RG'.
IF sy-subrc = 0.
* Automatic assignment only w/ default flag !
SELECT SINGLE * from VCKUN into IT_VCKUN
WHERE kunnr = V_KUNRG
AND ccdef = 'X'.
ENDIF.
CHECK sy-subrc = 0.
ccdata-ccnum = IT_VCKUN-CCNUM.
ccdata-ccins = IT_VCKUN-CCINS.
perform ZAHLUNGSKARTEN_PRUEFEN.

ENDFORM.

---------------Original Message---------------
From: Danielbritton
Sent: Monday, June 07, 2010 6:37 AM
Subject: Auto Add Payment Card to Sales Orders

> Is there any way to add the default card details stored on a customer master record to a sales order automatically with out the user having to select it from the F4 menu.
>
> Does anyone know how this can be achieved via config or coding?

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language