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-dev] MV45AFZZ add line to sales order in VA01 (free item)

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

Posted by wnash7658 (SAP Specialist and Project Leader)
on Oct 28 at 9:56 PM
Mark this reply as helpfulMark as helpful
Hello,

I'll put this on hold for a while. Review any other methods to do this function. There are just too many internal tables to consider and too many field values.

Though it's strange from an SD point of view, so many consultants ask the question of "how to have more than one free goods in the SO".

Regards

Waza

---------------Original Message---------------
From: wnash7658
Sent: Monday, October 25, 2010 7:01 AM
Subject: MV45AFZZ add line to sales order in VA01 (free item)

Dear ABAPers,

As you know SAP cannot handle two free goods items a the same time. So I am using MV45AFZZ userexit to add the free goods items upon save.

I am inserting the entry in XVBAP internal table successfully. I can see the new line has been added. I am also creating a blank confirmed quantity line in XVBEP as well.

But when I go through my breakpoint back to the main SO screen my line is inserted as correct, but it does not appear. Is there a global variable or an index value that must be changed? See below for expected results:

0010 - M1
0020 - M2 (free)

Result
0010 - M1
0020 - M2 (free)

Should be:
0010 - M1
0020 - M2 (free)
0021 - M1 (free)

Regards


Waza

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

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Related Content
Most Popular White Papers

In the Spotlight
Toolbox.com for iPhone: Ask Questions & Get Answers Anywhere. Use the New iPhone App
_.____.__

0 comments:

Post a Comment

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