Issue in form personalization from Sales Order Header form

Hi ,
I am trying to call an pl/sql procedure in which i am invoking API to apply holds.
I am able to succesfully see the hold applied when i run it from SLQ Developer.
from Form personalization , i m doing the below
10 Invoke API to Apply Line Level Price Hold if Customer Credit Limit is greater than Sum of all the order total of that customer
Condition :
Trigger Event: WHEN-VALIDATE-RECORD
Tigger Object :LINE
Condition ::SYSTEM.FORM_STATUS = 'CHANGED' AND
xcbpc_om_apply_line_hld.xcbpc_cust_credit_check(:LINE.SOLD_TO_ORG_ID,:ORDER.TRANSACTIONAL_CURR_CODE) = 1
Actions:
5 Built in Built in Type: Execute a Procedure
='declare
v_field_value VARCHAR2(200) ;
begin
XCBPC_OM_APPLY_LINE_HLD.XCBPC_CALL_HOLD_API
('''||${item.LINE.HEADER_ID.value} ||''','''||
${item.LINE.LINE_ID.value} ||''','''||${item.LINE.ORG_ID.value}||''');
end'
10 Messgae Show
Customer Credit Limit is Exceeded.Hence Hold is applied
The Api is getting called from form( i can see through debug messages) but i am unable to see the hold on the form.
Can any one help me out on this?
Thanks,
Seshu

As I know, project number is used for oracle project management module. You can not use it alone.

Similar Messages

  • Error while loading data from sales order header via LO-Cockpit extraction

    Hi Guys
    I activated sales order header d/source 2lis_11_vhdr using 3x funtionality ontop of BI 7.0 dataflow. While creating infocube I am getting an error saying that " Infoobject 0RATE_TYPE is onl allowed as an attribute (not in infoprovider)"
    Also while creating the same cube I am not able to move UNIT objects to UNIT dimension (as it dont allow me to drag and drop)
    Can anyone please advise me why I am not able to activate cube based on above mentioned error.
    Thanks in advance.
    regards

    Hi,
    To be able to load transaction data for 2010, you should have the master data for that in the time dimension. For this, you need to go to BPC admin and add the dimension members in the time dimension manually.
    Alternatively, you can have a process to import master data from BI system also. You can do some more research on this. Please refer to the below link from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/46/fcc2ef34ee439aaa56a4f6ba001e4d/content.htm
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/e0/532af2d0804218a59157136bb63a98/content.htm
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/73/0f917879fd416099d04fb4c49889e0/content.htm
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/88/e16046853041b391314a91bfe3618b/content.htm
    Hope this helps.

  • Reading the block message or text from sales order header.

    Dear All,
    Please let me know how to read the block text which is present in the sales order header under texts tab.
    thanks in advance
    regards,
    Shoban

    HI
    Please look intothe follwoing code, which helps you to understand how to read the header slaetext.
      DATA: BEGIN OF text_head.
              INCLUDE STRUCTURE thead.
      DATA: END OF text_head.
    DATA: BEGIN OF TEXT_LINES1 OCCURS 10.
          INCLUDE STRUCTURE TLINE.
    DATA: END OF TEXT_LINES1 .
    DATA: text_id     LIKE thead-tdid     VALUE '0001'.
      DATA: text_spras  LIKE thead-tdspras   VALUE 'EN'.
      DATA: text_name   LIKE thead-tdname.
      DATA: text_object LIKE thead-tdobject VALUE 'VBBK'.
    CALL FUNCTION 'READ_TEXT'
          EXPORTING
            client                  = sy-mandt
            id                       = text_head-tdid
            language                = text_head-tdspras
            name                    = text_head-tdname
            object                  = text_head-tdobject
          TABLES
            lines                   = text_lines1
          EXCEPTIONS
            id                      = 1
            language                = 2
            name                    = 3
            object                  = 5
            reference_check         = 6
            wrong_access_to_archive = 7
            OTHERS                  = 8.
        CASE sy-subrc.
          WHEN 1. RAISE invalid_id.
          WHEN 2. RAISE invalid_language.
          WHEN 3. RAISE invalid_name.
           WHEN 4. RAISE NOT_FOUND.
        ENDCASE.

  • Address Subscreen from Sales Order Header (Partner Tab)

    Hi all,
    Apparently, I do have a requirement for Transaction VA01 and VA02. When a Sales Order is created, and I opened that Sales Order via VA02, I wish to grey-off the entire fields of partner's address screen.
    The partner's screen can be reached via VA02 -> Header Level -> Partner tab -> display a list of partner functions -> double click one of the line item, and address subscreen pop-up (This is where I want to grey-off the entire fields in the subscreen, this can prevent from user changing the address, so that the address sticks to the original address from master data).
    The address subscreen is at program SAPLSZA1, screen 0301.
    I have also tried to look at the user exit in SAPMV45A -> include MV45AFZZ, but can't find any possible solution from there.
    Any idea and solution will be much appreciated.
    Thanks and regards,
    Patrick

    Hi
    You can create a transction variant throgh SHD0 Transaction and make them output fileds.
    regards,

  • Customer PO from sales Order Header

    I want to get the customer PO(VBKD-bstkd) from Order header, Iam trying with the following select but it doesnt work. any suggestions, or code snippet help?
      SELECT SINGLE bstkd INTO rt_outtab-bstkd
            FROM vbkd WHERE vbeln = rt_outtab-vbeln
            AND posnr = '000000'.
    Thanks
    SP

    Hi,
    Please check my last reply to your earlier post..It was working fine for me..
    Check this link for the lastest reply of mine..
    Adding Field to the output of the Report
    Thanks,
    Naren

  • Sales group not filled form sales order header in PGI accounting Document

    Hi all,
    we are creating a sales order . when sold to and ship to is entered the sales group at the header level is fetched from the customer master automatically.
    Now after changing the sales group,different from customer master,the sales order got saved as usual with a warning mesaage 'sales group is diiferent from customer master'.
    After doing PGI and billing , the sales group fetched in billing document is same as that of sales order header,but when good issue delievry document is displayed , in accounting document of the material document (ie. in FB03),the sales group in profit segment tab is getting filled from customer master.
    Now the requirement is to fetch the sales group from sales order header instead of customer master.

    hi
    check your copy control settings and change if required

  • *Credit Control Data reome form sale order header data*

    Hi
    have any option for remove credit data from sale order header (VBAK-KKBER)?
    Thanks
    L.C

    Hi Lalith,
    Its not possible to delete KKBER Data from Sales Order.
    because it carries out from customer master XD01 and FD32
    if you want remove, if the sales order is open status delete the same and delete it from customer master and again raise the sales order and check the same,
    Thanks and Best Regards,
    Muralidharan S

  • Issue while trying to create Sales Order from Inbound Idoc ORDER05

    Hi All,
    I am trying to create a sales order through an Inbound idoc ORDERS05 created out of a Purchase order. The header pricing conditions from the Purchase orders gets populated in E1EDK05 segment and this needs to go to the Sales order header conditions while trying to create the Sales order.
    But when the fields are getting incorrectly mapped to the Sales order. Issue  being, the segment E1EDK05-BETRG contains the condition value. But this fields gets populated to the KOMV-KWERT (condition value) screen field on the Sales order header conditions. But this should have got mapped to field KOMV-KBETR (Rate). If I look at the Purchase order, E1EDK05-BETRG is the field getting fetched from field KOMV-KBETR on the Purchase order. So this should have correspondingly got mapped to KOMV-KBETR on the Sales order as well.
    This looks like a standard behavior. But if any of you have encountered this issue before please let me know if any Correction instructions are available for the same. If this some issue in Pricing conditions configuration, do let me know.

    Hi Paaavan
    You can set a break-point include "FV45PFAP_VBAP_BEARBEITEN_VORBE" that is called by both the SAP Standard and BAPI where the data is prepared and checked in the internal table XVBAP. Compare both SAP standard VA01 and your 'Z' program for what may be different in XVBAP.
    I think the problem my be with regards to the business_object number that is hardcoded in the standard function module. It has given me issues before and hence I tend to use the function module  SD_SALESDOCUMENT_CREATE to create sales documents with.
    Regards,
    Marius

  • Transfer of Header text from Sales Order to Delivery

    Hi Experts,
    I had a requirement to populate Terms of delivery text in Sales Order Header text with some predefined value which I have accomplished using MV45AFZB - User Exit USEREXIT_CHECK_VBAP which transfers the text on save of the document to sales order header (terms of Delivery Text ) .
    Now the issue is the same text is required to be copied to delivery - Terms of Delivery header Text. But this is not happening/Its occuring one out of 4 times . I am not able to find out the reason for this.
    Please help in this regard.
    Thanks

    This can be set in conifugration. Transaction VOTXN. The delivery header text can be set to be referenced from the sales order.

  • Copying Text From Sales order to Billing Document

    Hi all,
    I have searched all posts for my issue but found nothing so that i am posting this issue.
    I want to copy the Some text form sales order to billing document is there any cnfig to do this
    order is there any exit for billing in which i can write code to copy text from sales order to billing document.
    please provide me a solution.
    Thanks in adavnce.
    Vinod.

    Hi,
    Use the same t-code VOTXN to do access sequence assignment.
    When you choose text object Billing Doc (header/item), there is 3 folders in dialog structure:
    - Text procedure
    - Access sequence
    - text procedure assignment
    In the text procedure folder, select related text procedure, then assign the created access sequence to respective text id.
    Hope this help.
    Cheers,

  • Address not copied from Sales order/Delivery to Shipment Document

    Hello Experts,
    I need your help on Addrss of ship to in shipment document.
    Sales Order[VA01] >> Delivery [Vl01N]>> Shipment [VT01N].
    User changed the Address of ship to party (Header level) in Sales Order and It reflected to delivery as well and I believe It should also update the address in Shipment document.
    But when I checked the Address of the Customer/Unloading point in Shipment Document [VT03N] (as below) I found It was not updated It was same as Customer Master Record and I believe It directly copied from Customer Master Record.
    BUT While creating the Shipment system is copying the data from Customer master Record not from Sales Order /Delivery. Logically system should copy the updated address from Order/Delivery BUT It is directly copying from Customer Master i don't know where is the setting of this ??
    Can anybody help me on this ? How system takes the customer (ship to party) address in shipment ? Where are the setting of these.
    What I need to do so system take the updated address from Sales Order/Delivery not from Customer Master Record (Ship to party).
    Can I change the address of customer in shipment document ??
    Awaiting your precious reply.
    Thanks,

    Hello Samir,
    Thanks for your response.
    I think you get my question in wrong way.
    I am sayingCustomer master data was not changed.
    User just changed the Address in Order (Order > Header >> Partner tab >> Change ship to address/overwrite ship to address).
    Overwritten Address / Updated address are copying in Delivery BUT not in Shipment document.
    What I need to do?  system should copy the updated address from Sales Order/Delivery BUT it is copying from Ship to party.
    I hope this time i am clear to explain my issue.
    Thanks,

  • How to update TEXT in Sales order header

    Hello ,
    I have requirement in which I am creating SO via IDOC calling BAPI_SALESORDER_CREATEFROMDAT2.
    Question: Can any one help me in finding a solution to update the TEXT in sales order header which is confogured IN TEXT CONTROL in SD.
    I have tried various option using CREATE_TEXT but it is only updating STXH table , the text is not coming in the sales order.
    If someone knows about this , <removed by moderator>.
    Edited by: Thomas Zloch on Nov 15, 2010 4:20 PM - please do assign priorities > normal

    Sounds like a text determination config issue - have you assigned the text in VOTXN?  Have you run the text determination analysis from VA02 in the document?

  • Dynamic data flow from sales order to delivery and vice-versa

    Hi Experts,
    One of our teams working for a client (transportation industry) on ECC 6.0 is facing an issue in relation to copying of partner data. (Ship-to-party address field changes to be precise)
    Currently, whenever the partner address data changed in a Sale order, though delivery is already created prior to this change, the change done is dynamically getting reflected in delivery too. Further, if the partner data in the delivery is changed, this also is getting updated on the preceding document i.e. sales order.
    We have checked the copy controls under VTLA and didn’t find any specific modifications made in this regard. Our question is:
    Is there any configuration available in standard SAP through which the data updates (like header data viz. partner field data etc.) get dynamically updated forward and backwards in a sales flow(i.e. from sales order to delivery and vice-versa)
    Your help on this will be highly appreciated.
    Regards,
    Jagan

    if the partner data in the delivery is changed, this also is getting updated on the preceding document i.e. sales order.
    The standard functionality is if you change the address of a partner function, the same will get reflected in an existing sale order.  This being the case, can you reconfirm your statement that in delivery, if you change the partner function, the same will get updated in sale order also?
    G. Lakshmipathi

  • Need to copy a custom field from sales order to billing document

    Hi All,
    I have a requirement, I need to add a new field in the sales order header part and even a field in the billing document, once i add this field up in both the documents in the header part i need to create a copy routine using the VOFM tran, can any body help me on what's the procedure to add a field in billing document and does the copy routine transfer the data ( Custom Field ) from Sales Order to the Billing Document, if yes can somebody help me with the procedure on how to and code of it.
    solved it myself ....
    Regards.
    Message was edited by: seshi
            seshi

    Hello,
    Regarding item 1, is it in the region of the global links (ie logout, home, preferences, etc.)? If not, have you tried creating a link via personalizations to the region you wish to have the link displayed (item type = link, destination = fully qualified name of your .xml page/region?
    Regarding item 2, you may have to create the custom subtab programatically using the controller for the region of the current subtab layout.
    Regarding item 3, you can also add a submit button to the page button bar region via personalizations. You can then add any logic you want to the button in the controller for the page.
    Hope this helps.

  • Which table stores the Sales Order--Header--Texts--EDI Text?

    Hi Experts,
    I hv a requirenment regarding the Sales Order -> HEADER -> TEXTs -> EDI Text-Int, so, I need to hv some Orders(#). which does hv this text on them, for as test data.
    So, I am looking which table stores, this text for my_sales_oders_12345678.
    [ actually, i got some info from sdn, like,
    Table TTXOB -> stores Texts: application object for Sales order header it is always VBBK i.e. field TDOBJECT = VBBK.
    Now all the text types i.e. text ids are stored in table TTXID
    So fetch all text ids(TDID) from this table based on TDOBJECT = VBBK. And its descriptions are stored in TTXIT table.
    but, no use this ]
    thanq
    Edited by: Srinivas on Jul 10, 2008 11:06 PM

    Hi Srinivas,
    Generally to access the text we use READ_TEXT function Module.
    we need to pass the four parameters
    ID
    LANGUAGE
    NAME
    OBJECT
    You can find these parameters in the sales order it self.
    Goto ---> Header ---> Texts
    Now double click on the text it takes you to the Text Editor. You can find the screen Display Form Header . In this goto Menu Path Goto ---> Header. You get a screen Text header. Here you can find the these parameters.
    Text Name
    Language
    Text ID
    Text Object
    You need to pass these parameters to the function Module to text the text.
    You can also fins the text in Table STXH
    Best regards,
    raam

Maybe you are looking for

  • How do i import my ipad files to a new computer itunes

    I have had to reformat my hard drive on my PC. I reloaded ITunes, and tried to sync my Ipad music, but because there was nothing in my ITunes library, I now have nothing on my Ipad! Luckilly I have an Iphone with the same music etc on it, but I would

  • The Use of Port Profiles

    My understanding of the uses of port profiles includes the implementation of Nexus 1K/5K etc. and the implementation of VM-FEX correct? These port profiles are then pushed to vCenter to be used by the VM's offloading the networking portion back to UC

  • Upgrading four year old computer and Final Cut!

    I am about to upgrade my four year old Mac G5 (2X2G)to a new Mac Pro(2.8G). It arrives Monday!I bought the upgrade to FCS2 to replace my FCP 4.5. I'm confused about what I have to do. Do I need to load the old version of Final Cut 4.5 onto my new Mac

  • Regarding Adobe Flex ACE certification exam

    Hi, Iam planning to take Adobe Flex ACE certification exam in 2 weeks . Iam currentlydeveloping web based application in social Retail 2.0 in Flex 3.0 But I have no practical knowledge in Adobe AIR.  I planning to read theory alone regarding AIR modu

  • Tomcat 4.0

    I have installed it with jakarta-tomcat-4.0.exe, and read the relevant documents. It seems that it cannot be set as a service on NT. Anyway, how to run tomcat 4.0 as a service on NT ? Thanks in advance.