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

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

[sap-abap] Use BAPI_SALESORDER_CHANGE to Change Sales Document Assignments

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

Question from 4thesport on Jun 2 at 10:08 AM
A custom enhancement was created in order to make the contract and contract line item assignments within CJ20N on the Customer enhancement tab instead of within the contract.
All contracts are assigned against the level 2 wbs element which populates VBAK-XBLNR. Contract line items can be assigned at wbs elements at lower levels or we have the capability to assign the level 2 wbs element to all contract line items on VBAP-PS_PSP_PNR.
Not able to figure out how to use BAPI_SALESORDER_CHANGE to remove contract line item assignments against the wbs elements without removing the contract assignment at Level 2 of the hierarchy. The assignment of the contract against the level 2 wbs element needs to stay in tact. If there is a way to safely manipulate the tables manually, that would be fine, but I do not know all of the tables necessary. If there are more function modules for maintaining sales orders, then I could look at them.
Please see document link below for screen shots of what our developer is trying to accomplish.

https://www.dropbox.com/s/2ko4kdfkips47f3/screen%2 0shots%20of%20cj20n%20and%20contract.docx?dl=0
 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2015 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
4thesport  

achievements
 
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

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