cancel
Showing results for 
Search instead for 
Did you mean: 

Sale orders Requested date is different from SOAP Response and Create Manual

former_member535084
Participant
0 Kudos
239

Hello Expert,

I created The So by webservices. The requested date show in the system is different from the soap query response and Manual Create.

Request Create SO :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global" xmlns:a2r="http://sap.com/xi/AP/CustomerExtension/BYD/A2RYM" xmlns:yaq="http://0006386294-one-off.sap.com/YAQOD7Y8Y_" xmlns:ykp="http://0006386294-one-off.sap.com/YKPVTGE2Y_" xmlns:yhc="http://0006386294-one-off.sap.com/YHC7SX0HY_" xmlns:glob1="http://sap.com/xi/AP/Globalization" xmlns:y52="http://0006386294-one-off.sap.com/Y52UN3G7Y_" xmlns:y8d="http://0006386294-one-off.sap.com/Y8DPVRPCY_" xmlns:yks="http://0006386294-one-off.sap.com/YKS7VB4RY_">
  <soapenv:Body>
    <glob:SalesOrderBundleMaintainRequest_sync>
      <SalesOrder>
        <BuyerID>VPTCA740702</BuyerID>
        <DataOriginTypeCode>2</DataOriginTypeCode>
        <AccountParty>
          <PartyID>276</PartyID>
        </AccountParty>
        <SalesUnitParty>
          <PartyID>10-2001</PartyID>
        </SalesUnitParty>
        <DeliveryTerms>
          <DeliveryPriorityCode>3</DeliveryPriorityCode>
        </DeliveryTerms>
        <TextCollection>
          <Text>
            <TypeCode>10024</TypeCode>
            <ContentText>.</ContentText>
          </Text>
        </TextCollection>
        <a2r:EDI_NUMBEROFLINEITEMS>1</a2r:EDI_NUMBEROFLINEITEMS>
        <a2r:EDI_SOURCE>1</a2r:EDI_SOURCE>
        <a2r:EDI_TRANSACTIONPURPOSECODE>SA</a2r:EDI_TRANSACTIONPURPOSECODE>
        <a2r:EDI_PONO>VPTCA740702</a2r:EDI_PONO>
        <a2r:EDI_PODATE>2019-01-28</a2r:EDI_PODATE>
        <a2r:EDI_DELIVERYDATE>2019-01-28</a2r:EDI_DELIVERYDATE>
        <a2r:EDI_ROUTING>967919</a2r:EDI_ROUTING>
        <a2r:EDI_TRANSPORTTYPE>ZZ</a2r:EDI_TRANSPORTTYPE>
        <a2r:EDI_SHIPTONAME>PTCA</a2r:EDI_SHIPTONAME>
        <a2r:EDI_SHIPTOCODE>PTCA</a2r:EDI_SHIPTOCODE>
        <a2r:EDI_SHIPTOADDRESS1>1340 Commerce St. Ste A B C</a2r:EDI_SHIPTOADDRESS1>
        <a2r:EDI_SHIPTOCITY>PETALUMA</a2r:EDI_SHIPTOCITY>
        <a2r:EDI_SHIPTOSTATE>CA</a2r:EDI_SHIPTOSTATE>
        <a2r:EDI_SHIPTOZIPCODE>94954</a2r:EDI_SHIPTOZIPCODE>
        <a2r:EDI_850_TRANSTYPE>00</a2r:EDI_850_TRANSTYPE>
        <a2r:EDI_GUESTNAME>Charles Scott</a2r:EDI_GUESTNAME>
        <a2r:EDI_GUESTCONTACTINFO>(707)763-3745</a2r:EDI_GUESTCONTACTINFO>
        <a2r:EDI_FREIGHTMETHODPAYMENT>PC</a2r:EDI_FREIGHTMETHODPAYMENT>
        <a2r:EDI_CURRENCYCODE>USD</a2r:EDI_CURRENCYCODE>
        <a2r:EDI_SHIPTOQUALIFIER>92</a2r:EDI_SHIPTOQUALIFIER>
        <a2r:EDI_SHIPTOCOUNTRY>USA</a2r:EDI_SHIPTOCOUNTRY>
        <a2r:EDI_VENDORQUALIFIER>92</a2r:EDI_VENDORQUALIFIER>
        <a2r:EDI_VENDORNAME>JMF COMPANY</a2r:EDI_VENDORNAME>
        <a2r:EDI_VENDORNUMBER>0000131933</a2r:EDI_VENDORNUMBER>
        <a2r:EDI_VENDORCITY>BETTENDORF</a2r:EDI_VENDORCITY>
        <a2r:EDI_VENDORSTATE>IA</a2r:EDI_VENDORSTATE>
        <a2r:EDI_VENDORZIPCODE>52722</a2r:EDI_VENDORZIPCODE>
        <a2r:EDI_VENDORCOUNTRYCODE>USA</a2r:EDI_VENDORCOUNTRYCODE>
        <a2r:EDI_CONSOLIDATEGROUP>1</a2r:EDI_CONSOLIDATEGROUP>
        <yhc:EDIReferenceKey>89244_201904</yhc:EDIReferenceKey>
        <yhc:EDI_VENDORNAME>JMF COMPANY</yhc:EDI_VENDORNAME>
        <yhc:EDI_SHIPTOCODE>PTCA</yhc:EDI_SHIPTOCODE>
        <yhc:EDI_SOURCE>1</yhc:EDI_SOURCE>
        <yhc:EDI_SOSHIPTOQUALIFIER>92</yhc:EDI_SOSHIPTOQUALIFIER>
        <yhc:EDI_VENDORNUMBER>0000131933</yhc:EDI_VENDORNUMBER>
        <yhc:EDI_SOSHIPTOCODE>PTCA</yhc:EDI_SOSHIPTOCODE>
        <yhc:EDI_SHIPTOQUALIFIER>92</yhc:EDI_SHIPTOQUALIFIER>
        <yhc:EDI_VENDORADDRESS>2735 62nd St.</yhc:EDI_VENDORADDRESS>
        <ykp:EDI_SOSHIPTOCODE>PTCA</ykp:EDI_SOSHIPTOCODE>
        <ykp:EDI_SHIPTOQUALIFIER>92</ykp:EDI_SHIPTOQUALIFIER>
        <ykp:EDI_VENDORADDRESS>2735 62nd St.</ykp:EDI_VENDORADDRESS>
        <ykp:EDI_SHIPTOCODE>PTCA</ykp:EDI_SHIPTOCODE>
        <ykp:EDI_VENDORCITY>BETTENDORF</ykp:EDI_VENDORCITY>
        <ykp:EDI_SOURCE>1</ykp:EDI_SOURCE>
        <ykp:EDIReferenceKey>89244_201904</ykp:EDIReferenceKey>
        <ykp:EDI_SOSHIPTOQUALIFIER>92</ykp:EDI_SOSHIPTOQUALIFIER>
        <Item>
          <ID>2</ID>
          <ItemProduct>
            <ProductInternalID>1065732329800</ProductInternalID>
          </ItemProduct>
          <ItemScheduleLine>
            <Quantity>5.00</Quantity>
          </ItemScheduleLine>
          <PriceAndTaxCalculationItem>
            <ItemMainPrice>
              <Rate>
                <DecimalValue>2350.0000</DecimalValue>
                <CurrencyCode>USD</CurrencyCode>
                <BaseDecimalValue>100</BaseDecimalValue>
              </Rate>
            </ItemMainPrice>
          </PriceAndTaxCalculationItem>
          <p4:EDI_PRODUCTCODE1 xmlns:p4="http://sap.com/xi/AP/CustomerExtension/BYD/A2RYM">0450246</p4:EDI_PRODUCTCODE1>
          <p5:EDI_PRODUCTCODE2 xmlns:p5="http://sap.com/xi/AP/CustomerExtension/BYD/A2RYM">1065732329800</p5:EDI_PRODUCTCODE2>
          <p8:EDI_Quantity xmlns:p8="http://sap.com/xi/AP/CustomerExtension/BYD/A2RYM">5.00</p8:EDI_Quantity>
          <p9:EDI_UOM xmlns:p9="http://sap.com/xi/AP/CustomerExtension/BYD/A2RYM">EA</p9:EDI_UOM>
          <pA:EDI_UNITPRICE xmlns:pA="http://sap.com/xi/AP/CustomerExtension/BYD/A2RYM">2350.0000</pA:EDI_UNITPRICE>
          <pC:EDI_PRODUCTDESCRIPTION xmlns:pC="http://sap.com/xi/AP/CustomerExtension/BYD/A2RYM">2-1/8" Slip x Slip Copper Pipe Union</pC:EDI_PRODUCTDESCRIPTION>
          <p15:EDI_PRODUCTCODEQUALIFIER1 xmlns:p15="http://sap.com/xi/AP/CustomerExtension/BYD/A2RYM">BP</p15:EDI_PRODUCTCODEQUALIFIER1>
          <p16:EDI_PRODUCTCODEQUALIFIER2 xmlns:p16="http://sap.com/xi/AP/CustomerExtension/BYD/A2RYM">VP</p16:EDI_PRODUCTCODEQUALIFIER2>
          <p1C:EDI_850DTL_UNITPRICE xmlns:p1C="http://0006386294-one-off.sap.com/YHC7SX0HY_">2350.0000</p1C:EDI_850DTL_UNITPRICE>
          <p1D:EDI_850DTL_UNITPRICE xmlns:p1D="http://0006386294-one-off.sap.com/YKPVTGE2Y_">2350.0000</p1D:EDI_850DTL_UNITPRICE>
          <p1E:EDI_UOMCONVERSION xmlns:p1E="http://sap.com/xi/AP/CustomerExtension/BYD/A2RYM">EA</p1E:EDI_UOMCONVERSION>
        </Item>
      </SalesOrder>
    </glob:SalesOrderBundleMaintainRequest_sync>
  </soapenv:Body>
</soapenv:Envelope>

And This is the SO in Bydesign :

It shows 11/16/2019.

And this is the response from the webserveices is 11/17/2019

I try Created manual It still get 11/17/2019

Why is the requested Date show in bydéign is different from the soap response and created manually ?.

Regards

Quyen

View Entire Topic
may_thitsaoo
Contributor

Hello,

When SO is created through Web Service and you haven't fill Requested date in SOAP,

default date will be created with UTC zero.

But on the screen, it is auto converted to your login user timezone and i think that's why you see

the difference of SOAP result and screen result.

(SOAP result also showing with zero UTC).

When you create manual, it takes your timezone.

If you Query manual created SO, you can see UTC value also in result i think.

Regards,

May