RE:[sap-log-sd] VA01 Payment Terms - Display Automatically

Posted by srikant (SAP SD Senior Cnsultant)
on Nov 24 at 5:52 AM
Hi Praveen
Payment terms flows form your customer master data
in case if the requirement is to automate the payment terms then you can create an Z Program -customised like Standard BAPI to update the payment terms in your sales order
for Eg some piece of the Z program ?
TABLES : vbak, "Sales Document: Header Data
vbap, "Sales Document: Item Data
vbuk, "Sales Document: Header Status and Administrative Data
vbup, "Sales Document: Item Status
makt, "Material Descriptions
kna1, "General Data in Customer Master
vbfa, "Sales Document Flow
vbkd, "Sales Document: Business Data
t052u, "Terms of Payment
*---> Variables
DATA:v_zterm LIKE vbkd-zterm,
v_line TYPE i,
v_posnr(6) TYPE n," like vbap-posnr,
*---> Internal Tables
DATA : ibapisdh1x LIKE bapisdh1x OCCURS 0 WITH HEADER LINE,
ibapiret2 LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
i_vbeln LIKE bapivbeln-vbeln,
ibapicond LIKE bapicond OCCURS 0 WITH HEADER LINE,
ibapicondx LIKE bapicondx OCCURS 0 WITH HEADER LINE,
iorder_item_in LIKE bapisditm OCCURS 0 WITH HEADER LINE,
iorder_item_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.

---------------Original Message---------------
From: praveen kumar
Sent: Thursday, November 24, 2011 12:29 AM
Subject: VA01 Payment Terms - Display Automatically

I need to know how to make payment terms to displayed automatically in VA01. With customer code and Salesorder doc type combination.

Please give me user exits and also some guidance on how to proceed with.

Copyright © 2011 and message author. 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
SAP Logistics Sales and Distribution Enthusiast

Contributed 100 posts in a group to earn a Bronze Achievement
Popular White Papers

In the Spotlight
Have you explored the Marketplace? Learn more and access a free course now.